Commit graph

1945 commits

Author SHA1 Message Date
Narek Zakarian
9eb14e192a
redirect after successfully cleared DB 2022-12-09 16:51:29 +04:00
Narek Zakarian
6a9c76fa9e
Handle the clear db AJAX request shoulr be outside of check. 2022-12-09 16:48:11 +04:00
Narek Zakarian
2fd1a6f574
Handle the clear db AJAX request. 2022-12-08 19:25:19 +04:00
Narek Zakarian
f0798d7e88
Create object able to clear database. 2022-12-08 19:24:53 +04:00
Narek Zakarian
374ce5d5f9
Create the JS to handle clear db functionality 2022-12-08 19:24:22 +04:00
Narek Zakarian
990799d20b
Fix the JS name 2022-12-08 18:03:29 +04:00
Narek Zakarian
3ecbabdffa
Fix the JS name 2022-12-08 18:00:53 +04:00
Narek Zakarian
98e1c5cb9a
Add the clear database functionality assets registration 2022-12-08 17:23:41 +04:00
Narek Zakarian
75ed64646b
Fix gitignore file 2022-12-08 17:10:45 +04:00
Narek Zakarian
da020a3749
Prepare module assets 2022-12-08 17:08:39 +04:00
Narek Zakarian
b47e3ab66d
Change the webhook simulation option name constant visibility. 2022-12-07 19:15:03 +04:00
Narek Zakarian
199517f403
Create the settings. 2022-12-07 19:13:54 +04:00
Narek Zakarian
5e2d4228ef
Add configuration services for option names and scheduled actions 2022-12-07 19:10:08 +04:00
Narek Zakarian
b77505ce5b
Create the Uninstall module. 2022-12-07 16:28:59 +04:00
Emili Castells
ff37f4f584
Merge pull request #1048 from woocommerce/PCP-996-all-tabs-hidden-on-oxxo-tab-visit
All tabs hidden on OXXO tab visit (996)
2022-12-01 12:35:29 +01:00
Emili Castells
b9fdd7535b
Merge pull request #1050 from woocommerce/PCP-1015-sync-GZD-tracking-only-if-status-is-shipped
Sync GZD shipment only if status is changed to "shipped"
2022-12-01 12:33:54 +01: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
Narek Zakarian
8e7ca29117
Sync GZD shipment only if status is changed to "shipped" 2022-11-30 17:22:25 +04:00
emilicastells
20445258df
Fix typo in is ppcp settings page service 2022-11-30 13:13:44 +01:00
Alex P
428d4f700b
Fix shipping address validation 2022-11-30 12:44:35 +02:00
emilicastells
a448f98b3f
Param types removed to avoid third-party issues 2022-11-30 11:44:13 +01: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
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
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