Commit graph

2410 commits

Author SHA1 Message Date
Emili Castells
313def09de
Merge pull request #1375 from fitimvata/trunk
[Fix] Undefined array key 0 when checking $retry_errors in process_payment method. (1698)
2023-07-03 11:46:35 +02:00
Emili Castells
315ef2c2cd
Merge pull request #1471 from woocommerce/PCP-1827-update-system-report-plugin-status-for-vaulting
Update system report plugin status for Vaulting (1827)
2023-06-28 11:22:09 +02:00
Emili Castells
b4cc4dcfe9
Merge pull request #1469 from woocommerce/PCP-1607-smart-buttons-not-greyed-out-removed-on-single-product-when-deselecting-product-variation
Smart buttons not greyed out/removed on single product when deselecting product variation (1607)
2023-06-27 17:05:22 +02:00
Alex P
0d34fead07
Revert accidentally committed line 2023-06-27 16:28:44 +03:00
Pedro Silva
bf5179d374
Add PayPal Vault enabled and ACDC Vault enabled on WooCommerce System status
Remove Vault enabled on WooCommerce System status
2023-06-27 11:00:59 +01:00
Emili Castells
7498417306
Merge pull request #1468 from woocommerce/PCP-1759-fix-caches-on-update
Refresh DCC/PUI status caches on plugin update
2023-06-27 11:41:34 +02:00
Emili Castells
f7ed9af081
Merge pull request #1408 from woocommerce/fix/PCP-1713_update_wroding_preview_button
Update wording in buttons previews
2023-06-27 11:40:43 +02:00
Emili Castells
715e9bcf17
Merge pull request #1384 from woocommerce/PCP-1700-js-error-event
Trigger WC checkout_error event
2023-06-27 11:40:01 +02:00
Emili Castells
4e7efbddfe
Merge pull request #1367 from woocommerce/fix/PCP-1675-type_error_with_advanced_columns_pro
Type error with advanced columns pro
2023-06-27 11:39:00 +02:00
Emili Castells
b52b0f32df
Merge pull request #1362 from woocommerce/PCP-1610-free-items
Do not exclude free items
2023-06-27 11:38:12 +02:00
Emili Castells
70412a8f27
Merge pull request #1358 from woocommerce/pcp-1583-card-button-no-location
Do not show broken card button gateway when no checkout location
2023-06-27 11:37:18 +02:00
Emili Castells
ad30fea667
Merge pull request #1363 from woocommerce/PCP-1544-pay-order-currency
Use order currency instead of shop currency on order-pay page
2023-06-27 11:36:47 +02:00
Emili Castells
bb39a86466
Merge pull request #1360 from woocommerce/PCP-1543-acdc-validation
Improve ACDC error message when empty fields
2023-06-27 11:36:09 +02:00
Emili Castells
6bfbc39d6f
Merge pull request #1433 from woocommerce/fix/PCP-159_currency_unsupported_notice
Add notice when shop currency is unsupported
2023-06-27 11:35:30 +02:00
Pedro Silva
82828c2991
Add support for PayPal SmartButtons enable / disable
Rename functions
Remove invalid function arguments
2023-06-26 18:14:41 +01:00
Pedro Silva
adf7a2e297
Remove unnecessary code 2023-06-26 11:55:30 +01:00
Alex P
f4c3caedcf
Refresh dcc/pui status caches on plugin update
Since #1273 we started clearing these caches on plugin updates. But we are updating these caches only on some admin pages ( 583dea8d99/modules/ppcp-wc-gateway/src/WCGatewayModule.php (L421-L428) ) to avoid the API calls on every request in some cases, so DCC may become hidden if not visited these pages after update. Maybe we can do it more frequently now after 92ae16f99. But for now simply refreshing the caches during plugin update.
2023-06-26 09:12:20 +03:00
Pedro Silva
75bf98c174
Add hide / show conditions on SingleProduct Buttons for when they shouldn't be rendered.
Refactor MessageRenderer not to reload when it has no changes.
2023-06-23 15:49:08 +01:00
Pedro Silva
587e065fba
Refactored button display logic
Replaced show / hide buttons mode with enable / disable buttons mode
2023-06-23 08:23:11 +01:00
Alex P
e70299e42b
Display funding source on the admin order page
Now the payment method title on the admin order editing page includes the funding source instead of just "PayPal" the same as in the order list.
2023-06-20 10:30:15 +03:00
Alex P
a87748e44c
Fix phpdoc 2023-06-19 09:27:37 +03:00
carmenmaymo
9b697ddaa2
Add currency to message line 2023-06-19 08:12:32 +02:00
carmenmaymo
356fc38698
Use api currency service 2023-06-15 11:39:29 +02:00
carmenmaymo
013ffb5213
Check supported currencies in notice method 2023-06-14 12:36:55 +02:00
carmenmaymo
d3249b140a
Add unsupported currency admin notice 2023-06-14 12:15:20 +02:00
carmenmaymo
6276d7d528
Merge branch 'trunk' into fix/PCP-1713_update_wroding_preview_button 2023-06-11 11:52:42 +02:00
carmenmaymo
f31fbb8916
Remove default preview message 2023-06-11 11:52:15 +02:00
carmenmaymo
c512464fdf
Merge branch 'trunk' into fix/PCP-1675-type_error_with_advanced_columns_pro 2023-06-07 14:43:44 +02:00
carmenmaymo
cce7709330
Merge branch 'trunk' into fix/PCP-1713_update_wroding_preview_button 2023-06-07 14:33:35 +02:00
Alex P
c0368e9ada
Do not show broken card button gateway when no checkout location
Removes the card button gateway together with the PayPal gateway when disabled in checkout (since it gets broken anyway).
Also refactored the admin notice about disabled gateway to add a message about disabled location.
2023-06-06 15:41:05 +03:00
Alex P
04bc1ba37f
Fix js error 2023-06-06 15:33:13 +03:00
Alex P
729251495f
Handle empty acdc fields 2023-06-06 15:33:13 +03:00
Alex P
d2a5ecf3b8
Merge branch 'trunk' into PCP-1544-pay-order-currency 2023-06-06 15:31:46 +03:00
Alex P
3cd9e6829b
Do not exclude free items 2023-06-06 15:25:02 +03:00
Emili Castells Guasch
1a4f06a6d7 Add more scripts and update changelog 2023-06-06 12:24:05 +02:00
Emili Castells Guasch
0bfb1bec16 Merge branch 'trunk' into fix/PCP-1677-fraudnet_scripts_in_SGO_filter 2023-06-06 12:20:57 +02:00
carmenmaymo
16d0e9b6fb
Add MX and JP to ACDC PCP-1755 2023-06-02 12:56:55 +02:00
Emili Castells
e49fcab485
Merge pull request #1411 from woocommerce/PCP-1752-fix-ajax-security
Fix ajax vulnerabilities
2023-06-01 11:29:46 +02:00
Alex P
d548bb8788
Check admin permissions 2023-05-31 16:36:02 +03:00
Alex P
c684e461ee
Fix response 2023-05-31 16:19:25 +03:00
Alex P
bee2a8d5ba
Do not send whole order in create order response 2023-05-31 16:18:34 +03:00
Alex P
df81e5e411
Remove unused 2023-05-31 16:17:09 +03:00
Alex P
508fe0ee48
Do not sent order in approve response 2023-05-31 16:15:19 +03:00
Emili Castells Guasch
76ac995c82 Use WC_Payment_Token_CC instead of custom one for cards 2023-05-31 11:46:29 +02:00
Emili Castells Guasch
58a08b3be0 Get customer tokens for each gateway 2023-05-30 14:47:00 +02:00
carmenmaymo
ad5af16446
Update wording in buttons previews PCP-1713 2023-05-30 13:57:21 +02:00
Emili Castells Guasch
3b1ad30aef Do not log token id 2023-05-29 17:09:32 +02:00
Emili Castells Guasch
ee16175438 Fix psalm 2023-05-29 16:48:23 +02:00
Emili Castells Guasch
5fce71e26c Add action scheduler 2023-05-29 16:24:50 +02:00
Emili Castells Guasch
a460da6267 Add action for running the migration 2023-05-29 15:21:32 +02:00