Alex P
2fabf125c1
Fix locator
...
"Continue" can be "Continue as guest"
2023-05-29 17:04:50 +03:00
Alex P
d12eea6a6e
Handle popup in the same window in pw
2023-05-29 17:02:05 +03:00
Emili Castells Guasch
a460da6267
Add action for running the migration
2023-05-29 15:21:32 +02:00
Emili Castells Guasch
d0d50c5696
Add logging to payment tokens migration
2023-05-29 13:02:59 +02:00
Alex P
b556841562
Use urls from env values in pw
2023-05-29 10:46:35 +03:00
Alex P
4b3c16ebaf
Remove unused
2023-05-29 10:45:43 +03:00
Alex P
87ac3f1650
Extract pw common functions
2023-05-29 09:47:42 +03:00
Alex P
9b15b70e63
Fix pw example values
...
invalid country
2023-05-29 09:46:06 +03:00
Emili Castells
360abad4f3
Merge pull request #1404 from woocommerce/PCP-1697-fatal-error-when-api-credentials-invalid-with-2-0-5-rc-1
...
Fatal error when API credentials invalid (1697)
2023-05-25 09:16:15 +02:00
Emili Castells Guasch
fa049527b6
Catch correct exception
2023-05-24 15:17:03 +02:00
Emili Castells
bb6e177ef3
Merge pull request #1403 from woocommerce/PCP-1723-fix-type
...
Fix type
2023-05-24 09:18:45 +02:00
Alex P
f1c91d5508
Fix type
...
Sometimes this service returns DisabledSmartButton
2023-05-24 09:36:36 +03:00
Emili Castells
28e831de0f
Merge pull request #1397 from woocommerce/PCP-1674-handle-block-errors
...
Handle payment errors in blocks
2023-05-23 11:56:53 +02:00
Emili Castells
34e29d4742
Merge pull request #1398 from woocommerce/previous-transaction-reference-only-for-acdc
...
Do not add `previous_transaction_reference` for PayPal payment method
2023-05-23 10:37:01 +02:00
Emili Castells Guasch
83ae24eae8
Do not add previous_transaction_reference
for PayPal payment method
2023-05-22 11:45:46 +02:00
Alex P
780aaed1c6
Fix session_handler usage
2023-05-22 12:19:25 +03:00
Alex P
5f448e8932
Fix test
2023-05-22 12:08:20 +03:00
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
Alex P
0322aac244
Trigger WC checkout_error event
...
Triggering WC checkout_error event for our validation, similarly to the WC submit ajax handler.
2023-05-17 17:21:24 +03: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