Commit graph

3958 commits

Author SHA1 Message Date
Emili Castells
6bc7f56e9a
Merge pull request #1410 from woocommerce/consolidate-payment-tokens
Use `WC_Payment_Token_CC` instead of custom one for cards
2023-05-31 14:39:16 +02:00
Emili Castells Guasch
76ac995c82 Use WC_Payment_Token_CC instead of custom one for cards 2023-05-31 11:46:29 +02:00
carmenmaymo
f812d043af
Add soft descriptor to PurchaseUnitFactory PCP-1709 2023-05-30 15:11:13 +02:00
Emili Castells
43594105a2
Merge pull request #1409 from woocommerce/fix-get-customer-tokens
Get customer tokens for each gateway
2023-05-30 14:56:21 +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
71f669070d
Merge pull request #1406 from woocommerce/improve-pw
Fix/refactor playwright tests
2023-05-30 10:54:51 +02:00
Alex P
3249f3936b
Handle random popup issues in pw 2023-05-30 11:46:25 +03:00
Emili Castells
7a270d7b34
Merge pull request #1407 from woocommerce/payment-tokens-migration-check
Payment tokens migration improvements
2023-05-29 17:16:46 +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
Alex P
06e4ce4d45
Fix pw order completion check 2023-05-29 17:14:27 +03:00
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