Commit graph

144 commits

Author SHA1 Message Date
dinamiko
8e17e35987 Fix phpunit 2022-05-04 16:27:56 +02:00
dinamiko
0cedfffe73 Fix phpunit 2022-05-04 15:24:24 +02:00
dinamiko
d064c257db Add scheduled action for checking payment captured 2022-05-04 09:44:15 +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
dinamiko
6ad27c82b7 Fix phpunit test 2022-04-25 14:34:36 +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
56f12ed853 Fix unit tests 2022-04-22 15:26:44 +02:00
dinamiko
c7cf9bc3e9 Add unit tests 2022-04-22 11:49:30 +02:00
Danae Millan
b488c909eb Merge branch 'trunk' into issue-174-vaulting-pay-later-ux 2022-04-13 13:54:52 -04: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
Danae Millan
e4c39fc2e3 Remove unused localized variable and class property
Because we're not checking whether vaulting is in the account's scope in the client side, we don't need to localize this variable and the class SettingsPageAssets doesn't need the  property anymore, thus removing these.
2021-11-20 13:10:37 -03: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