Commit graph

85 commits

Author SHA1 Message Date
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
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
4cecb908e6 Add tests 2022-04-13 10:40:28 +03:00
dinamiko
89001f6533 Merge branch 'trunk' into PCP-562-when-payment-is-not-saved-do-not 2022-03-16 09:35:47 +01:00
Alex P
703656bec2 Use full URL for return endpoint 2022-03-13 11:59:27 +02:00
dinamiko
8bbd50bbe6 Fix phpunit tests 2022-03-04 10:30:25 +01: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
c8a55581a0 Render fees 2022-02-14 13:54:49 +02:00
Alex P
361d2365fc Update tests 2022-02-09 16:28:27 +02:00
dinamiko
4c71240684 Merge branch 'trunk' into pcp-370-onboarding 2022-02-07 10:23:31 +01:00
Alex P
2e50e59940 Remove progressive onboarding state 2022-01-31 18:16:25 +02:00
dinamiko
84e3bcdb5c Fix phpunit 2022-01-31 12:31:13 +01:00
Alex P
5189dd91dc Use wp_doing_ajax instead of is_ajax 2022-01-18 13:40:50 +02:00
Alex P
9ef61a2b81 Extract funding source name/description generation 2021-12-09 18:31:21 +02:00
Alex P
f4a32a01e7 Show "Venmo" instead of "PayPal" when using its' button 2021-12-09 17:29:48 +02:00
dinamiko
626f4804cb Remove unused stuff on test 2021-11-18 14:49:42 +01:00
dinamiko
c072e8550a Add retry counter meta to order to avoid duplicate invoice error on consequent tries 2021-11-18 14:45:34 +01:00
dinamiko
c019795ac7 Fix duplicate parameter in constructor assigment 2021-10-20 15:22:39 +02:00
dinamiko
e3a793e3e5 Fix merge conflicts 2021-10-20 15:01:53 +02:00
Emili Castells
70fed5fa7e
Merge pull request #329 from woocommerce/pcp-338-missing-transaction-id
Fix missing transaction id
2021-10-19 09:53:56 +02:00
dinamiko
b5748b2911 Fix unit tests 2021-10-15 16:28:18 +02:00
Alex P
94c3356c82 Set transaction id after manual capture 2021-10-15 09:48:29 +03:00
dinamiko
457ebeeb8c Move capture authorized payment into authorized payment processor 2021-10-14 15:45:57 +02:00
Alex P
d40384aa1a Set transaction id for authorization 2021-10-14 16:34:03 +03:00
dinamiko
7006334725 Remove duplicated use 2021-10-13 16:15:00 +02:00
dinamiko
a42ae3567f Merge trunk 2021-10-13 16:13:42 +02:00
Alex P
f4d82e0de8 Fix namespace name, remove classmap 2021-10-08 10:23:19 +03:00
dinamiko
e36d77fad2 Merge trunk (WIP) 2021-10-07 17:36:29 +02:00
Alex P
fb3c4f0101 Quick fix handling of capture statuses after capturing via order action 2021-10-07 10:59:13 +03:00
Alex P
03e9ac9aad Fix capture endpoint returned object 2021-10-07 10:15:29 +03:00
Alex P
98bd5bd245 Extract/refactor order status changes, fix denied payment handling 2021-10-07 09:23:03 +03:00
Alex P
45249966e9 Add missing order meta 2021-10-06 18:10:32 +03:00
dinamiko
1cee5d51f1 Void authorized transaction when payment is not saved 2021-10-06 15:57:57 +02:00
Alex P
ea7f56c402 Handle denied authorization when capturing via order action
If nothing to capture and do not have captures, then show error.
2021-10-05 08:57:55 +03:00
Alex P
06e437e0c3 Refactor logging, add missing logging 2021-10-04 19:16:50 +03:00
Alex P
07928c9935 Return status instead of bool + last_status 2021-10-04 18:36:30 +03:00
Alex P
c6229c9944 Simplify test 2021-10-04 18:25:35 +03:00
Alex P
65c048438c Fix indent 2021-08-27 20:46:09 +03:00
Alex P
28b47e8415 Fix/update test 2021-08-27 20:41:30 +03:00
Alex P
e6c0182dd4 Update tests 2021-08-27 17:28:15 +03:00
emilicastells
3fde81bb80
Fix unit tests 2021-08-13 14:39:27 +02:00
Kirill Braslavsky
282ff63330
Add tests 2021-07-28 10:03:43 +03:00
dinamiko
35c959718e Fix phpunit tests 2021-06-04 11:57:25 +02:00
Emili Castells
0e1f345f8e
Merge pull request #150 from woocommerce/PCP-141-disable-vault-setting-if-not-in-
Disable vault setting if vaulting feature is not available
2021-05-20 11:42:01 +02:00
dinamiko
8005ea39c3 Fix unit test 2021-05-03 13:00:27 +02:00
dinamiko
1725d2da18 Do not redirect when handling vault_enabled settings, also return false if there is no scope yet 2021-05-03 12:20:07 +02:00
Kirill Braslavsky
59311dcf12 update tests 2021-04-19 11:47:28 +03:00
Emili Castells
d257b270df
Merge pull request #134 from woocommerce/feature/PCP-88-payment-token-vaulting
Introduce client-side vaulting and allow Subscription renewals through payment tokens
2021-04-08 11:09:15 +02:00
dinamiko
34b624905d Fix merge conflicts with trunk 2021-03-31 11:22:01 +02:00