Commit graph

69 commits

Author SHA1 Message Date
Emili Castells
cff92d54ec
Merge pull request #642 from woocommerce/pcp-357-negative-fees
Do not send negative price items, add to discount
2022-05-17 13:54:22 +02:00
Alex P
88220aa3c6 Do not send negative price items, add to discount 2022-05-16 15:15:42 +03:00
Alex P
a8c1f386aa Fix item description with emoji 2022-05-13 17:12:56 +03:00
Alex P
4a4f131325 Handle card smart button for free trial (1$ auth + void)
Disabling this funding source also disables DCC
2022-04-25 15:24:37 +03:00
Alex P
4cecb908e6 Add tests 2022-04-13 10:40:28 +03:00
Alex P
368d50ce7b Add test 2022-04-12 16:43:42 +03:00
Alex P
1b5052a858 Merge branch 'trunk' into pcp-475-free-trial 2022-04-12 15:32:31 +03:00
Alex P
1c0df35f53 Handle free trial for paypal
Vault account without payment
2022-04-12 14:59:07 +03:00
Alex P
f5a472673b Handle free trial sub for cards
authorize 1$ and void
2022-04-06 09:10:24 +03:00
Narek Zakarian
56b4b6635c Adjust tests 2022-03-15 16:40:49 +04:00
dinamiko
caf9a2c50d Fix phpunit test 2022-02-23 11:23:44 +01:00
dinamiko
d86fdc35ff Merge branch 'trunk' into pcp-307-fee 2022-02-23 10:06:11 +01:00
Alex P
e22cb04350 Fix file name 2022-02-14 12:41:07 +02:00
Alex P
2ab75368b4 Add SellerReceivableBreakdown 2022-02-14 10:46:55 +02:00
Alex P
5cbd84a050 Add MoneyFactory 2022-02-14 10:46:55 +02:00
Alex P
361d2365fc Update tests 2022-02-09 16:28:27 +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