Commit graph

44 commits

Author SHA1 Message Date
Alex P
9ab091b945 Fix shipping preference for vaulted card button 2022-07-05 17:30:12 +03:00
dinamiko
1d9af879ef Fix phpunit 2022-06-27 12:33:51 +02:00
dinamiko
933a80b536 Merge trunk 2022-06-27 12:28:43 +02:00
Alex P
84a5d9cd0f Merge branch 'trunk' into pcp-328-mismatch 2022-06-20 16:35:37 +03:00
Alex P
af15246a96 Fix order fees total 2022-06-17 09:41:05 +03:00
dinamiko
0262549382 Merge branch 'trunk' into PCP-417-new-feature---pay-upon-invoice 2022-06-16 11:12:41 +02:00
Alex P
02c84e43e0 Improve item total/price retrieval
Less calculations, also fee was not included in item price for subs with fee
2022-06-15 21:33:25 +03:00
Alex P
770f8e558b Do not send tax in each item
Looks like it is not displayed anyway, and it causes mismatch + cannot send shipping/discount taxes as tax
2022-06-15 10:14:42 +03:00
Alex P
4f91e78591 Do not fail if no WC_Product in order item
It is possible for an order item to not have product, such as if created by a plugin.
2022-06-13 18:52:52 +03:00
dinamiko
062c08f19f Remove unit test 2022-06-02 11:37:53 +02:00
dinamiko
ade0e51e47 Merge branch 'trunk' into PCP-417-new-feature---pay-upon-invoice 2022-05-17 14:16:23 +02:00
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
dinamiko
158f900282 Merge branch 'trunk' into PCP-417-new-feature---pay-upon-invoice 2022-04-28 09:10:18 +02: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
dinamiko
372884ce16 Fix phpunit 2022-04-19 10:37:33 +02:00
Alex P
368d50ce7b Add test 2022-04-12 16:43:42 +03:00
Alex P
f5a472673b Handle free trial sub for cards
authorize 1$ and void
2022-04-06 09:10:24 +03: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
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
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
Alex P
f4d82e0de8 Fix namespace name, remove classmap 2021-10-08 10:23:19 +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
dinamiko
efcbf5dd7d Fix unit tests 2021-08-10 17:39:54 +02:00
dinamiko
35c959718e Fix phpunit tests 2021-06-04 11:57:25 +02:00
carmenmaymo
0761f89269 fix ItemFactoryTests 2021-01-21 08:49:44 +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