Commit graph

477 commits

Author SHA1 Message Date
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
901ecdd1d9 Remove unused imports 2022-04-13 11:17:58 +03:00
Alex P
4c5f0552f9 Remove unneeded token confirmation attempts 2022-04-13 10:40:09 +03:00
Alex P
87aed70199 Improve spinner before redirect 2022-04-12 18:40:24 +03: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
Alex P
0da5758656 Merge branch 'trunk' into pcp-475-free-trial 2022-04-07 09:42:32 +03:00
Emili Castells
1cd64cff13
Merge pull request #572 from woocommerce/PCP-623-errors-in-the-checkout-page-when
Use `hasOwnProperty` instead of `length` for checking if property exist
2022-04-06 16:51:58 +02: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
f5a472673b Handle free trial sub for cards
authorize 1$ and void
2022-04-06 09:10:24 +03:00
dinamiko
c6070e6567 Just use err.details 2022-04-05 15:01:46 +02:00
dinamiko
b7a9ccec4e Use hasOwnProperty instead of length for checking if property exist 2022-04-05 14:29:33 +02:00
Alex P
8ae32e8396 Hide DCC order button until loaded, show spinner 2022-03-31 08:52:33 +03:00
Emili Castells
d6286ec6e5
Merge pull request #556 from woocommerce/PCP-604-paypal-button-missing-on-pay-for
Move up pay order render button before checking empty cart
2022-03-28 17:20:49 +02:00
Emili Castells
e088d3c53e
Merge pull request #554 from woocommerce/PCP-598-buttons-not-visible-in-mini-cart
Remove vaulting conditional on minicart render buttons
2022-03-28 17:13:01 +02:00
dinamiko
78d98be098 Move up pay order render button before checking empty cart 2022-03-28 16:33:45 +02:00
dinamiko
0f47429d91 Remove vaulting conditional on minicart render buttons 2022-03-28 15:24:46 +02:00
Narek Zakarian
fbc20c35ea Fix the product price amount calculation 2022-03-25 16:15:18 +04:00
Emili Castells
fe561e34e4
Merge pull request #497 from Chaithi/trunk
Add Spain and Italy to messaging (565)
2022-03-23 11:19:13 +01: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
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
Narek Zakarian
5585461280 Add "Type" attribute to checkout button 2022-03-15 18:02:35 +04:00
Alex P
f6944a6208 Hide "Place Order" button on page load when PayPal selected 2022-03-15 09:28:51 +02:00
Alex P
7050c8231e Refactor selected payment gateway checking 2022-03-15 09:16:37 +02: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
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
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
89392e43bd Display error message for when error on hosted fields approve payment 2022-02-28 10:06:05 +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
dinamiko
a0e2ff9825 Merge branch 'trunk' into PCP-505-dcc-orders-randomly-failing 2022-02-22 17:36:21 +01:00
mattallan
28bed83598 Check if PayPal Payments is available before renderering the buttons 2022-02-22 16:07:24 +10: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
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