Commit graph

396 commits

Author SHA1 Message Date
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
RT3
40694b251a
Format for URLs changed for Pay Later disclaimers
Added IT / ES, changed URL formats.
2022-02-16 11:53:04 -06:00
RT3
bc8cbd7dec
Adding Italy and Spain to messages
Messaging and buttons will be available in late March.
2022-02-16 11:31:34 -06:00
dinamiko
ccff0fa586 Fix merge conflicts 2022-02-10 09:34:42 +01:00
dinamiko
0947031c3f Ensure email exist otherwise do not return payer object 2022-02-07 16:25:29 +01:00
dinamiko
4c71240684 Merge branch 'trunk' into pcp-370-onboarding 2022-02-07 10:23:31 +01:00
dinamiko
7b132f9d92 Get payer info from checkout form (WIP) 2022-02-04 17:11:40 +01:00
dinamiko
f9157ff1ba Clear previous message before display current 2022-02-02 11:40:54 +01:00
Alex P
2e50e59940 Remove progressive onboarding state 2022-01-31 18:16:25 +02: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
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
314ba44bb9 Use realpath for __FILE__ when creating url
on some sites __FILE__ contains .. which breaks url creation
2022-01-14 16:35:13 +02: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
96d154a856 Refactoring 2022-01-05 14:12:37 +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
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
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