Commit graph

221 commits

Author SHA1 Message Date
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
8fb6506b67 Add cart e2e tests 2022-06-20 09:09:27 +03:00
Alex P
af15246a96 Fix order fees total 2022-06-17 09:41:05 +03:00
Alex P
04aba8ceb1 Add tests using real WC 2022-06-17 09:40:00 +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
0e82a5f6c9 Fix rounding when checking total mismatch 2022-06-15 09:58:57 +03:00
Emili Castells
ceb95952a9
Merge pull request #672 from woocommerce/PCP-681-refund-failed-no-country-given-f
When creating `Address` do not throw but set empty string when no country code is received
2022-06-14 16:08:17 +02:00
Emili Castells
259f824dac
Merge pull request #657 from woocommerce/PCP-687-do-not-call-partner-referrals-si
Cache partner referrals signup links
2022-06-14 15:05:15 +02:00
dinamiko
e153e2be35 Merge trunk 2022-06-14 15:03:19 +02:00
dinamiko
5de360c869 Fix conflicts 2022-06-14 10:59:47 +02: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
8a0b439e5f Add order status CREATED to order processor check 2022-06-07 12:17:35 +02:00
dinamiko
0a993f854d Do not check order approved status if it does not contains physical goods 2022-06-02 15:11:01 +02:00
dinamiko
062c08f19f Remove unit test 2022-06-02 11:37:53 +02:00
dinamiko
af25aeead0 Fix phpunit 2022-05-27 14:58:38 +02:00
dinamiko
f813cf451a Cache partner referrals signup links 2022-05-25 09:42:37 +02:00
dinamiko
cee42e7d4e Merge branch 'trunk' into PCP-417-new-feature---pay-upon-invoice 2022-05-17 16:56:21 +02:00
Emili Castells
79db7cfbfc
Merge pull request #375 from woocommerce/issue-174-vaulting-pay-later-ux
Enhance the UX of the Pay Later and Vaulting features
2022-05-17 16:25:33 +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
b7c4f23b62
Merge pull request #641 from woocommerce/PCP-580-manual-orders-return-an-error-for-guest-users
Store order info in wc order meta to get if there is no session.
2022-05-17 13:55:35 +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
dinamiko
be22a60b93 Add birth date validation for pay for order 2022-05-16 16:51:29 +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
Narek Zakarian
ab0e90dab0 Store order info in wc order meta to get if there is no session. 2022-05-10 18:46:40 +04:00
dinamiko
235c9c8281 Fix psalm 2022-05-10 12:18:18 +02:00
dinamiko
c77cab9cbe Validate birth date 2022-05-10 11:59:24 +02:00
dinamiko
8e17e35987 Fix phpunit 2022-05-04 16:27:56 +02:00
dinamiko
0cedfffe73 Fix phpunit 2022-05-04 15:24:24 +02:00
dinamiko
d064c257db Add scheduled action for checking payment captured 2022-05-04 09:44:15 +02:00
dinamiko
4978107554 Ensure purchase units contains tax rate and shipping when creating the order 2022-04-28 11:02:00 +02:00
dinamiko
158f900282 Merge branch 'trunk' into PCP-417-new-feature---pay-upon-invoice 2022-04-28 09:10:18 +02:00
dinamiko
6ad27c82b7 Fix phpunit test 2022-04-25 14:34:36 +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
56f12ed853 Fix unit tests 2022-04-22 15:26:44 +02:00
dinamiko
cf0d7858fd Add unit tests 2022-04-22 15:21:00 +02:00
dinamiko
c7cf9bc3e9 Add unit tests 2022-04-22 11:49:30 +02:00
dinamiko
372884ce16 Fix phpunit 2022-04-19 10:37:33 +02:00
Danae Millan
b488c909eb Merge branch 'trunk' into issue-174-vaulting-pay-later-ux 2022-04-13 13:54:52 -04: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
Emili Castells
50e282aba5
Merge pull request #536 from woocommerce/PCP-564-pay-for-order-guest-failing
Check if payer's Email and name are set before sending data
2022-04-12 09:15:15 +02:00
Alex P
f5a472673b Handle free trial sub for cards
authorize 1$ and void
2022-04-06 09:10:24 +03:00
dinamiko
5369af13e2 Revert PCP-590-incorrect-tax-details as is causing line items not sent to PayPal 2022-04-04 11:35:50 +02:00
dinamiko
a237b9af53 Fix phpunit tests 2022-03-17 16:29:30 +01:00