Narek Zakarian
33ad9f6d91
Check the price amount with JS to fix variable products
2022-03-02 12:49:21 +04:00
Emili Castells
3afb73d34c
Merge pull request #519 from woocommerce/PCP-554-paypal-options-available-on-mini
...
Do not display buttons in minicart if subscription in the cart and va…
2022-03-01 11:11:44 +01:00
dinamiko
21013adbca
Do not display buttons in minicart if subscription in the cart and vaulting disabled
2022-02-28 12:56:44 +01:00
dinamiko
89392e43bd
Display error message for when error on hosted fields approve payment
2022-02-28 10:06:05 +01:00
dinamiko
635838c636
Use hosted fields button wrapper instead of checkout form to add the attribute
2022-02-21 17:11:56 +01:00
dinamiko
ef99e53d6a
Use an attribute to ensure handler added
2022-02-21 16:12:09 +01:00
dinamiko
0def95d4cd
Set formSubmissionSubscribed
to false on each ACDC gateway display
2022-02-21 12:21:05 +01:00
dinamiko
f9157ff1ba
Clear previous message before display current
2022-02-02 11:40:54 +01:00
dinamiko
238fa31cf7
Display multiple details
2022-01-31 15:04:28 +01:00
dinamiko
b98f59b4ed
Add error details for order creation
2022-01-31 12:17:23 +01:00
dinamiko
2f78bab9ca
Only display buttons in checkout if guest with subscription
2022-01-17 14:35:25 +01:00
Emili Castells
d5823c1254
Merge pull request #398 from woocommerce/pcp-400-show-funding-source
...
Show "Venmo" instead of "PayPal" when using its' button
2021-12-14 16:03:01 +01:00
Emili Castells
7109f969f6
Merge pull request #401 from woocommerce/PCP-424-reopened-error-messages-are-not-cleared
...
Clear error messages on approve
2021-12-13 12:07:31 +01:00
dinamiko
cf88d4ffbc
Clear error messages on approve
2021-12-13 10:50:14 +01:00
Alex P
f4a32a01e7
Show "Venmo" instead of "PayPal" when using its' button
2021-12-09 17:29:48 +02:00
Alex P
2e5b0065f9
Fix payer name properties access
2021-12-08 18:42:09 +02:00
dinamiko
26147791ab
Remove getting shipping address as fallback for card holder name
2021-11-30 12:34:19 +01:00
dinamiko
b3b1237247
Merge branch 'trunk' into PCP-359-customer-details-not-available-i
2021-11-26 15:30:26 +01:00
dinamiko
19b5c2e437
Check shipping name if billing does not exist
2021-11-25 11:59:22 +01:00
dinamiko
162a0886b7
Use innerHTML
to clear element inner content
2021-11-25 10:36:56 +01:00
dinamiko
0ac3dae104
Fix error handler clear messages
2021-11-24 17:13:31 +01:00
dinamiko
31f2e65bff
Fix typo in element id
2021-11-24 16:10:24 +01:00
dinamiko
1e646fa954
Ensure cardholder name when submit card fields
2021-11-24 16:09:36 +01:00
Alex P
ebe1e84907
Fix and refactor PayNow checkout UI too
...
Inherit PayNowBootstrap from CheckoutBootstap, they are almost the same
2021-11-12 18:27:47 +02:00
Alex P
9c7859bf35
Use MutationObserver to detect order button visibility changes
...
Such as for the old PayPal plugin,
which shows it on click + with some animation,
or Conditional WooCommerce Checkout Field,
which shows the button after loading some data
2021-11-12 18:26:42 +02:00
Alex P
3dc9b48e1b
Hide button with !important to override !important from some themes
2021-11-11 18:00:31 +02:00
Alex P
9ad48d5f13
Optimize checkout elements hiding
...
Remove duplicated calls like hidden -> show() -> hide() during some updates
and make code more clear
2021-11-11 15:20:21 +02:00
Alex P
c2b77b3cff
Unselect saved card only on page load
...
If we do it on every form update/method switch,
then e.g. if the user first selected a card,
but then entered/edited the address,
they may lose the selection
(and maybe it could cause issues in other cases,
if something else triggers update_checkout)
2021-11-11 15:19:09 +02:00
Alex P
2e59248bf9
Extract saved card selection check
2021-11-10 17:10:07 +02:00
Alex P
9624c85a6c
Extract currentPaymentMethod
2021-11-10 16:27:00 +02:00
Alex P
51517f1196
Extract selector to a variable
2021-11-10 12:56:53 +02:00
dinamiko
85b8179307
Add space after if
2021-11-04 15:48:19 +01:00
dinamiko
0a81b27f41
Enforce vault if contains subscription
2021-10-21 14:41:44 +02:00
dinamiko
1b1c6c4a60
Do not display generic error on hosted fields submit. Fixes #263 .
2021-09-20 11:16:49 +02:00
dinamiko
909699886c
Check if hosted fields instance exist before setting attribute
2021-09-20 11:14:35 +02:00
dinamiko
6191541674
Disable hosted fields when selecting saved credit card
2021-09-16 12:29:30 +02:00
dinamiko
6896265ca3
Add -disabled
to css class name
2021-09-14 11:44:49 +02:00
dinamiko
da7450ccdf
Dispatch hosted fields loaded event
2021-09-14 11:24:27 +02:00
dinamiko
ab32a20f68
Add and remove class for css opacity
2021-09-14 09:28:48 +02:00
dinamiko
12f1a2e40b
Disable credit card fields when selecting saved payment
2021-09-09 17:28:16 +02:00
dinamiko
31260b61f9
Fix merge conflicts
2021-09-08 15:22:28 +02:00
Alex P
a41f678ac6
Subscribe to form button click only once
2021-09-07 17:58:17 +03:00
Alex P
10d7574e22
Teardown hosted fields on re-render
2021-09-07 17:56:16 +03:00
Alex P
b988e08c66
Add "No 3DS" option
2021-08-23 12:29:43 +03:00
Alex P
0553ea62bf
Send 3ds contingency in js
2021-08-20 17:47:32 +03:00
dinamiko
94aead33ba
Merge branch 'trunk' into PCP-114-sca-when-required
2021-08-03 15:20:23 +02:00
Emili Castells
66aa4ab841
Merge pull request #193 from woocommerce/PCP-166-acdc-checkout-error-card-details
...
ACDC checkout error: "Card Details not valid"; but payment completes
2021-07-16 09:09:27 +02:00
dinamiko
f2ac9045bb
Move hosted fields validation into validityChange
event
2021-07-15 17:27:19 +02:00
dinamiko
a9922f36b1
Do not rerender hosted fields on each checkout form field update
2021-07-13 11:55:59 +02:00
dinamiko
fad6c27ae4
Fix typo in variable name
2021-07-13 09:43:30 +02:00