Commit graph

1923 commits

Author SHA1 Message Date
Narek Zakarian
9c6a813776
Refactor settings JS code to work for standard tab 2022-12-05 15:28:45 +04:00
Narek Zakarian
9c7ac6ba34
Organize settings fields in separate folder 2022-12-05 15:27:58 +04:00
Emili Castells
a0472e3a6a
Merge pull request #1016 from woocommerce/pcp-995-gzd-validation
Set $_POST before validation
2022-11-29 14:55:43 +01:00
emilicastells
4ac93196c2
Remove param types to avoid third party issues 2022-11-29 12:49:42 +01:00
vendidero
65b5b829fe Do not call add_note() (which itself calls the add_note() method of the underlying order) in case of tracking communication errors as these errors are very repetitive and should be debug-only logs. 2022-11-29 11:45:41 +01:00
vendidero
d855d7fd87 Prevent throwing an exception during woocommerce_gzd_shipment_after_save hook as it prevents status transitions from happening. Check for tracking_id availability only as the has_tracking() method might perform additional tracking checks. 2022-11-25 14:08:59 +01:00
Alex P
308ce11674
Set $_POST before validation 2022-11-23 10:34:19 +02:00
Emili Castells
e5cced2008
Merge pull request #999 from woocommerce/PCP-976-non-hookable-price-format-in-pui-gateway-class-986
Make price format hookable in pui email template
2022-11-22 11:36:27 +01:00
Emili Castells
009689fdff
Merge pull request #1001 from woocommerce/PCP-961-another-type-check-error-with-german-market-plugin
Type check error with German Market plugin (961)
2022-11-22 11:33:20 +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
Emili Castells
aa7359ced5
Merge pull request #1000 from woocommerce/pcp-797-fix-var-buttons
Fix product price retrieval for variable product buttons
2022-11-22 11:30:11 +01:00
emilicastells
673cdc6c51
Add PayPal meta to OXXO order 2022-11-21 12:22:19 +01:00
Emili Castells
f6802dd977
Merge pull request #1007 from woocommerce/PCP-982-run-the-pay-later-migration-only-on-plugin-upgrade
Add plugin update hook & run PayLater migration if plugin is updated
2022-11-21 09:04:02 +01:00
Emili Castells
b4b4923883
Merge pull request #1003 from woocommerce/PCP-960-update-some-strings-for-2-0-update
Fix the Standard Card button gateway strings
2022-11-21 09:00:48 +01:00
Narek Zakarian
13b72db35a Add plugin update hook & run PayLater migration if plugin is updated 2022-11-18 20:18:41 +04:00
Narek Zakarian
769699763d
Merge pull request #993 from woocommerce/PCP-965-update-default-settings-for-pay-pal-buttons-and-pay-later-messaging
Update button defaults & setting descriptions
2022-11-18 18:37:32 +04:00
Narek Zakarian
df43e80a24 Update messaging banner style defaults 2022-11-18 15:49:25 +04:00
Narek Zakarian
a2d659447f Fix default Pay Later settings when plugin is installed 2022-11-18 15:39:35 +04:00
Narek Zakarian
09a30203dc Fix preview fro Mini-cart 2022-11-18 13:00:29 +04:00
Alex P
78e076f0cb
Trigger WC JS validation on button click to highlight empty fields 2022-11-18 10:17:59 +02:00
Narek Zakarian
dbe726e1b8 Fix the defaults for new users 2022-11-17 20:18:05 +04:00
Narek Zakarian
77c0f1d33c Fix the Standard Card button gateway strings 2022-11-17 18:57:52 +04: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
emilicastells
8584322da3
Fix psalm 2022-11-17 15:43:15 +01:00
emilicastells
83b2179aaf
Remove type in callback signature to avoid conflicts with third-party plugins 2022-11-17 15:37:46 +01:00
Narek Zakarian
dd03f02999 Don't show Pay Later button if locations are empty 2022-11-17 17:16:07 +04:00
Narek Zakarian
2775f7dd9d Disable funding soures for Pay Later preview 2022-11-17 16:58:58 +04:00
Narek Zakarian
7051e86003 Improve standard button preview code. 2022-11-17 15:50:46 +04:00
Narek Zakarian
b1e5345222 Change the text for Pay Later description source 2022-11-17 15:28:20 +04:00
Emili Castells
13ee93be2c
Merge pull request #996 from woocommerce/pcp-969-fix-styling
Improve styling when using separate buttons
2022-11-17 11:25:46 +01:00
emilicastells
34cf7fb967
Make price format hookable in pui email template 2022-11-16 17:11:45 +01:00
Narek Zakarian
f2690f9cf7 Update Pay Later tab description 2022-11-16 19:18:45 +04:00
emilicastells
21521ea0fe
Ensure pay for order exist in request 2022-11-16 09:53:31 +01:00
Alex P
38051eb617
Use PayPal button color for Pay Later when rendering separately 2022-11-16 09:23:08 +02:00
Alex P
d5d2a4fca5
Hide tagline settings when not horizontal layout 2022-11-16 08:17:08 +02:00
Alex P
3e66958880
Hide checkout layout settings when using separate card button 2022-11-15 18:21:46 +02:00
Narek Zakarian
16f9cf230c Update button defaults & setting descriptions 2022-11-15 18:46:44 +04:00
Emili Castells
92a9882213
Merge pull request #971 from woocommerce/PCP-943-tracking-status-filter-sending-wrong-parameter
Fix the tracking status label filter.
2022-11-15 12:55:49 +01: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
43b3754c05 Fix the use of namespace 2022-11-15 14:47:15 +04:00
Emili Castells
dcd6c3f1ee
Merge pull request #974 from woocommerce/pcp-918-php-72
Require PHP 7.2 or higher
2022-11-15 11:43:46 +01:00
Emili Castells
1743f1707e
Merge pull request #984 from woocommerce/PCP-967-product-stock-reduced-when-pui-payment-failed
Move update order status after PayPal order creation (967)
2022-11-15 11:42:33 +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
Narek Zakarian
9ecf3c8a09 Merge remote-tracking branch 'origin/trunk' into PCP-915-create-pay-later-tab 2022-11-15 14:32:53 +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
Emili Castells
7862f404b1
Merge pull request #966 from woocommerce/PCP-739-1-9-0-test-5-pui-gateway-displayed-on-pay-for-order-page-when-mandatory-billing-fields-are-left-empty-or-country-is-unsupprted
PUI gateway displayed on pay for order page when mandatory billing fields are left empty or country is unsupprted (739)
2022-11-14 17:00:06 +01:00