Commit graph

642 commits

Author SHA1 Message Date
Alex P
838978fcf6
Retrieve validation errors from notices 2023-02-03 10:36:48 +02:00
Alex P
d6bd403b5a
Call calculate_shipping before validation 2023-02-03 10:35:38 +02:00
Alex P
b10f1a693a
Set $_REQUEST before validation 2023-02-02 15:26:28 +02:00
emilicastells
ee425588bf
Add subscriptions mode selector 2023-02-01 16:30:39 +01:00
Alex P
6fc12a55a9
Make is_checkout()=true during validation to improve compatibility 2023-01-30 17:33:24 +02:00
Alex P
654d6d6da8
Validate new user creation 2023-01-26 12:34:07 +02:00
Alex P
79f2c9a1fa
Save checkout form before free trial redirect 2023-01-25 09:42:31 +02:00
emilicastells
72eb713fd4
Add logic to enable/disable PayPal subscriptions feature 2023-01-16 12:37:16 +01:00
Alex P
d5f54abd94
Support grouped layout of sub mode plugin 2023-01-12 16:47:34 +02:00
Alex P
4bd39c9f95
Fix/refactor product button handling 2023-01-12 16:47:34 +02:00
Alex P
745c226f77
Hide product button when subscription mode chosen via plugin 2023-01-12 16:47:34 +02:00
Alex P
8bb5f464b4
Fix order response 2023-01-11 17:45:09 +02:00
Alex P
2012548fc2
Fix phpdoc 2023-01-11 17:45:09 +02:00
Alex P
3b2f929df1
Make SmartButton more reusable 2023-01-11 17:45:09 +02:00
emilicastells
71c1937808
Remove temporary setting for debug 2023-01-10 11:39:09 +01:00
emilicastells
6b5ed3fc80
Get subscription plan id from WC product 2023-01-10 11:32:44 +01:00
emilicastells
7774a5e8b0
Integrate PayPal Subscriptions (WIP) 2023-01-05 14:53:23 +01:00
emilicastells
dd3918b146
Extract vault logic into service 2023-01-04 12:40:24 +01:00
emilicastells
8b58eb0566
Extract intent and context logic into services 2023-01-04 12:13:26 +01:00
emilicastells
35e3e97f88
Merge branch 'PCP-591-save-and-display-vaulted-payment-methods-in-woo-commerce-native-endpoint' into PCP-991-detach-vaulting-from-wc-subscriptions-support 2022-12-23 12:30:38 +01:00
Narek Zakarian
eb080c9275
Merge branch 'trunk' into PCP-1083-update-standard-payments-tab-settings 2022-12-20 19:37:51 +04:00
emilicastells
7022924d7e
Merge branch 'trunk' into PCP-991-detach-vaulting-from-wc-subscriptions-support 2022-12-14 14:36:07 +01:00
Alex P
80428f1eb1
Execute WC validation only for buttons in checkout 2022-12-12 09:18:37 +02:00
Narek Zakarian
3398e46329
Allow general/default styling for smart buttons 2022-12-05 18:12:15 +04:00
Narek Zakarian
da07c3b5fa
Refactor smart button with new settings 2022-12-05 16:53:30 +04:00
Emili Castells
6a3f96a1e8
Merge pull request #1047 from woocommerce/pcp-1016-address-error
Fix shipping address validation
2022-12-01 11:58:09 +01:00
Emili Castells
67559a0492
Merge pull request #1035 from woocommerce/pcp-1036-fix-dcc-messages
Fix DCC error messages handling
2022-11-30 16:32:26 +01:00
Alex P
428d4f700b
Fix shipping address validation 2022-11-30 12:44:35 +02:00
Alex P
1da410a6da
Fix checkout error messages checks 2022-11-29 10:23:47 +02:00
Alex P
e9d83449d4
Fix DCC error messages handling 2022-11-29 10:02:10 +02:00
Alex P
308ce11674
Set $_POST before validation 2022-11-23 10:34:19 +02:00
emilicastells
2b3b4dcce2
Detach vaulting from subscriptions (WIP) 2022-11-22 13:35:28 +01:00
Emili Castells
93d33e5cad
Merge pull request #1004 from woocommerce/pcp-972-highlight-empty-fields
Trigger WC JS validation on button click to highlight empty fields
2022-11-22 11:31:21 +01:00
Alex P
78e076f0cb
Trigger WC JS validation on button click to highlight empty fields 2022-11-18 10:17:59 +02:00
Alex P
0bc23975a8
Use MutationObserver to show/hide variable product buttons
The price may get loaded later
2022-11-17 16:55:35 +02:00
Alex P
a0f6a8b700
Fix variable product price retrieval 2022-11-17 16:55:35 +02:00
Alex P
fca1f50878
Improve zero price check (handle NaN, null) 2022-11-17 16:55:35 +02:00
Alex P
38051eb617
Use PayPal button color for Pay Later when rendering separately 2022-11-16 09:23:08 +02:00
Emili Castells
e67b4225d3
Merge pull request #962 from woocommerce/PCP-915-create-pay-later-tab
Create the pay later tab
2022-11-15 11:53:37 +01:00
Narek Zakarian
629292c85a Merge remote-tracking branch 'origin/trunk' into PCP-915-create-pay-later-tab
# Conflicts:
#	modules/ppcp-wc-gateway/services.php
2022-11-15 14:40:23 +04:00
Alex P
d8f972343d
Merge branch 'trunk' into pcp-918-php-72 2022-11-15 12:36:20 +02:00
Narek Zakarian
5dca23e7e1 Fix the admin client ID for US 2022-11-15 14:35:02 +04:00
Emili Castells
967e40633e
Merge pull request #981 from woocommerce/pcp-966-prevent-enter
Prevent Enter key submit for our non-standard button gateways
2022-11-15 10:54:50 +01:00
Alex P
edea76c9e4 Prevent Enter key submit for our non-standard button gateways
Otherwise pressing Enter triggers WC order process without e.g. completing payment via paypal popup, and results in failure with confusing error message.
2022-11-14 10:17:26 +02:00
Narek Zakarian
77fa07160d Fix the code style 2022-11-09 19:18:16 +04:00
Narek Zakarian
e189325766 Merge remote-tracking branch 'origin/trunk' into PCP-915-create-pay-later-tab
# Conflicts:
#	modules/ppcp-button/services.php
2022-11-09 19:16:59 +04:00
Alex P
17d3cc152e Require PHP 7.2 2022-11-09 16:00:15 +02:00
Narek Zakarian
ac420a6d7e Fix Pay Later button admin preview 2022-11-09 17:58:25 +04:00
Narek Zakarian
4d0adae73b Use "admin dummy client ID" when messaging is eligible 2022-11-09 17:57:52 +04:00
Alex P
818dbcf107 Add isolated container and dhii modularity deps 2022-11-09 10:13:03 +02:00