Commit graph

656 commits

Author SHA1 Message Date
Emili Castells Guasch
0ed05ac1ea
Fix phpunit 2025-08-06 14:03:37 +02:00
Emili Castells
d7b133a752
Merge pull request #3511 from woocommerce/PCP-4606-add-transaction-with-multiple-products-and-discounts-integration-tests
Add OXXO and vaulting transaction tests
2025-07-23 14:02:15 +02:00
Emili Castells Guasch
e11f3c2a9a
Merge trunk 2025-07-14 12:22:49 +02:00
carmenmaymo
4426fc6e13
Add vaulting transaction test 2025-07-09 10:55:13 +02:00
carmenmaymo
a9166d0b0c
Add OXXO transaction success and failing tests 2025-07-07 15:36:15 +02:00
Emili Castells
d21727eef9
Merge pull request #3495 from woocommerce/PCP-4482-replace-call-to-billing-agreements-agreement-tokens-with-checking-the-capabilities
Create a helper to check for Reference Transaction status using the Seller Status API (4482)
2025-07-07 08:59:08 +02:00
Emili Castells
5fadc377d4
Merge pull request #3493 from woocommerce/PCP-4487-fastlane-uk-3ds-redirect
Add Fastlane 3D Secure support and enable for the UK (4487)
2025-07-07 08:57:57 +02:00
Emili Castells
a6324b4999
Merge pull request #3491 from woocommerce/PCP-4854-phase-1-opt-in-via-banner
UX Legacy Migration: phase 1 opt in via banner (4854)
2025-07-07 08:56:59 +02:00
Himad M
8021974416
Enable AppSwitch on ppcp-button module 2025-07-03 22:49:30 -04:00
Daniel Dudzic
c54f82ea94
🧪 Update OrderFactoryTest to support consolidated factory method 2025-07-03 10:16:58 +02:00
Narek Zakarian
801017787b
Fix the tests 2025-07-02 21:34:25 +04:00
Daniel Dudzic
fb0499ec7c
🧪 Remove failing no_status test case from OrderFactoryTest 2025-07-01 12:49:14 +02:00
Narek Zakarian
b86f62e852
Refactor the service name, variable names to use the new class 2025-06-30 16:45:36 +04:00
Narek Zakarian
0a0d7e9c49
Refactor/rename the reference transaction enabled checking class. 2025-06-30 16:08:36 +04:00
Narek Zakarian
40a95202ec
Move the reference transaction enabled check into helpers.
With the 1st step we will move the class into helpers. The next step would be to refactor/rename it.
2025-06-30 16:05:40 +04:00
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
Narek Zakarian
3ab7fe0af3
Fix the tests 2025-06-27 12:56:12 +04: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