Commit graph

260 commits

Author SHA1 Message Date
Emili Castells
5cd439fa20
Merge pull request #633 from woocommerce/pcp-615-invalid-address
Retry without shipping field when got invalid address error
2022-05-17 12:53:00 +02:00
Emili Castells
486fe96a3e
Merge pull request #617 from woocommerce/PCP-647-fraud-prevention-function
Add Fraud Processor Response as an order note.
2022-05-17 10:46:20 +02:00
Alex P
d63f89a4a2 Retry without shipping field when got invalid address error 2022-05-16 15:12:40 +03:00
Alex P
dd4b39971f Remove duplicated variable 2022-05-03 16:14:22 +03: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
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
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
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
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
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
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
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
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
Alex P
651099705a Fix psalm 2022-02-17 18:29:45 +02:00
Alex P
fc89021df4 Add hook docs
phpcs rules updated
2022-02-17 18:28:59 +02:00
Alex P
1ae473f297 Fix ExchangeRate parsing 2022-02-14 18:16:33 +02:00
Alex P
a82b091bf1 Add fees breakdown to capture 2022-02-14 10:46:55 +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
dinamiko
50e1c743f0 Handle case when filter returns null 2022-02-11 12:00:30 +01:00
dinamiko
19b6eebd3e Use get_woocommerce_currency to get shop currency 2022-02-11 10:47:36 +01:00
dinamiko
df57609350 Merge branch 'trunk' into PCP-533-multi-currency-broke 2022-02-10 15:50:20 +01:00
dinamiko
e591dff46d Fix merge conflicts 2022-02-10 09:54:18 +01:00
dinamiko
ccff0fa586 Fix merge conflicts 2022-02-10 09:34:42 +01:00
Narek Zakarian
533d521395 Add filters to change allowed ACDC countries 2022-02-09 18:45:25 +04:00
Alex P
10c786fdb9 Add final_capture=true 2022-02-09 16:27:23 +02:00
Alex P
8c20c3ba28 Pass current amount when capturing authorization 2022-02-09 16:23:49 +02:00