Alex P
6aa75e62d4
Refactor session handling
2023-05-22 10:42:33 +03:00
Alex P
2df970a74a
Handle payment errors in blocks
2023-05-22 10:38:31 +03:00
Emili Castells
fe08c2d4f4
Merge pull request #1388 from woocommerce/PCP-1701-subscriptions-api-buttons-not-loading-when-vaulting-is-disabled
...
Subscriptions API buttons not loading when Vaulting is disabled (1701)
2023-05-19 09:31:19 +02:00
Emili Castells
8a1bfddbc4
Merge pull request #1390 from woocommerce/define-sub-flag-later
...
Define subscriptions feature flag later
2023-05-19 09:09:15 +02:00
Alex P
4453b66de2
Define subscriptions feature flag later
...
Moved the feature flag into `plugins_loaded` so that other plugins can reliably set it.
2023-05-19 08:07:29 +03:00
Emili Castells Guasch
e173f39e3c
Add vault true when subscription in cart
2023-05-18 16:46:25 +02:00
Emili Castells
e2d1f40de0
Merge pull request #1386 from woocommerce/fix-get-cart-contents-null
...
Fatal error `get_cart_contents() on null` on 2.0.5-rc1
2023-05-18 10:55:37 +02:00
Emili Castells Guasch
c64d174817
Fix get_cart_contents
null error
2023-05-18 10:42:18 +02:00
Emili Castells
74f01c341a
Merge pull request #1383 from woocommerce/release/2.0.5
...
Release 2.0.5
2023-05-17 15:10:19 +02:00
Emili Castells Guasch
7372f1b3a6
Bump 2.0.5 version
2023-05-17 14:59:07 +02:00
Emili Castells
fdaea78ac0
Merge pull request #1381 from woocommerce/dependabot/npm_and_yarn/modules/ppcp-blocks/json5-2.2.3
...
Bump json5 from 2.2.1 to 2.2.3 in /modules/ppcp-blocks
2023-05-17 14:40:24 +02:00
dependabot[bot]
0488670bf2
Bump json5 from 2.2.1 to 2.2.3 in /modules/ppcp-blocks
...
Bumps [json5](https://github.com/json5/json5 ) from 2.2.1 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.1...v2.2.3 )
---
updated-dependencies:
- dependency-name: json5
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-05-17 11:04:20 +00:00
Emili Castells
553745cc7c
Merge pull request #1380 from woocommerce/dependabot/npm_and_yarn/modules/ppcp-blocks/webpack-5.76.0
...
Bump webpack from 5.75.0 to 5.76.0 in /modules/ppcp-blocks
2023-05-17 13:03:08 +02:00
dependabot[bot]
6db83fdd5a
Bump webpack from 5.75.0 to 5.76.0 in /modules/ppcp-blocks
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.75.0 to 5.76.0.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.75.0...v5.76.0 )
---
updated-dependencies:
- dependency-name: webpack
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-05-17 10:55:41 +00:00
Emili Castells
2dd976132b
Merge pull request #1217 from woocommerce/PCP-991-detach-vaulting-from-wc-subscriptions-support
...
Detach Vaulting from WC Subscriptions, integrate PayPal Subscriptions API (991)
2023-05-17 12:22:39 +02:00
Emili Castells Guasch
12c8edf7bc
Remove unused services
2023-05-17 11:29:29 +02:00
Emili Castells Guasch
077c23d7f1
Fix phpcs
2023-05-16 15:15:35 +02:00
Emili Castells Guasch
47400e25af
Use env var as default value for subscriptions flag
2023-05-16 15:09:02 +02:00
Emili Castells Guasch
c1f97dd625
Fix constructor parameters order
2023-05-16 15:02:27 +02:00
Emili Castells Guasch
3c0e807758
Fix merge conflicts
2023-05-16 12:44:14 +02:00
Emili Castells Guasch
353ba42cbc
Fix psalm
2023-05-16 11:49:08 +02:00
Emili Castells Guasch
6f2a47dddb
Fix phpcs
2023-05-16 11:39:38 +02:00
Emili Castells Guasch
b8cdb68317
Merge branch 'subscriptions-api-flag' into PCP-991-detach-vaulting-from-wc-subscriptions-support
2023-05-16 11:27:49 +02:00
Emili Castells Guasch
b35295b43e
Fix phpcs
2023-05-16 11:26:57 +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
f40ca96b87
Merge branch 'trunk' into PCP-991-detach-vaulting-from-wc-subscriptions-support
2023-05-16 09:56:32 +02:00
Emili Castells
e413517743
Merge pull request #1379 from woocommerce/PCP-1699-cache-webhook-verification
...
Cache webhook verification results
2023-05-16 09:56:08 +02:00
Alex P
a028eafeef
Cache webhook verification results
...
Looks like `permission_callback` can be called multiple times in some cases/newer WP, resulting in difficult to read logs and other issues, such as slower request handling or possible lack of idempotence (first returned true, but then request failed and returned false).
So now caching it in a variable.
2023-05-16 10:15:42 +03:00
Emili Castells Guasch
e5fb9b0b9d
Add subscriptions api feature flag (WIP)
2023-05-15 16:18:11 +02:00
Emili Castells Guasch
435a081cb8
Fix typo in constant
2023-05-15 15:44:32 +02:00
Emili Castells Guasch
9c1750c174
Add subscriptions api feature flag (WIP)
2023-05-15 15:38:40 +02:00
Emili Castells
47ca09301d
Merge pull request #1374 from woocommerce/PCP-1448-filter-to-disable-ppec-subscription-migration-executes-after-sql-is-run
...
Cache ppec subscriptions check response
2023-05-15 14:27:00 +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
Emili Castells Guasch
86b7e5a1b8
Fix phpunit
2023-05-15 11:56:39 +02:00
Emili Castells Guasch
96f6ad715a
Cache ppec subscriptions check response
2023-05-15 11:53:25 +02:00
Emili Castells
7e481e6d1e
Merge pull request #1223 from woocommerce/PCP-1480-order-left-on-hold-after-payment-trough-pui-if-merchant-connected-account-trough-manual-credential-input
...
Webhooks not registered when onboarding with manual credentials
2023-05-15 10:45:35 +02:00
Emili Castells Guasch
3362146fcc
Fix subscription parent order refund
2023-05-12 16:28:15 +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
Alex P
84459c4461
Do not send shipping options when not using paypal shipping
2023-05-11 14:52:17 +03:00
Emili Castells Guasch
163b7d9f7a
Handle subscription refund from PayPal (WIP)
2023-05-10 16:59:03 +02:00
Emili Castells Guasch
bd708239d7
Add transaction id to subscription parent order
2023-05-10 12:46:41 +02:00
Alex P
b7ef769aa7
Use cart/checkout styles for blocks
2023-05-10 11:26:45 +03:00
Emili Castells Guasch
69da3f78ed
Override hosted fields configurtation when PayPal subscriptions is enabled
2023-05-09 11:42:31 +02:00
Emili Castells Guasch
69542e37f3
Add subscriptions mode tooltip description
2023-05-08 14:32:55 +02:00
Alex P
703bedf810
Update final review checkbox
2023-05-08 15:04:25 +03:00
Emili Castells Guasch
b477ec4ba4
Fix update plan price on webhook handler
2023-05-04 15:40:45 +02:00
Emili Castells Guasch
84602ab9fa
Add test for new free trial subscription
2023-05-04 11:20:48 +02:00
Emili Castells Guasch
b66db26a18
Add free trial support
2023-05-03 16:43:37 +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