Commit graph

1140 commits

Author SHA1 Message Date
Emili Castells
1d75e73b56
Merge pull request #1435 from woocommerce/PCP-860-apm
Improve handling of APMs when popup is not used or not redirected back to WC
2023-07-04 16:22:39 +02:00
Alex P
298a72b6c5
Improve error message 2023-07-04 15:32:41 +03:00
Alex P
d20d4dd353
Check order id before requesting order 2023-07-04 15:31:19 +03:00
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
Alex P
3ef53cce69
Merge branch 'trunk' into PCP-860-apm 2023-06-27 16:49:53 +03:00
Alex P
0d34fead07
Revert accidentally committed line 2023-06-27 16:28:44 +03:00
Alex P
2b566fcf44
Merge branch 'trunk' into PCP-860-apm 2023-06-27 15:54:06 +03: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
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
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
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
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
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
Alex P
c97df85c57
Fix code duplication 2023-06-15 10:01:05 +03: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
Alex P
e29ef9c7d6
Use continuation mode when APM does not redirect back 2023-06-14 08:59:30 +03:00
carmenmaymo
f31fbb8916
Remove default preview message 2023-06-11 11:52:15 +02:00
Alex P
8979c9e605
Stop searching for prefix in custom IDs
we are not creating such IDs for 2 years already
2023-06-08 16:00:21 +03:00
Alex P
eb4418931a
Improve return url handling when no WC order 2023-06-07 20:12:28 +03:00
Alex P
e3bd42b93b
Add return-url error logging 2023-06-07 16:27:31 +03: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
df81e5e411
Remove unused 2023-05-31 16:17:09 +03:00
carmenmaymo
ad5af16446
Update wording in buttons previews PCP-1713 2023-05-30 13:57:21 +02:00
Alex P
780aaed1c6
Fix session_handler usage 2023-05-22 12:19:25 +03:00
Alex P
2df970a74a
Handle payment errors in blocks 2023-05-22 10:38:31 +03:00
Emili Castells Guasch
3c0e807758 Fix merge conflicts 2023-05-16 12:44:14 +02:00
Emili Castells
918f09f47d
Merge pull request #1346 from woocommerce/pcp-157-blocks
Add express cart/checkout block
2023-05-16 11:14:53 +02:00
Emili Castells Guasch
9c1750c174 Add subscriptions api feature flag (WIP) 2023-05-15 15:38:40 +02:00
Emili Castells Guasch
b126d77dfb Merge branch 'trunk' into PCP-991-detach-vaulting-from-wc-subscriptions-support 2023-05-15 12:16:20 +02:00
Fitim Vata
ca2b76f18f [Fix] Fix undefined array key 0 when checking $retry_errors in process_payment method. 2023-05-15 12:14:05 +02:00
Alex P
8dc0079a41
Merge branch 'trunk' into PCP-1480-order-left-on-hold-after-payment-trough-pui-if-merchant-connected-account-trough-manual-credential-input 2023-05-12 15:03:31 +03:00
carmenmaymo
6ddc364eb2
Cast $column to string before sending PCP-1675 2023-05-11 15:14:33 +02:00
Emili Castells Guasch
69542e37f3 Add subscriptions mode tooltip description 2023-05-08 14:32:55 +02:00
Emili Castells Guasch
71cf5516d7 Add WC subscriptions support when subscription mode is subscriptions api 2023-05-03 14:53:23 +02:00
Emili Castells Guasch
b2c2a084e9 Fix phpcs 2023-05-02 14:36:24 +02:00
Emili Castells Guasch
48db0851ce Fix phpcs (WIP) 2023-05-02 14:28:36 +02:00
Emili Castells Guasch
eca8a3b09c Fix psalm 2023-05-02 12:35:46 +02:00
Alex P
071dbe145e
Add WP-CLI command for updating settings 2023-05-02 12:40:35 +03:00
Emili Castells Guasch
d9fa6e2c5d Add subscriptions support for PayPal and ACDC gateways 2023-04-27 17:07:30 +02:00
Emili Castells Guasch
d3d74a67b6 Merge branch 'trunk' into PCP-991-detach-vaulting-from-wc-subscriptions-support 2023-04-27 12:16:27 +02:00
Alex P
b478d9adaa
Merge branch 'trunk' into pcp-157-blocks 2023-04-27 12:29:28 +03:00
Emili Castells
a7abff6bca
Merge pull request #1339 from woocommerce/PCP-1600-v2-possible-cross-site-request-forgery-csrf-can-invalidate-merchant-credentials
Cross Site Request Forgery (CSRF) can invalidate merchant credentials (1600)
2023-04-27 11:25:46 +02:00
Emili Castells Guasch
115dd7931b Revert phpcs comments 2023-04-27 10:54:18 +02:00