Commit graph

54 commits

Author SHA1 Message Date
Alex P
5cbd84a050 Add MoneyFactory 2022-02-14 10:46:55 +02:00
Alex P
52e08a0cf2 Fix tests 2022-01-25 17:21:50 +02:00
Alex P
23e68419f8 Remove unused 2022-01-25 15:49:43 +02:00
dinamiko
96d154a856 Refactoring 2022-01-05 14:12:37 +01:00
dinamiko
0ae7e6e9bc Extract customer id retrieval 2022-01-05 12:49:49 +01:00
dinamiko
ab59654a9b Fix phpunit errors 2022-01-04 14:59:35 +01:00
dinamiko
d33ca00ac7 Fix CI errors 2022-01-03 15:15:33 +01:00
Alex P
ffe32070d0 Extract shop currency, country to services 2021-11-30 10:40:38 +02:00
Emili Castells
2638486331
Merge pull request #373 from woocommerce/pcp-333-fix-tax-mismatch
Use subtotal_tax instead of adding taxes ourselves
2021-11-23 12:33:46 +01:00
Alex P
6e6b4c4b40 Merge branch 'trunk' into pcp-401-custom-order-id 2021-11-23 12:51:26 +02:00
Emili Castells
3e21c4d7d7
Merge pull request #359 from woocommerce/PCP-419-do-not-display-saved-payments-on
Do not pass `customer_id` if vaulting is disabled
2021-11-23 11:06:26 +01:00
Alex P
a6a25232e3 Use subtotal_tax instead of adding taxes ourselves 2021-11-19 10:29:44 +02:00
dinamiko
c072e8550a Add retry counter meta to order to avoid duplicate invoice error on consequent tries 2021-11-18 14:45:34 +01:00
Alex P
6d905d01c8 Remove prefix from custom id 2021-11-16 17:28:11 +02:00
Alex P
3b98d8300b Use order ID instead of "number" for PayPal custom field
Otherwise we cannot find the order in webhook handlers
if order number is not order ID
2021-11-16 12:06:38 +02:00
dinamiko
7e575eef5d Fix phpunit tests 2021-11-12 17:10:00 +01:00
dinamiko
e3a793e3e5 Fix merge conflicts 2021-10-20 15:01:53 +02:00
dinamiko
b5748b2911 Fix unit tests 2021-10-15 16:28:18 +02:00
dinamiko
a42ae3567f Merge trunk 2021-10-13 16:13:42 +02:00
Alex P
f4d82e0de8 Fix namespace name, remove classmap 2021-10-08 10:23:19 +03:00
dinamiko
e36d77fad2 Merge trunk (WIP) 2021-10-07 17:36:29 +02:00
Alex P
03e9ac9aad Fix capture endpoint returned object 2021-10-07 10:15:29 +03:00
Alex P
1a7eae93c2 Refactor capture status, make like authorization status 2021-10-06 22:12:06 +03:00
dinamiko
a21aa9111a Merge branch 'trunk' into PCP-327-prevent-subscription-from-being- 2021-10-06 12:35:08 +02:00
dinamiko
a592b57848 Force authorization intent when purchasing subscription product 2021-10-05 12:12:19 +02:00
Alex P
06e437e0c3 Refactor logging, add missing logging 2021-10-04 19:16:50 +03:00
dinamiko
17de4ac1de Fix merge conflict 2021-09-16 12:34:05 +02:00
dinamiko
804ff8e526 Fix unit tests 2021-09-15 11:28:32 +02:00
dinamiko
12b9905c60 Fix unit tests (WIP) 2021-09-14 17:46:33 +02:00
dinamiko
05dcf5c4f4 Refactoring 2021-09-10 12:16:33 +02:00
Emili Castells
955dc798e5
Merge pull request #224 from woocommerce/PCP-225-cant-checkout-to-certain-countri
Can't checkout to certain countries with optional postcode
2021-08-20 09:54:23 +02:00
Alex P
72154085f4 No DateTimeInterface::ISO8601 in PHP 7.1 2021-08-18 17:15:15 +03:00
emilicastells
beecf5ad5b
Remove check postal code null unit test 2021-08-16 17:27:00 +02:00
emilicastells
beafb7b56b
Fix unit tests 2021-08-13 17:09:27 +02:00
emilicastells
69b46c33d4
Merge branch 'trunk' into PCP-195-plugin-conflict-blocking-line-it 2021-08-13 16:50:35 +02:00
emilicastells
3fde81bb80
Fix unit tests 2021-08-13 14:39:27 +02:00
dinamiko
efcbf5dd7d Fix unit tests 2021-08-10 17:39:54 +02:00
dinamiko
22e60d1448 Fix unit tests 2021-07-27 14:19:23 +02:00
dinamiko
03d2eed36b Fix phpunit tests 2021-07-12 17:31:07 +02:00
dinamiko
35c959718e Fix phpunit tests 2021-06-04 11:57:25 +02:00
dinamiko
33022f3c47 Remove smart button locale, validate bcp47, add en as default fallback 2021-05-13 16:41:38 +02:00
dinamiko
845a83acb4 Filter PayPal-supported language codes 2021-05-03 16:25:37 +02:00
Kirill Braslavsky
9a29bf07ca fix tests 2021-04-01 13:48:10 +03:00
dinamiko
e7f592efe3 Add test coverage for identity token 2021-03-03 15:08:27 +01:00
dinamiko
7842939ede Add test coverage for payment tokens 2021-03-03 11:50:27 +01:00
carmenmaymo
0761f89269 fix ItemFactoryTests 2021-01-21 08:49:44 +01: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
carmenmaymo
cec2fa0459 fix OrderEndpointTest 2021-01-21 08:31:37 +01:00
David Remer
d6abaafadb enable refunds through gateway 2020-09-28 11:47:24 +03:00