Emili Castells
d3dfb22ecc
Merge pull request #3487 from woocommerce/PCP-4967-oxxo-payment-gateway-requires-order-complete-on-payment-approval-processing-instruction
...
OXXO payment gateway requires ORDER_COMPLETE_ON_PAYMENT_APPROVAL processing_instruction (4967)
2025-06-27 18:01:27 +02:00
carmenmaymo
4accd33e1f
Pass code style
2025-06-26 10:37:27 +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
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
carmenmaymo
c556db358a
Create subscription products /w props
2025-06-25 16:00:22 +02: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
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
Emili Castells
1241f9fb0e
Merge pull request #3464 from woocommerce/PCP-4809-store-shipping-contact-info-in-order-metadata
...
Store shipping contact info in order metadata (4809)
2025-06-23 11:05:16 +02:00
Emili Castells Guasch
8f6f5c0c35
Merge trunk
2025-06-23 10:56:29 +02:00
Emili Castells Guasch
1755e78533
Merge trunk
2025-06-23 10:38:47 +02:00
Philipp Stracker
f77eb263a8
🔀 Merge branch 'PCP-4808’
2025-06-20 17:30:01 +02:00
Philipp Stracker
cf1b289beb
🔀 Merge branch 'PCP-4803’
2025-06-20 17:28:57 +02:00
Philipp Stracker
7498c672bb
🔀 Merge branch 'PCP-4801’
2025-06-20 17:28:17 +02:00
Philipp Stracker
a3d148099a
✅ Update tests to expect the shipping-property
...
These tests do not confirm the contact module functionality, but ensure existing tests pass, without modifying their logic.
2025-06-20 16:10:00 +02:00
Alex P.
173943bf8c
Merge branch 'trunk' into PCP-4648-shipping-callback
2025-06-20 15:14:37 +03:00
Alex P.
60d4ea2208
Enable server-side callback via feature flag
2025-06-20 15:14:11 +03:00
carmenmaymo
d234f2f861
Make Mockery more lenient like PHPUnit mocks with shouldIgnoreMissing()
2025-06-20 12:14:21 +02:00
Alex P.
6691ee5a21
Use shipping callback
2025-06-20 10:43:52 +03:00
carmenmaymo
03743771d7
Use mockery and fix tests
2025-06-19 11:40:00 +02:00
Alex P.
a397d7d9fa
Add CallbackConfig
2025-06-19 09:23:41 +03:00
Philipp Stracker
fb079bc456
✅ Test the contact preference factory class
2025-06-13 17:11:17 +02:00
Philipp Stracker
eab748536b
✅ Test the context builder pattern
2025-06-13 17:10:53 +02:00
Philipp Stracker
a51da614b7
✅ Test new contact_preference property
2025-06-13 16:56:11 +02:00
Philipp Stracker
e59e835ddf
✅ Extend unit test with the new factory as well
2025-06-13 15:08:52 +02:00
carmenmaymo
eea6a0982c
Remove unused and skip tests
2025-06-02 14:50:27 +02:00
carmenmaymo
c8b6f30fea
Fix condition
2025-06-02 14:49:46 +02:00
carmenmaymo
11670f8035
Merge branch 'trunk' into PCP-4603-add-subscriptions-integration-tests
2025-06-02 13:02:02 +02:00
Emili Castells
12df58b31c
Merge pull request #3431 from woocommerce/PCP-4655-experience-context
...
Use experience_context
2025-06-02 11:46:43 +02:00
Alex P.
05690d1ef6
Add test
2025-06-02 10:50:21 +03:00
Alex P.
2a033d3f5f
Add tests
2025-06-02 10:04:23 +03:00
Alex P.
da45fb1baf
Remove ApplicationContext
2025-05-29 19:49:43 +03:00
Alex P.
ab5ddd9fab
Use ExperienceContext in renewals
2025-05-29 17:24:00 +03:00
Alex P.
a2d299ef2e
Use ExperienceContext in Oxxo
2025-05-29 16:48:56 +03:00
Alex P.
41b9585d2b
Use ExperienceContext in OrderProcessor
2025-05-29 16:40:35 +03:00
Alex P.
279a3452c8
Use ExperienceContext for PayPal buttons
2025-05-29 16:37:54 +03:00
Alex P.
7ea562c697
Simplify log call
2025-05-29 09:11:22 +03:00
Alex P.
25ad33c679
Remove unused class
2025-05-28 20:58:18 +03:00
carmenmaymo
34a56a8564
Merge branch 'trunk' into PCP-4603-add-subscriptions-integration-tests
2025-05-28 09:40:57 +02:00
carmenmaymo
5e53f9dace
Add vaulting subscriptions tests
2025-05-28 09:33:02 +02:00
Emili Castells Guasch
b3f5fb7473
Remove partner referrals tests for now
2025-05-27 16:20:50 +02:00
Emili Castells
b5c9a6f5f4
Merge pull request #3410 from woocommerce/PCP-4254-mexico-installments-new-ux-updates-bcdc-fix
...
Add Mexico-specific logic for BCDC (4254)
2025-05-26 16:19:01 +02:00
Emili Castells
dd80101116
Merge pull request #3408 from woocommerce/PCP-4679-v2-can-not-process-payment-if-subscriptions-is-not-selected-when-onboarding
...
Can not save payments if subscriptions is not selected when onboarding (4679)
2025-05-26 15:59:40 +02:00
Emili Castells Guasch
3a43cd4335
Fix phpunit tests
2025-05-26 12:03:11 +02:00
Daniel Dudzic
457f0fb542
🧪 Mock essential WooCommerce functions
2025-05-23 23:19:38 +02:00
Daniel Dudzic
e89103078c
🧪 Add wc_get_page_id() mock to prevent undefined function errors
2025-05-23 22:59:51 +02:00
Daniel Dudzic
0de1d21a76
🧪 Fix the DisabledFundingSourcesTest test
2025-05-23 19:11:20 +02:00