Matt-Yorkley
|
978c882ed9
|
Don't select a random shipping method in Shipment
|
2021-09-01 15:04:33 +01:00 |
|
Jean-Baptiste Bellet
|
a1438f91e9
|
Display error on email (triggered by advance_order_state method)
|
2021-08-31 11:00:54 +02:00 |
|
Andy Brett
|
69ec17ef92
|
do not require phone number on orders
|
2021-08-31 10:59:13 +02:00 |
|
Matt-Yorkley
|
12c9914d1b
|
Delete old Adjustment scopes #with_tax and #without_tax
|
2021-07-09 21:49:36 +01:00 |
|
Matt-Yorkley
|
f2e63fff2e
|
Delete dead code TaxRate: #compute_tax and #with_tax_included_in_price
🎉
|
2021-07-09 21:49:36 +01:00 |
|
Andy Brett
|
3e860f6d54
|
Merge pull request #7781 from andrewpbrett/decouple-payments
Decouple payments
|
2021-07-01 18:07:01 -07:00 |
|
Matt-Yorkley
|
a0b9eff2c1
|
Merge pull request #7699 from guidoDutra/1971-inventory-page-field-validation
Add validation to inventory page fields
|
2021-07-01 16:59:20 +02:00 |
|
Andy Brett
|
aa8067f96b
|
process payments separately from completing the order
|
2021-06-29 11:54:48 -07:00 |
|
Pau Pérez Fabregat
|
db993652c4
|
Merge branch 'master' into payment-states
|
2021-06-18 12:20:26 +02:00 |
|
Andy Brett
|
95f123d137
|
update success response in payment spec
|
2021-06-17 14:23:59 -07:00 |
|
Andy Brett
|
2699e17b63
|
update specs to create payment in requires_authorization state
|
2021-06-17 14:23:59 -07:00 |
|
Andy Brett
|
a6cec20056
|
update success_response in payment_spec
|
2021-06-17 14:23:59 -07:00 |
|
Andy Brett
|
a3d9f1f3cc
|
create requires_authorization payment state and migration
|
2021-06-17 14:23:58 -07:00 |
|
Luis Ramos
|
23627c5453
|
Run rubocop -a (safe corrections) removing all exceptions so all possible fixes are applied
9290 issues fixed
|
2021-06-17 22:19:26 +01:00 |
|
Pau Pérez Fabregat
|
a8efbffca6
|
Merge pull request #7429 from Matt-Yorkley/adjustments-taxrate
[Adjustments] TaxRate changes
|
2021-06-17 11:51:01 +02:00 |
|
Maikel
|
6caae9e886
|
Merge pull request #7694 from coopdevs/split-confirm-order-job
Split ConfirmOrderJob to avoid blocking DJ worker
|
2021-06-09 14:11:10 +10:00 |
|
Matt-Yorkley
|
401dd99225
|
Update stubbing of default country id in TaxRate tests
|
2021-06-06 20:20:41 +01:00 |
|
Matt-Yorkley
|
e21ef3f182
|
Add test coverage to #create_tax_charge! with legacy taxes
|
2021-06-06 20:20:41 +01:00 |
|
Matt-Yorkley
|
84a40e6ae0
|
Improve Order#enterpise_fee_tax
|
2021-06-06 20:16:03 +01:00 |
|
Matt-Yorkley
|
93e422ec59
|
Update order fee tax test setup
|
2021-06-06 20:16:03 +01:00 |
|
Matt-Yorkley
|
a1438bdb3d
|
Update enterprise fee tax adjustment specs
|
2021-06-06 20:16:03 +01:00 |
|
Matt-Yorkley
|
2de442f44d
|
Move taxing of enterprise fees to TaxRate
|
2021-06-06 20:16:03 +01:00 |
|
Matt-Yorkley
|
ff9ad96b74
|
Update TaxRate specs
|
2021-06-06 20:16:03 +01:00 |
|
Matt-Yorkley
|
1c28b9783f
|
Bring in Spree::TaxRate test coverage
|
2021-06-06 20:16:03 +01:00 |
|
Guido Oliveira
|
65b760b119
|
Add validations to variant_override model
|
2021-06-04 14:11:22 -03:00 |
|
Matt-Yorkley
|
d5b20d5446
|
Add specs for Order#ensure_updated_shipments
|
2021-06-04 17:10:50 +01:00 |
|
Matt-Yorkley
|
05c001807e
|
Add variant override specs for Stock::AvailabilityValidator
|
2021-06-04 17:10:50 +01:00 |
|
Matt-Yorkley
|
011da05712
|
Add more test coverage to OrderContents
|
2021-06-04 17:10:50 +01:00 |
|
Matt-Yorkley
|
42ff2307fa
|
Update specs that use removed #add_variant and #remove_variant methods in test setup
|
2021-06-04 17:10:50 +01:00 |
|
Matt-Yorkley
|
b25e7fcb89
|
Delete tests for removed Order #add_variant and #remove_variant methods
|
2021-06-04 17:10:50 +01:00 |
|
Matt-Yorkley
|
79aebed40e
|
Bring OrderContents#update_cart tests from upstream and tidy up
|
2021-06-04 17:10:50 +01:00 |
|
Matt-Yorkley
|
03fc63ad14
|
Remove #order_update! from line item after_save callback
|
2021-06-04 17:10:50 +01:00 |
|
Matt-Yorkley
|
d99e598e7a
|
Delete dead code in CartController
The two conditionals in #populate_variant_attributes here are never actually true, so the subsequent code paths are never reached.
|
2021-06-04 17:10:50 +01:00 |
|
Andy Brett
|
b3e08b47b9
|
set Stripe api key directly instead of using allow
|
2021-06-01 22:33:12 +01:00 |
|
Pau Perez
|
74a8b3038a
|
Split ConfirmOrderJob to avoid blocking a worker
This unties this two email notifications so that they are picked up by
a DJ worker independently. This should avoid the blocking the worker experiences (remember we
still have a single one in all instances) when waiting between the two
deliveries. See the flamegraph:
https://app.datadoghq.com/apm/traces?end=1622015605459&paused=true&query=env%3Aproduction%20service%3Adelayed_job%20operation_name%3Adelayed_job%20resource_name%3AConfirmOrderJob%20%40duration%3A%3E%3D5s&start=1622009898303&streamTraces=true&trace=AQAAAXmngbg_woqc_QAAAABBWG1uZ2IwVkFBRHVDbWJkN25QTUVuY28&traceID=2916038355421570548&spanID=2005781139590273685.
Overall, both operations may take longer but other jobs can be processed
in between. Also, if any of the two fails, the other won't be affected.
|
2021-06-01 11:43:00 +02:00 |
|
Matt-Yorkley
|
74f27544f7
|
Merge pull request #7647 from andrewpbrett/default-country-codes
Use correct default country code
|
2021-05-25 11:21:34 +02:00 |
|
Luis Ramos
|
f7726e552a
|
Adapt code coming from master to the new order api with update_order!
|
2021-05-19 10:09:42 -07:00 |
|
Luis Ramos
|
b2e97fe1d2
|
Rename order.update! to order.update_order! and adjustment.update! to adjustment.update_adjustment!
|
2021-05-19 09:54:22 -07:00 |
|
Andy Brett
|
e73584fef7
|
remove setters from DefaultCountry service
|
2021-05-19 09:42:52 -07:00 |
|
Andy Brett
|
7df2915fbd
|
add DefaultCountry service
|
2021-05-18 12:44:53 -07:00 |
|
Matt-Yorkley
|
5dd24623f7
|
Merge pull request #7479 from Matt-Yorkley/payment-callbacks
Update Payment after_save callback
|
2021-05-18 16:19:29 +02:00 |
|
Matt-Yorkley
|
37177e7207
|
Add test coverage to StripeSCA spec
|
2021-05-16 12:19:04 +01:00 |
|
Andy Brett
|
231f01dad2
|
fix order adjustments spec
|
2021-05-09 10:09:22 -07:00 |
|
Pau Perez
|
69b91ea136
|
Wait until the end to mark payment as processed
This gives us the opportunity to retry the operation in case the
processing fails.
|
2021-05-06 16:19:01 +02:00 |
|
Matt-Yorkley
|
00c4a28d22
|
Extract order-updating logic to Order::Updater
|
2021-05-04 16:40:10 +01:00 |
|
Matt-Yorkley
|
135a311c05
|
Update void payments
Backport from Spree 2.4 stable: 4121992398
|
2021-05-04 16:40:10 +01:00 |
|
Matt-Yorkley
|
13bb5aa8dd
|
Update Payment after_save callback
Backport from Spree 2.4 stable: 4d652a77fd
|
2021-05-04 16:40:09 +01:00 |
|
Andy Brett
|
8ba139c6fb
|
Merge pull request #6825 from julesemmac/6584-map-location-confirm
6584 map location confirm
|
2021-04-29 14:04:06 -07:00 |
|
Andy Brett
|
4736013946
|
update spec
|
2021-04-28 10:43:06 -07:00 |
|
Andy Brett
|
9906afa1a6
|
use capture! if payment is already authorized
|
2021-04-27 17:59:03 -07:00 |
|