Maikel Linke
19909deaf6
Remove obsolete StripeConnect payment gateway
...
The newer StripeSCA is a complete replacement.
2022-01-24 12:35:45 +11:00
Maikel Linke
ee85b9654d
Remove references to StripeConnect class
2022-01-24 12:35:45 +11:00
Maikel Linke
f22c2b0e73
Remove option to create StripeConnect methods
2022-01-24 12:35:45 +11:00
Maikel Linke
9abacf9047
Upgrade old StripeConnect payment methods to SCA
...
StripeConnect has been replaced by StripeSCA. But we still have some
StripeConnect payment methods in our production databases. We need to
convert them to StripeSCA methods before we can remove the related
code and clean up. Otherwise our code would raise errors when
encountering an old StripeConnect method, not knowing what that is.
2022-01-24 12:35:45 +11:00
Matt-Yorkley
2f7ef33caf
Add test for maintaining hub selection after order completion
2022-01-19 22:43:54 +00:00
Matt-Yorkley
fb8f5ee5ce
Increase flexibility in test setup
2022-01-19 17:51:03 +00:00
Matt-Yorkley
49623f6b4a
Simplify test setup
2022-01-19 17:51:03 +00:00
Matt-Yorkley
d57e64cf7e
Add new order factories for checkout steps
2022-01-19 17:49:05 +00:00
Filipe
2e85783465
Merge pull request #8731 from Matt-Yorkley/split-checkout-default-addresses
...
Split checkout: default address saving
2022-01-19 17:43:51 +00:00
Filipe
7444e2d2f3
Merge pull request #8741 from Matt-Yorkley/guest-checkout-login
...
Fix split checkout guest user login
2022-01-19 16:43:24 +00:00
Matt-Yorkley
8f37aa71f2
Save default addresses when requested during checkout
2022-01-19 13:40:33 +00:00
Matt-Yorkley
fb00a51ae8
Merge pull request #8653 from Matt-Yorkley/split-checkout-t-and-c
...
Split checkout T&Cs
2022-01-19 13:39:15 +00:00
Matt-Yorkley
21ed136e00
Enable opening login modal via broadcasted DOM Event
2022-01-19 13:14:10 +00:00
Matt-Yorkley
8ce27bed86
Move guest checkout handling to the frontend
2022-01-19 13:14:10 +00:00
filipefurtad0
9ef8e86e59
Removes xpath within blocks on spec file
2022-01-18 18:09:14 +00:00
filipefurtad0
f250f6dc53
Updates mandatory field error count after merging #8691
2022-01-18 15:12:15 +00:00
filipefurtad0
63ae159091
Changes assertion from URL to page content on spec file
2022-01-18 15:10:31 +00:00
filipefurtad0
3b6bb1c9a8
Removes within blocks; replaces field names by ids
2022-01-18 14:39:24 +00:00
filipefurtad0
ee601bb357
Uses reload to fetch bill/ship address ids
2022-01-18 14:39:24 +00:00
filipefurtad0
25244725e9
Changes assertion from URL to page content
2022-01-18 14:39:24 +00:00
filipefurtad0
ab2d92ab8f
Applies helper change on spec file
2022-01-18 14:39:24 +00:00
filipefurtad0
22d9da9edc
Changes helper name
2022-01-18 14:39:24 +00:00
filipefurtad0
ec4ec66051
Corrects rubocop offense
2022-01-18 14:39:24 +00:00
filipefurtad0
f3e0799205
Adds DB validation for same ship and bill addresses
2022-01-18 14:39:24 +00:00
filipefurtad0
3ad8e2df4f
Adds coverage on mandatory fields - details/billing/shipping
2022-01-18 14:39:24 +00:00
filipefurtad0
0da2d6e469
Adds coverage for required fields - address shipping
2022-01-18 14:39:24 +00:00
filipefurtad0
01f870b818
Adds coverage on ship_address_same_as_billing option
2022-01-18 14:39:24 +00:00
Maikel
7fb227710f
Merge pull request #8728 from shen-sat/6056-improve-auto-test-coverage-on-order-customer-details
...
[6045] Add test for hiding billing address form and adding new customer on o…
2022-01-18 11:46:11 +11:00
Filipe
067f90b17c
Merge pull request #8712 from Matt-Yorkley/oc-mails
...
OC notifications
2022-01-17 20:30:40 +00:00
Filipe
8114eb1c9f
Merge pull request #8666 from openfoodfoundation/stripe-controller
...
Extract new StripeController
2022-01-17 20:21:40 +00:00
Filipe
62f0de75ee
Merge pull request #8679 from Matt-Yorkley/drop-jquery-ujs
...
Drop jquery_ujs
2022-01-17 16:30:25 +00:00
Filipe
dfdeb7368e
Merge pull request #8681 from SarvarKh/translation-correction
...
Add flash message translation for log out
2022-01-15 14:55:26 +00:00
Shen Sat
c8e8308f22
Add test for hiding billing address form and adding new customer on orders page
2022-01-15 12:37:02 +00:00
Matt-Yorkley
11c6ce16ea
Move payment-authorizing tests to stripe controller spec
2022-01-14 19:41:08 +00:00
Matt-Yorkley
2f39f5bac4
Add re-routing for any unprocessed payments still using old return URL
2022-01-14 19:41:08 +00:00
Matt-Yorkley
5a70664a6a
Pull stripe-related tests into new controller spec
2022-01-14 19:41:08 +00:00
Matt-Yorkley
48c4ecde08
Update checkout specs using deleted OrderCompletionReset
2022-01-14 19:41:08 +00:00
Matt-Yorkley
7b8e1f5c30
Update/improve paypal controller specs
2022-01-14 19:41:08 +00:00
Matt-Yorkley
9583a3cc3d
Use order token param in specs
2022-01-14 19:41:08 +00:00
Matt-Yorkley
9b2801db24
Fix calls to private method #expire_current_order in specs
2022-01-14 19:41:08 +00:00
Matt-Yorkley
7fe770a855
Add route to catch pre-existing payments which may still use Checkout#edit as return URL
2022-01-14 19:41:08 +00:00
Matt-Yorkley
02995530e2
Pull apart OrderCompletionReset service
2022-01-14 19:41:08 +00:00
Matt-Yorkley
67b8a55273
Separate OrderCompletionReset from Checkout::PostCheckoutActions and don't pass controller objects to Checkout::PostCheckoutActions
...
We need to separate some of these bits to make them easier to call in different contexts. Also there's some weird stuff happening here with the controller being passed in to the service, and it seems like a code smell to me...
2022-01-14 19:41:08 +00:00
Matt-Yorkley
b850fd6fda
Add controller spec for split checkout
2022-01-13 13:55:33 +00:00
Filipe
7709e86d41
Merge pull request #8676 from jibees/8668-split-checkout-as-guest
...
Handle checkout as guest feature on split checkout
2022-01-12 20:22:01 +00:00
Filipe
cc0de4618c
Merge pull request #8692 from jibees/8691-make-first-name-and-last-name-fields-mandatory
...
Validate the presence of first/last name if there is no company
2022-01-12 19:48:35 +00:00
Matt-Yorkley
9be37b0aaa
Reset flags when cloning an OC
2022-01-12 11:44:21 +00:00
Matt-Yorkley
54e1a8807a
Use mails_sent flag for tracking mails
2022-01-12 11:44:21 +00:00
Filipe
d66dac4ccb
Merge pull request #8621 from apricot12/Unit-value-shop-front
...
Update units when variant unit name is edited
2022-01-11 17:41:20 +00:00
Filipe
4978c95e75
Merge pull request #8467 from SarvarKh/validate-social-links
...
Fix the issue with 'at' in enterprise twitter and instagram
2022-01-11 12:53:11 +00:00