Commit graph

2101 commits

Author SHA1 Message Date
Narek Zakarian
2205b1bc1e
Refactor default settings to match new settings 2022-12-05 17:12:30 +04:00
Narek Zakarian
7f120720cc
Refactor disable gateways with new settings 2022-12-05 17:05:19 +04:00
Narek Zakarian
da07c3b5fa
Refactor smart button with new settings 2022-12-05 16:53:30 +04:00
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
emilicastells
b6d483ac6d
Update error message 2022-12-05 11:21:05 +01:00
emilicastells
c654786ee3
Merge branch 'trunk' into PCP-951-could-not-retrieve-order 2022-12-05 11:18:09 +01:00
emilicastells
1ce7a1ca2e
Remove param types on closures to avoid third party issues 2022-12-01 15:00:48 +01: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
Narek Zakarian
d29f462e95
Fix PHPcs problems 2022-11-29 20:06:34 +04:00
Narek Zakarian
77e8714877
fix Psalm tests 2022-11-29 20:00:47 +04:00
Narek Zakarian
c9aef703e4
Add the url to documentation. 2022-11-29 19:47:21 +04:00
Narek Zakarian
50e18c1518
Add FraudNet header when creating order. 2022-11-29 19:31:58 +04:00
Narek Zakarian
8d74fcdf17
Create configuration service to check if FraudNet is enabled 2022-11-29 18:54:40 +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
Narek Zakarian
1a4f9f6535
Register the FraudNet JS 2022-11-29 17:06:17 +04: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
emilicastells
2ade248704
Fix phpcs 2022-11-29 11:12:14 +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
emilicastells
cb876633ac
Add log entry for no order id in meta 2022-11-28 12:49:34 +01:00
emilicastells
a25eca53bb
Refactor PayPal order retrieval 2022-11-28 12:34:28 +01:00
emilicastells
fda789228c
Do not call get PayPal order if order id is empty 2022-11-28 11:28:09 +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
Narek Zakarian
6045c3855b Refactor FraudNet namespace, isn't related specially to PUI 2022-11-23 17:59:46 +04:00
Narek Zakarian
fe6c61584b Create setting to enable/disable the FraudNet. 2022-11-23 17:42:00 +04: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