Commit graph

625 commits

Author SHA1 Message Date
dinamiko
957e7bf84d Check if pay for order products are ready for pui 2022-05-12 15:16:11 +02:00
Emili Castells
baf7f33a25
Merge pull request #644 from woocommerce/PCP-656-1.9.0-test1-customer-service-ins
[PUI] Customer service instructions field not mandatory in gateway settings
2022-05-12 09:57:37 +02:00
dinamiko
1baa66a955 Merge PCP-417-new-feature---pay-upon-invoice 2022-05-11 16:45:49 +02:00
dinamiko
5bf95fbca3 Get session id from request when page is pay for order 2022-05-11 16:11:05 +02:00
dinamiko
30d17b2a0a Check if product contains virtual or downloable variation 2022-05-11 12:07:11 +02:00
dinamiko
00b40dc6de Do not hide pui gateway on pay for order page 2022-05-11 11:31:27 +02:00
dinamiko
ff2ff8d31f Update pui error notice 2022-05-11 10:37:16 +02:00
dinamiko
995cd43839 Do not enable pui gateway if customer service instructions is empty 2022-05-11 10:11:13 +02: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
b9dc98eefc Make pui error translatable 2022-05-10 12:42:41 +02:00
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
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
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
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
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
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
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
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
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
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
dinamiko
ca0aa6145c Revert change 2022-04-21 11:20:47 +02:00
Narek Zakarian
de855042a0 Add "PayPal Transaction Key" into order custom fields. 2022-04-20 19:51:26 +04:00
dinamiko
a2fad9da52 Refactor fraudnet config json generation 2022-04-19 14:54:07 +02:00
dinamiko
e846833202 Fix phpcs 2022-04-19 12:41:13 +02:00
dinamiko
356375e20e Fix psalm 2022-04-19 12:37:25 +02:00
dinamiko
90340b95c9 Fix phpcs 2022-04-19 11:54:49 +02:00
dinamiko
e2cb2ad922 Fix psalm 2022-04-19 11:31:47 +02:00