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
support
cda885d528
introduce woocommerce_paypal_payments_product_supports_prb filter
2021-11-08 14:58:25 -05:00
dinamiko
902d6bb0cf
Check if terms checkbox is available
2021-11-08 15:09:22 +01:00
Emili Castells
984019cb2b
Merge pull request #343 from woocommerce/PCP-305-enable-save-card-for-guest-users
...
Disable PayPal gateways if subscription product in cart and customer not logged in
2021-11-04 15:58:52 +01:00
dinamiko
85b8179307
Add space after if
2021-11-04 15:48:19 +01:00
dinamiko
02519b7f35
Merge branch 'trunk' of github.com:woocommerce/woocommerce-paypal-payments into PCP-375-order-of-woocommerce-checkout-ac
2021-11-04 12:12:13 +01:00
dinamiko
78fe636e65
Merge branch 'trunk' into PCP-305-enable-save-card-for-guest-users
2021-11-04 11:01:33 +01:00
Alex P
edd441f5da
Improve type check
2021-11-03 10:20:39 +02:00
Alex P
b783a55d3f
Remove unneeded check, it throws already
2021-11-03 10:19:04 +02:00
Emili Castells
57549e445b
Merge pull request #336 from woocommerce/pcp-204-fix-auto-registration-loop
...
Check if registration is needed
2021-11-02 09:25:55 +01:00
dinamiko
31572b747e
Merge PCP-204
2021-10-28 15:51:29 +02:00
dinamiko
47d79bb9f6
Fix phpcs error
2021-10-27 15:33:57 +02:00
dinamiko
0bfda54855
Refactor checkout PayPal order creation
2021-10-27 15:22:24 +02:00
dinamiko
9b6b0e2769
Do not validate WC checkout form when creating PayPal order
2021-10-27 12:29:11 +02:00
dinamiko
3c237b6315
Do not display gateways if subscription in cart and user is not logged in
2021-10-25 16:27:05 +02:00
dinamiko
1782c4fe16
Display PayPal buttons when not logged in and subscription in the cart
2021-10-22 12:49:04 +02:00
dinamiko
8aa11ead78
Merge branch 'pcp-204-fix-auto-registration-loop' into PCP-305-enable-save-card-for-guest-users
2021-10-22 11:55:51 +02:00
dinamiko
0a81b27f41
Enforce vault if contains subscription
2021-10-21 14:41:44 +02:00
Alex P
49bb1bc371
Check if registration is needed
...
createaccount checkbox is not present when guest checkout is disabled
2021-10-20 10:30:48 +03:00
dinamiko
038d36f556
Revent capture
in lowercase
2021-10-18 10:54:57 +02:00
dinamiko
ba061ce15b
Uppercase capture
2021-10-15 17:11:52 +02:00
dinamiko
a42ae3567f
Merge trunk
2021-10-13 16:13:42 +02:00
Emili Castells
3bfde3776f
Merge branch 'trunk' into issue-306-broken-nested-array
2021-10-13 12:36:42 +02:00
Ratnakar Dubey
34a18b359f
Rename file from class-createorderendpoint.php to CreateOrderEndpoint.php to follow PSR-4
2021-10-13 15:46:33 +05:30
Alex P
f4d82e0de8
Fix namespace name, remove classmap
2021-10-08 10:23:19 +03:00
Alex P
c65df28d54
Merge branch 'trunk' into bug/fix-project-configuration
2021-10-07 18:04:36 +03:00
dinamiko
a21aa9111a
Merge branch 'trunk' into PCP-327-prevent-subscription-from-being-
2021-10-06 12:35:08 +02:00
Alex P
403b82d5d7
Check that 3ds_contingency option is not null
2021-10-06 12:45:51 +03:00
dinamiko
a592b57848
Force authorization intent when purchasing subscription product
2021-10-05 12:12:19 +02:00
Ratnakar Dubey
8f43e3a46d
Fix: Broken multi-level (nested) associative array values getting submitted from checkout page
2021-10-05 13:46:00 +05:30
dinamiko
57ff2cc649
Fix merge conflicts
2021-09-30 12:52:15 +02:00
dinamiko
36eb284dce
Use sass
instead of node-sass
2021-09-29 11:47:58 +02:00
dinamiko
065fc4c241
Update all packages to latest versions
2021-09-29 11:10:56 +02:00
dinamiko
b6cde1f593
Regenerate yarn.lock
files
2021-09-29 10:20:11 +02:00
dinamiko
a5f308cb9d
Add logger to pending services
2021-09-24 10:33:21 +02:00
dinamiko
3fa3786b91
Add logger to data client id endpoint service
2021-09-24 10:09:17 +02:00
dinamiko
02d5411b18
Merge branch 'trunk' into release/1.6.0
2021-09-24 09:29:43 +02:00
Emili Castells
0515bdf949
Merge pull request #274 from woocommerce/PCP-288-vaulting-token-creation-fails
...
Allow customers to see and delete their saved payments in My Account.
2021-09-24 09:28:52 +02:00
dinamiko
97e3f217e8
Merge branch 'trunk' into release/1.6.0
2021-09-23 16:32:34 +02:00
Alex P
7ef5991cb8
Log endpoint errors
2021-09-23 17:19:46 +03:00
dinamiko
ead6858a51
Log 3DS authentication result
2021-09-21 11:34:16 +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
2db0162988
Move payment tokens repository to vaulting package
2021-09-17 17:11:36 +02:00
dinamiko
17de4ac1de
Fix merge conflict
2021-09-16 12:34:05 +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