Commit graph

424 commits

Author SHA1 Message Date
dinamiko
df549b6dff Remove testing variables 2022-05-03 11:21:50 +02:00
Alex P
35f058870a Skip already handled refunds in webhook
When we add a refund from WC, we still receive a webhook with it. And for some partial refunds the duplicated refund can be added in WC.
2022-04-28 16:20:05 +03:00
dinamiko
7dbb0e32c1 Fix psalm 2022-04-28 11:26:25 +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
Alex P
13e04b009c Fix const name 2022-04-27 23:50:23 +03:00
Alex P
e72b80ae72 Show error if PayPal already vaulted for another WC customer 2022-04-27 10:45:05 +03:00
Narek Zakarian
d148a1bf9a Adjust API client services to support fraud response. 2022-04-25 19:17:13 +04:00
Narek Zakarian
fd77690d46 Include fraud response in order capture. 2022-04-25 19:16:09 +04:00
Narek Zakarian
4c1695788f Create Fraud processor response and it's factory. 2022-04-25 19:14:21 +04:00
dinamiko
b5f63b9f47 Inject json config and retrigger fraudnet 2022-04-25 14:31:43 +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
cf0d7858fd Add unit tests 2022-04-22 15:21:00 +02:00
dinamiko
0f93759c9c Do not display pui tab if wc store is not is germany 2022-04-22 12:19:55 +02:00
dinamiko
c7cf9bc3e9 Add unit tests 2022-04-22 11:49:30 +02:00
dinamiko
bd77953161 Refactoring 2022-04-21 16:51:17 +02:00
dinamiko
372884ce16 Fix phpunit 2022-04-19 10:37:33 +02:00
dinamiko
e9cf818799 Fix phpcd (WIP) 2022-04-14 17:17:56 +02:00
dinamiko
6b7992b411 Merge trunk 2022-04-13 11:26:24 +02:00
Emili Castells
2d56e3ffad
Merge pull request #540 from woocommerce/PCP-347-emoji-in-product-description-causing-error
Fix the description counting when emoji is used
2022-04-13 10:29:12 +02:00
Alex P
901ecdd1d9 Remove unused imports 2022-04-13 11:17:58 +03:00
Alex P
4cecb908e6 Add tests 2022-04-13 10:40:28 +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
ecf3feab62
Merge pull request #538 from woocommerce/PCP-574-filter-to-modify-sending-data
Add filter to allow modifying of order creation request body data
2022-04-12 09:16:08 +02: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
dinamiko
a56c756773 Fix typo in item factory 2022-04-08 11:23:02 +02:00
Alex P
0da5758656 Merge branch 'trunk' into pcp-475-free-trial 2022-04-07 09:42:32 +03:00
Alex P
f5a472673b Handle free trial sub for cards
authorize 1$ and void
2022-04-06 09:10:24 +03:00
dinamiko
6d97e95f23 Merge trunk 2022-04-04 15:24:21 +02: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
ff12b8d8fb Merge trunk 2022-03-25 14:31:42 +01:00
dinamiko
bf05e08ed4 Fix psalm 2022-03-17 16:54:31 +01:00
dinamiko
ccb528ba2a Refactor code style 2022-03-17 16:45:57 +01:00
dinamiko
ec22aad35b Refactor extract variable 2022-03-17 16:44:23 +01:00
dinamiko
b2fa7b985b Fix psalm errors 2022-03-17 16:35:13 +01:00
dinamiko
afd77cf9da Add shipping tax to taxes instead of shipping 2022-03-17 14:51:20 +01:00
Narek Zakarian
1b0fe84968 Fix the psalm error 2022-03-17 17:03:32 +04:00
Narek Zakarian
6ba367efbd Fix the description counting. 2022-03-17 16:50:50 +04:00
dinamiko
28edfcbebc Get tax rate from item 2022-03-16 16:29:22 +01:00
Narek Zakarian
adb578e5e9 Improve the filter description 2022-03-16 15:36:52 +04:00
Narek Zakarian
f0e367cdd3 Add filter to allow modifying of request order creation data 2022-03-16 15:35:50 +04:00
Narek Zakarian
feb55627a3 Fix Psalm 2022-03-15 16:43:14 +04:00
Narek Zakarian
6d755d44a8 Check if payer's email and name are set before sending payer data 2022-03-15 16:14:13 +04:00
Alex P
703656bec2 Use full URL for return endpoint 2022-03-13 11:59:27 +02:00
dinamiko
61973a6223 Set pui partner referrals config through filter 2022-03-11 15:21:48 +01:00
dinamiko
9dfa15acfc Add PAY_UPON_INVOICE into capabiliies (WIP) 2022-03-11 12:33:49 +01:00
Alex P
1a9fbc1303 Fix ajax URLs on multisite 2022-03-09 16:24:11 +02:00
dinamiko
d86fdc35ff Merge branch 'trunk' into pcp-307-fee 2022-02-23 10:06:11 +01:00
dinamiko
1beebbb1fc Fix merge conflict 2022-02-23 09:47:03 +01:00