Matt-Yorkley
|
7f4b2cc00a
|
Tidy up checks on Enumerable objects
|
2021-12-07 16:29:25 +00:00 |
|
Matt-Yorkley
|
ce7fb1b4dc
|
Move select-options-formatting logic to helper
|
2021-12-07 16:29:25 +00:00 |
|
Matt-Yorkley
|
d85597fe4c
|
Rename stripe cards controller
|
2021-12-07 16:29:25 +00:00 |
|
Matt-Yorkley
|
8105f0ebf3
|
Simplify partial selecting and rename stripe_sca partial
|
2021-12-07 16:29:25 +00:00 |
|
Jean-Baptiste Bellet
|
33887e8b6e
|
Remove wrong min attribute on input
|
2021-12-07 16:27:22 +00:00 |
|
Jean-Baptiste Bellet
|
fbe69b8027
|
Manage savedCards or enter new card behavior for stripe payment form
|
2021-12-07 16:27:22 +00:00 |
|
Jean-Baptiste Bellet
|
34ce08d901
|
Format card label in card selector
|
2021-12-07 16:27:22 +00:00 |
|
Jean-Baptiste Bellet
|
f9b0798c88
|
Add stripe_sca, paypal, check payment method
Stripe_sca use the same template than stripe
|
2021-12-07 16:27:22 +00:00 |
|
Jean-Baptiste Bellet
|
e89caf7a0d
|
Add stripe as payment method
|
2021-12-07 16:27:22 +00:00 |
|
Jean-Baptiste Bellet
|
fc6fba4fe9
|
Move into specific folder
|
2021-12-07 16:27:22 +00:00 |
|
Jean-Baptiste Bellet
|
792763d275
|
use specific gateway form template for split checkout
|
2021-12-07 16:27:22 +00:00 |
|
Jean-Baptiste Bellet
|
2564de4ca4
|
Display the right container by default regarding the selected_payment_method
|
2021-12-07 16:27:22 +00:00 |
|
Jean-Baptiste Bellet
|
3063b041d1
|
Change the paymentmethod controller to handle both desc and form
Add tests as well
Update _payment.html.haml
Update _payment.html.haml
|
2021-12-07 16:23:39 +00:00 |
|
Jean-Baptiste Bellet
|
9bbccbbd46
|
Partials needs to be children of the columns div
And then have the right margins
|
2021-10-08 09:42:36 +02:00 |
|
Jean-Baptiste Bellet
|
0f7ba41896
|
Add the number of the step as a responsive span
that could be displayed or not (small screens)
|
2021-10-08 09:42:36 +02:00 |
|
Matt-Yorkley
|
03abc395f2
|
Update responses to use cable_ready
|
2021-09-08 10:34:34 +01:00 |
|
Matt-Yorkley
|
062a3abc2d
|
Enable Turbo in the new checkout
|
2021-09-08 10:34:34 +01:00 |
|
Matt-Yorkley
|
20ff594014
|
Set data-remote on checkout form
|
2021-09-08 10:34:34 +01:00 |
|
Matt-Yorkley
|
6acb1f6484
|
Tidy up view variables
|
2021-09-01 15:04:33 +01:00 |
|
Matt-Yorkley
|
9800483433
|
Simplify displaying selected shipping method
|
2021-09-01 15:04:33 +01:00 |
|
Matt-Yorkley
|
3fabe308cd
|
Extract #shipping_and_billing_match? helper
|
2021-09-01 15:04:33 +01:00 |
|
Matt-Yorkley
|
ebe2923512
|
Improve form outputs and error handling
|
2021-09-01 14:16:32 +01:00 |
|
Jean-Baptiste Bellet
|
748a37f670
|
Terms and conditions error message
|
2021-08-26 09:28:31 +02:00 |
|
Jean-Baptiste Bellet
|
b5024c5a16
|
On summary page, display shipping address as well as billing one
|
2021-08-25 16:31:45 +02:00 |
|
Jean-Baptiste Bellet
|
10ddaf4384
|
Last step (ie. summary) is larger than the two previous step
|
2021-08-25 15:53:22 +02:00 |
|
Jean-Baptiste Bellet
|
75390d2a48
|
Specify right i18n key
|
2021-08-25 15:29:24 +02:00 |
|
Jean-Baptiste Bellet
|
82ea33e9ca
|
Do not display ship address form if not needed
ie. the shipping method does not require any address
|
2021-08-25 11:10:47 +02:00 |
|
Andy Brett
|
ea6739d565
|
guard against a nil value for @order.user
|
2021-08-24 11:46:50 -07:00 |
|
Jean-Baptiste Bellet
|
1ecfeca88c
|
Populate view with both shipping_method_id & ship_address_same_as_billing
... and then handle correctly the display of the form
|
2021-08-23 15:23:53 +02:00 |
|
Jean-Baptiste Bellet
|
fe65359d71
|
Display no shipping method selected error
|
2021-08-23 10:16:53 +02:00 |
|
Jean-Baptiste Bellet
|
402bfdac30
|
Show/Hide shipping address form depending on the checkbox/radio state
|
2021-08-19 10:34:07 +02:00 |
|
Jean-Baptiste Bellet
|
c806b3e889
|
Be more generic: address is enough
as it could be billing or shipping address
|
2021-08-19 10:33:16 +02:00 |
|
Matt-Yorkley
|
98ae82147c
|
Avoid using Angular in shipping and payment method display
|
2021-08-12 12:53:45 +01:00 |
|
Matt-Yorkley
|
ffc3736f4b
|
Update fields on confirmation page
|
2021-08-12 12:53:45 +01:00 |
|
Matt-Yorkley
|
41ffffe170
|
Tidy up use of @checkout_step
|
2021-08-12 12:53:45 +01:00 |
|
Matt-Yorkley
|
3c2c3a1801
|
Extract helper and update tabs
|
2021-08-11 16:17:29 +01:00 |
|
Matt-Yorkley
|
a631d057f1
|
Update payment methods form
|
2021-08-11 15:22:28 +01:00 |
|
Matt-Yorkley
|
8f7c3a9369
|
Remove more unused AMS data injection
|
2021-08-11 15:22:28 +01:00 |
|
Jean-Baptiste Bellet
|
b66b1fcdae
|
Add step 3
|
2021-08-11 15:22:26 +01:00 |
|
Jean-Baptiste Bellet
|
4c81f0f27b
|
Specify name for this payment input
|
2021-08-11 15:20:03 +01:00 |
|
Jean-Baptiste Bellet
|
c286189225
|
Add link into success tab
to go back to previous step and edit details once completed
|
2021-08-11 15:20:01 +01:00 |
|
Jean-Baptiste Bellet
|
66892ed51a
|
Add a success class for step that are already validated
|
2021-08-11 15:17:08 +01:00 |
|
Jean-Baptiste Bellet
|
623753a745
|
Add right name to the radio button input
|
2021-08-11 15:15:31 +01:00 |
|
Matt-Yorkley
|
937ba3ca0a
|
Ensure previously selected shipping method is selected in form
|
2021-08-03 11:24:17 +02:00 |
|
Matt-Yorkley
|
a32ca23ca5
|
Simplify routes and partials
|
2021-08-03 11:24:03 +02:00 |
|
Matt-Yorkley
|
aba3cf99a3
|
Fix address2 field
|
2021-08-03 11:23:58 +02:00 |
|
Matt-Yorkley
|
d10899d9ea
|
Simplify use of nested field helpers
|
2021-08-03 11:23:53 +02:00 |
|
Matt-Yorkley
|
cea2433c3e
|
Fix indentation
|
2021-08-03 11:23:30 +02:00 |
|
Matt-Yorkley
|
6b430f9440
|
Drop AMS injection for shipping methods
We don't need this now
|
2021-08-03 11:23:10 +02:00 |
|
Jean-Baptiste Bellet
|
57d7191332
|
Add new step, second one: payment method
Add payment method form
- select the right form depending on the path
|
2021-07-26 15:47:36 +02:00 |
|