Commit graph

21 commits

Author SHA1 Message Date
carmenmaymo
2387902a18
Change UK to GB 2025-01-31 10:46:16 +01:00
Narek Zakarian
c3ae6ad8a6
Fix the tests 2024-01-31 16:51:33 +04:00
Emili Castells Guasch
db9852b535 Fix phpunit 2023-10-24 12:02:24 +02:00
Narek Zakarian
9f8f680507
fix tests 2023-09-20 17:43:29 +04:00
Emili Castells
b07e1bb18a
Merge pull request #1649 from woocommerce/PCP-1912-include-Item-URL-Image-URL-optional-UPC-in-create-order-call
Include `url` & `image_url` in create order call (1912)
2023-09-07 09:48:18 +02:00
Narek Zakarian
f869f98ac1
Add url & image_url to Item 2023-08-31 17:40:06 +04:00
Pedro Silva
fcaf4d495e
Merge branch 'trunk' into PCP-1877-improve-line-item-mismatch-handling 2023-08-30 17:03:31 +01:00
Pedro Silva
bb3b8553b9
Refactor PurchaseUnitSanitizer to subtract 0.01 instead of rounding down
Refactor PurchaseUnitSanitizer to use singleton pattern
2023-08-09 11:48:49 +01:00
Pedro Silva
a43b93ffff
Add test cases for PurchaseUnitSanitizer 2023-08-07 18:09:25 +01:00
Pedro Silva
837bdb0392
Add PurchaseUnitSanitizer tests
Add subtotal mismatch admin options
2023-08-07 16:12:02 +01:00
Pedro Silva
4027f4a77e
* Fix tests 2023-08-04 14:18:27 +01:00
Alex P
2ca64739db Use str value when checking mismatch
Otherwise the check may fail depending on the rounding used when creating the Money objects
2022-07-07 12:36:14 +03:00
Alex P
82adf1933f Refactor money value formatting
Do not duplicate code and send string value for JPY
2022-07-07 12:34:21 +03:00
Alex P
0e82a5f6c9 Fix rounding when checking total mismatch 2022-06-15 09:58:57 +03:00
Alex P
361d2365fc Update tests 2022-02-09 16:28:27 +02:00
carmenmaymo
48a3f6d3f2 fix PayerTest all the others 2021-01-21 08:38:41 +01:00
carmenmaymo
bb07e45e24 fix PayerTest 2021-01-21 08:36:30 +01:00
David Remer
d6abaafadb enable refunds through gateway 2020-09-28 11:47:24 +03:00
David Remer
7445c91ed7 fix tests 2020-09-14 07:51:45 +03:00
David Remer
81637ebe6d fix tests 2020-09-01 09:47:36 +03:00
David Remer
f5bb4048cd add api client to main repository 2020-08-31 13:38:54 +03:00