Commit graph

1111 commits

Author SHA1 Message Date
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
df81e5e411
Remove unused 2023-05-31 16:17:09 +03: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
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
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
Alex P
45986d3961
Fix phpcs 2023-04-27 09:07:54 +03:00
Alex P
47d6933288
Replace no final review alert with description 2023-04-25 16:16:37 +03:00
Emili Castells Guasch
47c4f4532a Update vault info in advanced credit card settings tab 2023-04-25 11:40:46 +02:00
Emili Castells Guasch
05db7d28de Display subscription capture vault fails only in PayPal settings tab 2023-04-24 14:47:34 +02:00
Emili Castells Guasch
5913ab8540 Merge branch 'PCP-591-save-and-display-vaulted-payment-methods-in-woo-commerce-native-endpoint' into PCP-991-detach-vaulting-from-wc-subscriptions-support 2023-04-24 10:47:52 +02:00
Alex P
37959ad2d8
Handle final review option 2023-04-24 08:12:48 +03:00
Alex P
98f6d0de45
Save funding source for block orders 2023-04-21 16:39:59 +03:00
Emili Castells Guasch
5834c42e11 Prevents disconnect store when already onboarded via URL params 2023-04-20 14:52:38 +02:00
Emili Castells Guasch
1039ab6e72 Revert as we are caching signup links, nonce could fail 2023-04-20 14:32:30 +02:00
Emili Castells Guasch
8b564d6fc3 Merge trunk 2023-04-20 14:18:30 +02:00
Emili Castells Guasch
678ec31bc2 Fix psalm 2023-04-19 12:59:59 +02:00
Emili Castells Guasch
c6bda29426 Add nonce to onboarding return url 2023-04-19 12:45:37 +02:00
Emili Castells Guasch
5f46c8441e Move subscriptions mode to PayPal settings tab 2023-04-19 11:00:08 +02:00
Alex P
f435796cbe
Add final review checkbox 2023-04-18 23:34:29 +03:00
Emili Castells Guasch
b481aaf6d2 Move subscriptions mode to PayPal settings tab 2023-04-18 12:19:52 +02:00
Alex P
6049f8b396
Merge branch 'trunk' into pcp-157-blocks 2023-04-17 17:12:44 +03:00
Emili Castells Guasch
29a21d214f Merge trunk 2023-04-17 14:16:53 +02:00
Emili Castells Guasch
a892214ca7 Merge branch 'trunk' into PCP-1599-boolean-false-type-sent-as-empty-value-when-setting-cache 2023-04-17 13:50:21 +02:00
dependabot[bot]
b0be8d98dd
Bump json5 from 2.2.0 to 2.2.3 in /modules/ppcp-wc-gateway
Bumps [json5](https://github.com/json5/json5) from 2.2.0 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v2.2.0...v2.2.3)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-17 10:57:18 +00:00
dependabot[bot]
935b177edd
Bump webpack from 5.74.0 to 5.76.0 in /modules/ppcp-wc-gateway
Bumps [webpack](https://github.com/webpack/webpack) from 5.74.0 to 5.76.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.74.0...v5.76.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-17 10:41:11 +00:00
dependabot[bot]
63b77d8442
Bump loader-utils from 2.0.0 to 2.0.4 in /modules/ppcp-wc-gateway
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 2.0.0 to 2.0.4.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v2.0.4/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v2.0.0...v2.0.4)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-17 10:32:46 +00:00
Emili Castells Guasch
97561d3f34 Use string instead of boolean when caching to avoid issues in some environments 2023-04-17 12:09:44 +02:00
Alex P
bfaf05a96e
Add locations for block, do not load non-block scripts on block pages 2023-03-29 20:15:42 +03:00
Emili Castells Guasch
1ed8f23efd Fix merge conflicts 2023-03-29 13:03:20 +02:00
Emili Castells Guasch
17211a8de9 Merge branch 'trunk' into PCP-591-save-and-display-vaulted-payment-methods-in-woo-commerce-native-endpoint 2023-03-29 12:57:58 +02:00
Emili Castells Guasch
b0e269e95e Fix pay for order conditional 2023-03-23 16:29:26 +01:00
Alex P
2a0fa49800
Merge branch 'trunk' into pcp-157-blocks 2023-03-22 23:23:06 +02:00
Emili Castells Guasch
b0de49125e Merge branch 'trunk' into PCP-506-api 2023-03-22 12:28:32 +01:00
Emili Castells Guasch
808020357e Fix psalm 2023-03-21 12:35:51 +01:00