Commit graph

1409 commits

Author SHA1 Message Date
dinamiko
b7413b9adf Remove unnecesary throw docblock 2022-05-10 12:33:50 +02: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
5911e09310 validate birth date (WIP) 2022-05-10 10:25:06 +02:00
helgatheviking
0052aacbbc Rename new filter to woocommerce_paypal_payments_product_supports_payment_request_button to avoid abbreviates 2022-05-09 13:19:32 -06:00
dinamiko
e5008603c9 Fix phpcs 2022-05-09 11:53:30 +02:00
dinamiko
ac6361e2ce Fix phpcs 2022-05-09 11:46:22 +02:00
dinamiko
723206ff70 Fix error requiring dcc product status 2022-05-09 10:51:50 +02:00
dinamiko
5c3881a247 Fix error requiring dcc product status 2022-05-09 10:48:19 +02:00
dinamiko
f2284d49f5 Fix psalm 2022-05-09 10:36:38 +02:00
dinamiko
49bc0f255c Check seller product status for pui (WIP) 2022-05-06 17:03:10 +02:00
Narek Zakarian
199b18c7f3 Fix the psalm error about no return type. 2022-05-06 18:22:58 +04:00
Narek Zakarian
5965cc4bde Enable the "pay later" on card page when card page is updated. 2022-05-06 18:22:11 +04:00
Narek Zakarian
6ac84bc801 Merge branch 'PCP-632-smart-buttons-not-loading' into PCP-163-pay-later-message-bug 2022-05-06 17:34:13 +04:00
dinamiko
bc612dbb12 Add product type check for pui checkout 2022-05-04 16:59:20 +02:00
Emili Castells
c3b642e964
Merge pull request #631 from woocommerce/PCP-665-1.9.0-test1-pui-gateway-visible-
PUI gateway visible when checkout currency or order total are not supported
2022-05-04 16:38:50 +02:00
dinamiko
59551701e7 Use cart get_total and cast it as float 2022-05-04 16:35:23 +02:00
dinamiko
7e57c2ccc3 Update transaction id 2022-05-04 16:04:02 +02:00
dinamiko
eb2eb58a1c Update transaction id 2022-05-04 15:06:17 +02:00
Narek Zakarian
d3b8e04135
Update CartBootstap.js 2022-05-04 15:34:19 +04:00
dinamiko
a17a556617 Fix psalm 2022-05-04 11:22:54 +02:00
dinamiko
b9f56bba33 Check if checkout is ready for pui 2022-05-04 11:17:56 +02:00
dinamiko
d064c257db Add scheduled action for checking payment captured 2022-05-04 09:44:15 +02:00
Alex P
dd4b39971f Remove duplicated variable 2022-05-03 16:14:22 +03:00
dinamiko
df549b6dff Remove testing variables 2022-05-03 11:21:50 +02:00
Narek Zakarian
c4f5d7a139 Move the subscription cart check into the callbacks.
The subscription product in cart existence and the vaulting enabled check should be called inside the button renderer hook callback so that the mini-cart ajax refresh will take it into the consideration.
2022-05-02 17:48:14 +04:00
Alex P
93ef548b65 Fix psalm errors 2022-04-28 16:20:30 +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
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
Alex P
b2e5a80f3f Show error message when vaulting approval fails 2022-04-27 10:39:54 +03:00
dinamiko
ea3c13b59c Translate birth date manually 2022-04-26 12:36:41 +02: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
acf7fa6d00 Add sandbox parameter to fraudnet json config 2022-04-25 15:58:30 +02: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
Alex P
a5191b04ff Do not disable card funding source for free trial if DCC enabled
Otherwise DCC gateway gets disabled (paypal.HostedFields.isEligible() becomes false)
2022-04-25 15:13:46 +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
63c3c095bb Remove comment for testing 2022-04-22 11:50:33 +02:00
dinamiko
c7cf9bc3e9 Add unit tests 2022-04-22 11:49:30 +02:00
dinamiko
1082094e37 Fix psalm 2022-04-21 17:02:19 +02:00
dinamiko
bd77953161 Refactoring 2022-04-21 16:51:17 +02:00
dinamiko
0cd2e64d9a Merge branch 'trunk' into PCP-417-new-feature---pay-upon-invoice 2022-04-21 15:42:37 +02:00
dinamiko
36151c8296 Do not set PayPal gateway enabled on credit card gateway 2022-04-21 15:19:08 +02:00