Alex P
09b6b411db
Call WC validation on free trial click
2023-02-07 15:29:53 +02:00
Alex P
79f2c9a1fa
Save checkout form before free trial redirect
2023-01-25 09:42:31 +02:00
Alex P
78e076f0cb
Trigger WC JS validation on button click to highlight empty fields
2022-11-18 10:17:59 +02:00
Alex P
edea76c9e4
Prevent Enter key submit for our non-standard button gateways
...
Otherwise pressing Enter triggers WC order process without e.g. completing payment via paypal popup, and results in failure with confusing error message.
2022-11-14 10:17:26 +02:00
Alex P
9020c9b797
Use the same errorHandler
...
Otherwise old messages may get stuck
2022-10-27 09:09:45 +03:00
Alex P
57af25a197
Hide order button via class
2022-10-20 09:24:24 +03:00
Alex P
5be88678e7
Use appendChild for better compatibility
...
For some reason Babel does not polyfill it
2022-09-09 11:20:23 +03:00
Alex P
0b4e42a30f
Refactor js error message creation, call jQuery animation only once
2022-08-10 10:09:06 +03:00
Narek Zakarian
6b8014e5b1
Fix the JS file
2022-07-28 16:33:24 +04:00
Alex P
e55e2d9c81
Merge branch 'trunk' into pcp-697-separate-gateway
2022-07-26 15:28:27 +03:00
Alex P
8212605926
Make js validation error message like WC message
2022-07-22 11:48:53 +03:00
Alex P
88838ce5ca
Add fields to the basic js validation error message
2022-07-21 10:13:59 +03:00
Alex P
d4e8bd453c
Add card button gateway
2022-07-19 09:20:26 +03:00
Alex P
7f42fe1882
Show basic validation error only for required fields
...
Otherwise it may trigger on some sites when the field is no longer required but still marked as invalid, e.g. after switching to a country without required state
2022-07-01 11:43:11 +03:00
Alex P
be9c624264
Add filter allowing to disable the basic client-side validation
...
In case some conflicts occur.
2022-06-28 12:09:18 +03:00
Alex P
ba432b9705
Fix basic validation
...
Use :visible in both selectors, otherwise it may result in an unwanted error if something triggered validation for hidden fields.
2022-06-20 18:27:04 +03:00
Alex P
993e109c49
Add basic input validation before opening PayPal popup
2022-06-03 16:27:53 +03:00
Alex P
4a4f131325
Handle card smart button for free trial (1$ auth + void)
...
Disabling this funding source also disables DCC
2022-04-25 15:24:37 +03:00
Emili Castells
0f1f729973
Merge pull request #561 from woocommerce/pcp-612-dcc-loading
...
Hide DCC order button until loaded, show spinner
2022-04-13 10:31:44 +02:00
Alex P
c701b46a40
Remove paypal buttons for free trial everywhere except checkout
2022-04-12 15:12:21 +03:00
Alex P
1c0df35f53
Handle free trial for paypal
...
Vault account without payment
2022-04-12 14:59:07 +03:00
Alex P
8ae32e8396
Hide DCC order button until loaded, show spinner
2022-03-31 08:52:33 +03:00
Alex P
f0ff7de9fa
Do not hide button on change payment page
2022-03-18 09:24:55 +02:00
Alex P
4fe5a63f42
Hide "Place order"/show spinner in Pay Now too
2022-03-17 16:00:55 +02:00
Alex P
d791873033
Move buttons loading spinner to the buttons container
...
should be more reliable, and for Pay Now there is no .place-order
2022-03-17 15:59:19 +02:00
Alex P
a1d735bc79
Hide "Place order"/show spinner only on normal checkout
2022-03-17 10:31:18 +02:00
Alex P
42345d4947
Add buttons loading spinner
2022-03-17 10:02:45 +02:00
Alex P
f6944a6208
Hide "Place Order" button on page load when PayPal selected
2022-03-15 09:28:51 +02:00
dinamiko
2f78bab9ca
Only display buttons in checkout if guest with subscription
2022-01-17 14:35:25 +01:00
Alex P
f4a32a01e7
Show "Venmo" instead of "PayPal" when using its' button
2021-12-09 17:29:48 +02:00
dinamiko
fad6c27ae4
Fix typo in variable name
2021-07-13 09:43:30 +02:00
dinamiko
ab6f8a3c99
Check single product and mini card setting for displaying PayPal buttons
2021-07-12 17:16:26 +02:00
dinamiko
ea23200de6
Consolidate vaulting settings in one single one
2021-04-23 10:33:28 +02:00
dinamiko
6bfb8b2c2a
Enable subscriptions plugin support, add settings for vaulting
2021-02-15 13:54:42 +01:00
dinamiko
8562fb7f58
Add spinner to pay now bootsptrap
2021-01-05 17:12:26 +01:00
David Remer
06728d616b
Merge branch 'master' into pay-now
2020-10-02 12:31:00 +03:00
David Remer
96fd3d6a2a
enable gateways in the account -> order -> pay-now
2020-09-30 14:24:31 +03:00
David Remer
4322386c85
activate spinner when credit card button is clicked
2020-09-28 14:05:02 +03:00
David Remer
f8e82bdfaf
move module.local to module
2020-09-01 14:21:58 +03:00