Narek Zakarian
99f34d6868
Always enable new settings module for migration support
...
Enable the new settings module unconditionally to support migration functionality.
The new settings module must be enabled during migration because the migration
process requires access to the new data modules to save settings properly.
Implementation details:
- The `run` method checks `should_use_the_old_ui` and conditionally adds actions
- In `services.php`, we check `should_use_the_old_ui` to disable services when
the old UI is active
2025-06-26 18:17:51 +04:00
Daniel Dudzic
99cd8e4aeb
🧹 Remove reliance on the session in favor of passing the token directly
2025-06-26 16:14:22 +02:00
Narek Zakarian
27b3a315b9
Fix the local apms migration.
...
If the "Create gateway for alternative payment methods" checkbox is checked, then we don't need any migration as the enabled/disabled will be automatically recognized
2025-06-26 18:04:06 +04:00
Narek Zakarian
d812264529
Merge branch 'trunk' into PCP-4854-phase-1-opt-in-via-banner
2025-06-26 17:54:29 +04:00
Emili Castells Guasch
14237f684f
Set empty string if setting is null
2025-06-26 14:17:57 +02:00
Daniel Dudzic
ba7b01dfd6
🎨 Fix Psalm errors
2025-06-26 13:21:49 +02:00
Daniel Dudzic
2b025aa690
🧹 Remove the unnecessary payer-link meta saving
2025-06-26 13:03:15 +02:00
Daniel Dudzic
afe1cd99ed
🎨 Add PHPCS fixes
2025-06-26 12:31:05 +02:00
Emili Castells
98f5f82454
Merge pull request #3486 from woocommerce/PCP-4606-add-transaction-with-multiple-products-and-discounts-integration-tests
...
Pcp 4606 add transaction with multiple products integration tests
2025-06-26 12:14:18 +02:00
Daniel Dudzic
f463f90ff0
♻️ Refactor the OrderFactory to remove duplicate code and make the code more modular
2025-06-26 12:12:20 +02:00
carmenmaymo
4accd33e1f
Pass code style
2025-06-26 10:37:27 +02:00
Emili Castells Guasch
9fed109724
Add countries to country card matrix
2025-06-26 10:01:33 +02:00
carmenmaymo
2280cf9081
Fix vaulting integration credit card test
2025-06-26 09:38:27 +02:00
carmenmaymo
846a77d144
Throw if the product cannot be found
2025-06-26 09:10:37 +02:00
carmenmaymo
e2c6dc350d
Create simple product if subs plugin is not there
2025-06-26 09:05:32 +02:00
Daniel Dudzic
275cdd3981
🐛 Fix three_d_secure check logic and prevent the undefined array key warning
2025-06-25 18:06:37 +02:00
Emili Castells Guasch
dae8b3ce1e
Use gateway ID from class
2025-06-25 17:55:34 +02:00
Emili Castells Guasch
9dc92f836d
Fix phpunit
2025-06-25 17:51:24 +02:00
Emili Castells Guasch
949af3ca15
Add processing instruction and locale, remove application context from confirm payment source
2025-06-25 17:29:04 +02:00
Narek Zakarian
ee9bb113bc
Fix the 'threeDSecure' migration
2025-06-25 18:31:36 +04:00
carmenmaymo
c556db358a
Create subscription products /w props
2025-06-25 16:00:22 +02:00
Narek Zakarian
21b0d8d9ae
Introduce the interface for settings migration
2025-06-25 16:55:45 +04:00
Narek Zakarian
7334b5bfbb
Set the gateways synced to true
after onboarding through migration.
...
This will prevent override of enabled gateways after migration
2025-06-25 16:43:59 +04:00
Narek Zakarian
5ff91fb171
Adjust the switch UI JS.
...
- Now the same behavior will also work when the link is clicked from the info notice
- Added the confirmation alert
2025-06-25 16:37:22 +04:00
Narek Zakarian
53f533fa25
Add the new settings discovery notice
2025-06-25 16:35:50 +04:00
carmenmaymo
e8a0950bfa
Update vaulting subscription tests
2025-06-25 14:11:09 +02:00
carmenmaymo
f7f0f0f11f
Add credit card test /w multiple products
2025-06-25 14:10:30 +02:00
Emili Castells
b154187c9f
Merge pull request #3485 from woocommerce/release/3.0.7-rc1
...
3.0.7-rc1 release
2025-06-25 12:49:49 +02:00
Daniel Dudzic
25f2bf93e2
Merge branch 'trunk' of github.com:woocommerce/woocommerce-paypal-payments into PCP-4487-fastlane-uk-3ds-redirect
2025-06-25 12:43:59 +02:00
Daniel Dudzic
7c3e65cbe7
Merge branch 'trunk' of github.com:woocommerce/woocommerce-paypal-payments into PCP-4487-fastlane-uk-3ds-redirect
2025-06-25 12:42:43 +02:00
Emili Castells Guasch
f1afd3a76a
3.0.7-rc1 release
2025-06-25 12:19:14 +02:00
Emili Castells
ec32266e1f
Merge pull request #3484 from woocommerce/PCP-4960-enable-contact-module-feature-flag
...
Enable Contact Module feature flag (4960)
2025-06-25 12:07:07 +02:00
Emili Castells Guasch
2265ebab7c
Set contact module enabled by default
2025-06-25 12:03:24 +02:00
Narek Zakarian
509bd9ec20
Fix the psalm
2025-06-24 18:18:33 +04:00
Narek Zakarian
498f943607
Fix the CS
2025-06-24 18:08:28 +04:00
Adrian Moldovan
82b1f929c3
Merge pull request #3479 from woocommerce/dev/pin-actions-to-full-commit-sha
2025-06-24 16:49:34 +03:00
Narek Zakarian
5a55b5060b
Merge branch 'trunk' into PCP-4854-phase-1-opt-in-via-banner
2025-06-24 17:43:39 +04:00
Narek Zakarian
d42488ed8e
disable the sync after onboarding
2025-06-24 17:22:34 +04:00
Adrian Moldovan
7b61115e39
Update .github/workflows/php.yml
...
Co-authored-by: Diego Curbelo <diego@curbelo.com>
2025-06-24 15:51:31 +03:00
Adrian Moldovan
3e37395073
Update .github/workflows/integration.yml
...
Co-authored-by: Diego Curbelo <diego@curbelo.com>
2025-06-24 15:51:15 +03:00
Narek Zakarian
00c854c5a1
Update the settings module.
2025-06-24 13:41:38 +04:00
Narek Zakarian
b763b6da3b
Conditionally add services
2025-06-24 13:41:07 +04:00
Narek Zakarian
5b6dd660fe
Always enable the settings module for now
2025-06-24 13:40:44 +04:00
Narek Zakarian
5edc73727d
Create styling settings migration
2025-06-24 13:38:52 +04:00
Narek Zakarian
aff59a065e
Create settings tab migration
2025-06-24 13:38:39 +04:00
Narek Zakarian
0ca62ee781
Create payment settings migration
2025-06-24 13:38:29 +04:00
Narek Zakarian
d643684709
Create general settings migration
2025-06-24 13:38:03 +04:00
Narek Zakarian
6af9e99fa3
Create migration manager
2025-06-24 13:37:40 +04:00
Narek Zakarian
c9aa43d7f0
Add migration logic when switching UI
2025-06-24 13:37:12 +04:00
carmenmaymo
0284e38e0c
Add test factories and traits for integration tests
...
- Add ProductFactory, OrderFactory, and CouponFactory
- Add CreateTestOrders and CreateTestProducts traits for reusable test setup
- Add ProductPresets and DiscountPresets fixtures
- Implement existence checks to prevent duplicate product/coupon creation
2025-06-23 15:03:31 +02:00