Commit graph

538 commits

Author SHA1 Message Date
Alex P
70c48762fa
Merge branch 'trunk' into pcp-157-blocks 2023-02-15 11:38:31 +02:00
Alex P
ea3e5bbeb6
Add express checkout block (wip) 2023-02-15 10:52:25 +02:00
Emili Castells
e5c66a65a1
Merge branch 'trunk' into PCP-1430-validate-free-trial 2023-02-13 15:20:52 +01:00
emilicastells
568b809834
Move context logic to trait 2023-02-13 11:01:51 +01:00
Alex P
c3a874c96f
Merge branch 'trunk' into pcp-990-user-valdation 2023-02-10 15:22:49 +02:00
Emili Castells
31b05842fc
Merge pull request #1135 from woocommerce/pcp-956-free-trial-form-save
Save checkout form before free trial redirect
2023-02-10 12:32:09 +01:00
Emili Castells
4aab613925
Merge pull request #1157 from woocommerce/PCP-1138-recaptcha-validation
Set $_REQUEST before validation
2023-02-10 12:26:50 +01:00
Alex P
c5af5df056
Merge branch 'trunk' into PCP-1003-adv-validation 2023-02-10 11:55:44 +02:00
Alex P
09b6b411db
Call WC validation on free trial click 2023-02-07 15:29:53 +02:00
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
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
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
Narek Zakarian
eb080c9275
Merge branch 'trunk' into PCP-1083-update-standard-payments-tab-settings 2022-12-20 19:37:51 +04: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
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
Narek Zakarian
54596fc108 Remove unnecessary throw tag from docblock 2022-11-04 12:42:50 +04:00
Emili Castells
e6acd1c27f
Merge pull request #923 from woocommerce/fix/one-page-checkout-compatibility
Fix button positioning for products with One Page Checkout Extension enabled
2022-11-02 16:39:50 +01:00
Emili Castells
77e18ea2b3
Merge pull request #942 from woocommerce/pcp-817-validation
Execute server-side WC validation when clicking button
2022-11-02 16:31:30 +01:00
Narek Zakarian
469c3ce9c3 Merge branch 'trunk' into pcp-917-preview
# Conflicts:
#	modules/ppcp-wc-gateway/resources/js/gateway-settings.js
#	modules/ppcp-wc-gateway/services.php
#	modules/ppcp-wc-gateway/src/Assets/SettingsPageAssets.php
#	modules/ppcp-wc-gateway/src/WCGatewayModule.php
#	tests/PHPUnit/WcGateway/Assets/SettingsPagesAssetsTest.php
2022-11-02 18:01:37 +04:00