leonardo lopes de albuquerque
e6775ce3fe
Merge pull request #353 from helgatheviking/issues/234-supports
2022-05-10 10:05:59 -03:00
helgatheviking
0052aacbbc
Rename new filter to woocommerce_paypal_payments_product_supports_payment_request_button to avoid abbreviates
2022-05-09 13:19:32 -06:00
Narek Zakarian
199b18c7f3
Fix the psalm error about no return type.
2022-05-06 18:22:58 +04:00
Narek Zakarian
5965cc4bde
Enable the "pay later" on card page when card page is updated.
2022-05-06 18:22:11 +04:00
Narek Zakarian
6ac84bc801
Merge branch 'PCP-632-smart-buttons-not-loading' into PCP-163-pay-later-message-bug
2022-05-06 17:34:13 +04:00
Narek Zakarian
c4f5d7a139
Move the subscription cart check into the callbacks.
...
The subscription product in cart existence and the vaulting enabled check should be called inside the button renderer hook callback so that the mini-cart ajax refresh will take it into the consideration.
2022-05-02 17:48:14 +04:00
Alex P
a5191b04ff
Do not disable card funding source for free trial if DCC enabled
...
Otherwise DCC gateway gets disabled (paypal.HostedFields.isEligible() becomes false)
2022-04-25 15:13:46 +03:00
Narek Zakarian
b268e62c9f
Fix the button render logic when free product is in cart.
2022-04-18 18:16:22 +04: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
9370eba320
Fix mini-cart free trial check
2022-04-12 17:20:32 +03:00
Alex P
b928e5aaa4
Remove additional paypal buttons for free trial
2022-04-12 15:29:23 +03: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
Narek Zakarian
515a06542e
Use the cart price calculating method inside the handler.
2022-04-06 18:18:05 +04:00
Narek Zakarian
f46341466f
Check the cart total amount inside mini cart renderer hook.
2022-04-06 17:57:59 +04:00
Alex P
8ae32e8396
Hide DCC order button until loaded, show spinner
2022-03-31 08:52:33 +03:00
dinamiko
78d98be098
Move up pay order render button before checking empty cart
2022-03-28 16:33:45 +02:00
Emili Castells
eb7dbbcf9e
Merge pull request #537 from woocommerce/PCP-576-place-order-button-looking-unstyled
...
Add "Type" attribute to checkout button
2022-03-22 11:53:38 +01:00
Emili Castells
ca517e4f50
Merge pull request #500 from woocommerce/PCP-500-hide-smart-buttons-for-free-product
...
Check if price total is not zero before showing buttons
2022-03-22 11:52:46 +01:00
Emili Castells
eb247f1cba
Merge pull request #534 from woocommerce/pcp-272-buttons-loading-time
...
Buttons loading time
2022-03-22 10:12:18 +01: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
Narek Zakarian
5585461280
Add "Type" attribute to checkout button
2022-03-15 18:02:35 +04:00
Alex P
1a9fbc1303
Fix ajax URLs on multisite
2022-03-09 16:24:11 +02:00
Narek Zakarian
33ad9f6d91
Check the price amount with JS to fix variable products
2022-03-02 12:49:21 +04:00
dinamiko
5110209cfe
Format code style
2022-02-28 14:14:14 +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
3bfd7346ab
Merge branch 'issue/447-wcpay-subscriptions-compat' of https://github.com/mattallan/woocommerce-paypal-payments into mattallan-issue/447-wcpay-subscriptions-compat
2022-02-24 09:44:14 +01:00
mattallan
28bed83598
Check if PayPal Payments is available before renderering the buttons
2022-02-22 16:07:24 +10:00
Narek Zakarian
6de1aa2ae8
early return if cart is empty
2022-02-18 18:06:55 +04:00
Narek Zakarian
efca8ba27d
use == comparison
2022-02-18 17:56:33 +04:00
Alex P
0c07ebd629
Use plugin version as asset version
2022-02-17 18:51:24 +02:00
Alex P
fc89021df4
Add hook docs
...
phpcs rules updated
2022-02-17 18:28:59 +02:00
Narek Zakarian
164b74fdcb
Check if price total is zero before showing buttons
2022-02-17 20:01:47 +04:00
dinamiko
b923df9d52
Revert dcc enabled check
2022-01-21 15:25:17 +01:00
Emili Castells
0fee10931a
Merge pull request #423 from woocommerce/PCP-434-allow-guest-users-to-purchase-su
...
Add customer id for guest users purchasing subscriptions
2022-01-20 11:18:14 +01:00
dinamiko
2f78bab9ca
Only display buttons in checkout if guest with subscription
2022-01-17 14:35:25 +01:00
Alex P
5591b2806d
Fix double slash in asset urls
2022-01-14 16:33:59 +02:00
dinamiko
e6adf38edd
Fix merge conflicts
2022-01-11 10:31:47 +01:00
Emili Castells
45a4463e75
Merge pull request #418 from woocommerce/pcp-196-use-wc-translation
...
Use translation from WC for "Place order" / "Pay for order" buttons
2022-01-10 13:17:47 +01:00
Alex P
5216e155b4
Fix save card label "for"
2022-01-06 15:08:13 +02:00
dinamiko
a8ccd02e77
Revert vault enabled check in render wrapper
2022-01-05 14:31:12 +01:00
dinamiko
08d3dea790
Check if pay for order contains subscription
2022-01-04 11:01:34 +01:00
dinamiko
6d0c821b19
Check if pay for order contains subscription
2022-01-04 10:43:18 +01:00
dinamiko
d69f1b5a9c
Add guest customer id (WIP)
2021-12-24 12:37:06 +01:00
dinamiko
ece3ef95d3
Display payment gateways for guest users when subscription in the cart
2021-12-22 16:00:29 +01:00
Alex P
b93d0acfcc
Use translation from WC for "Place order" / "Pay for order"
2021-12-21 17:56:27 +02:00
Emili Castells
b65200645a
Merge pull request #386 from woocommerce/pcp-367-default-3ds-contingency
...
Change default 3ds contingency
2021-12-01 11:57:31 +01:00
dinamiko
aa61ab56ca
Improve required card holder name error message
2021-11-30 14:23:21 +01:00
dinamiko
cf3ba3f55c
Fix phpcs errors
2021-11-30 11:11:02 +01:00
Alex P
ffe32070d0
Extract shop currency, country to services
2021-11-30 10:40:38 +02:00