Commit graph

187 commits

Author SHA1 Message Date
dinamiko
d33ca00ac7 Fix CI errors 2022-01-03 15:15:33 +01:00
Alex P
cfc10ff0d9 Add "View logs" link in settings 2021-12-21 17:06:30 +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
Alex P
ffe32070d0 Extract shop currency, country to services 2021-11-30 10:40:38 +02:00
Alex P
74a1fb5a56 Update tests 2021-11-25 12:42:18 +02:00
Emili Castells
2638486331
Merge pull request #373 from woocommerce/pcp-333-fix-tax-mismatch
Use subtotal_tax instead of adding taxes ourselves
2021-11-23 12:33:46 +01:00
Alex P
6e6b4c4b40 Merge branch 'trunk' into pcp-401-custom-order-id 2021-11-23 12:51:26 +02:00
Emili Castells
3e21c4d7d7
Merge pull request #359 from woocommerce/PCP-419-do-not-display-saved-payments-on
Do not pass `customer_id` if vaulting is disabled
2021-11-23 11:06:26 +01: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
Alex P
a6a25232e3 Use subtotal_tax instead of adding taxes ourselves 2021-11-19 10:29:44 +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
Alex P
6d905d01c8 Remove prefix from custom id 2021-11-16 17:28:11 +02:00
Alex P
3b98d8300b Use order ID instead of "number" for PayPal custom field
Otherwise we cannot find the order in webhook handlers
if order number is not order ID
2021-11-16 12:06:38 +02:00
dinamiko
7e575eef5d Fix phpunit tests 2021-11-12 17:10:00 +01:00
Emili Castells
57549e445b
Merge pull request #336 from woocommerce/pcp-204-fix-auto-registration-loop
Check if registration is needed
2021-11-02 09:25:55 +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
Alex P
49bb1bc371 Check if registration is needed
createaccount checkbox is not present when guest checkout is disabled
2021-10-20 10:30:48 +03: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
1a7eae93c2 Refactor capture status, make like authorization status 2021-10-06 22:12:06 +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
dinamiko
a21aa9111a Merge branch 'trunk' into PCP-327-prevent-subscription-from-being- 2021-10-06 12:35:08 +02:00
dinamiko
a592b57848 Force authorization intent when purchasing subscription product 2021-10-05 12:12:19 +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
4d87f7fdae Add test 2021-09-24 17:38:04 +03:00
dinamiko
02d5411b18 Merge branch 'trunk' into release/1.6.0 2021-09-24 09:29:43 +02:00
Emili Castells
0515bdf949
Merge pull request #274 from woocommerce/PCP-288-vaulting-token-creation-fails
Allow customers to see and delete their saved payments in My Account.
2021-09-24 09:28:52 +02:00
Emili Castells
7aac842c80
Merge pull request #273 from woocommerce/webhook-simulation
Webhook simulation
2021-09-24 09:28:01 +02:00
dinamiko
97e3f217e8 Merge branch 'trunk' into release/1.6.0 2021-09-23 16:32:34 +02:00
Alex P
7ef5991cb8 Log endpoint errors 2021-09-23 17:19:46 +03:00
dinamiko
964936ee17 Load my account payments script only in its own page 2021-09-23 11:22:31 +02:00
Alex P
dbe1c1e825 Add test 2021-09-23 10:53:54 +03:00
dinamiko
da3c573e30 Fix phpunit test 2021-09-21 12:20:54 +02:00