Commit graph

2450 commits

Author SHA1 Message Date
Alex P
df6e784d29 Add DDEV 2022-05-05 16:29:18 +03: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
8e17e35987 Fix phpunit 2022-05-04 16:27:56 +02:00
dinamiko
7e57c2ccc3 Update transaction id 2022-05-04 16:04:02 +02:00
dinamiko
0cedfffe73 Fix phpunit 2022-05-04 15:24:24 +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
0789dd8886 Merge branch 'trunk' into PCP-417-new-feature---pay-upon-invoice 2022-05-04 10:35:02 +02:00
Emili Castells
664347abf4
Merge pull request #630 from woocommerce/PCP-655-1.9.0-test1-handle-webhook-failu
[PUI] handle webhook failures
2022-05-04 09:56:41 +02:00
dinamiko
d064c257db Add scheduled action for checking payment captured 2022-05-04 09:44:15 +02:00
Brian Yu
00cfa973e6
Merge pull request #628 from woocommerce/version_bump/1.8.0
Add date for 1.8.0 release
2022-05-03 14:38:12 -04:00
Brian Yu
450aeadd8e Add date for 1.8.0 release 2022-05-03 14:32:56 -04: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
Emili Castells
6ebd88230b
Merge pull request #619 from woocommerce/pcp-646-vaulting-errors
Show free trial vaulting errors
2022-04-27 17:29:49 +02:00
Emili Castells
4d65c80494
Merge pull request #615 from woocommerce/pcp-650-free-trial-fix-dcc
Fix DCC with free trial
2022-04-27 17:28:33 +02: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
6ad27c82b7 Fix phpunit test 2022-04-25 14:34:36 +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
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
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
Emili Castells
1c92a56e69
Merge pull request #612 from woocommerce/PCP-648-pre-release-1.8.0-disabling-dcc-
Do not set PayPal gateway enabled on credit card gateway
2022-04-21 15:23:32 +02:00
dinamiko
36151c8296 Do not set PayPal gateway enabled on credit card gateway 2022-04-21 15:19:08 +02:00
Emili Castells
7c2b36b045
Merge pull request #611 from woocommerce/revert-pcp-478
Revert self redirect after updating DDC settings
2022-04-21 11:44:06 +02:00
dinamiko
ca0aa6145c Revert change 2022-04-21 11:20:47 +02:00