Luis Azcuaga
|
e8fd89a6d2
|
Run rubocop over existing todo
|
2021-10-25 21:28:28 -05:00 |
|
Nihal M. Kelanthodika
|
c632442466
|
Update unused company field to 'unused'
|
2021-10-06 15:06:56 +05:30 |
|
Nihal
|
372326debc
|
Updated validation to include phone and edit address_spec to requires phone
|
2021-10-06 15:06:56 +05:30 |
|
Matt-Yorkley
|
19daf1d2fb
|
Update adjustment unit tests
|
2021-10-05 22:40:37 +01:00 |
|
Matt-Yorkley
|
65f08ee8f4
|
Deal with edge cases where an adjustment is left referencing a deleted item
|
2021-10-04 17:55:27 +01:00 |
|
Maikel
|
a3c31f7d86
|
Revert "Kill stripe connect"
|
2021-09-20 08:39:34 +10:00 |
|
Nihal Mohammed
|
48c1312cea
|
Remove expectation to generate clean name for StripeConnect from payment_method_spec
|
2021-09-10 14:43:34 +05:30 |
|
Luis Ramos
|
0c240cee9a
|
A few more removals of stripe connect related code
|
2021-09-10 14:43:34 +05:30 |
|
Luis Ramos
|
f90e34bb47
|
Adapt specs to use stripe_sca_payment_method factory and delete stripe_connect_payment_method
|
2021-09-10 14:43:34 +05:30 |
|
Luis Ramos
|
60a8ae6675
|
Remove Stripe Connect gateway and related code
|
2021-09-10 14:43:24 +05:30 |
|
Andy Brett
|
069cb043ee
|
Merge pull request #8148 from jibees/5236-remove-incomplete-orders-from-admin-interface-2
Only shows order that actually have at least one line_item V2
|
2021-09-09 16:49:30 -07:00 |
|
Matt-Yorkley
|
2d2e0a5b24
|
Add unit test for not_empty scope
|
2021-09-08 12:18:08 +01:00 |
|
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 |
|