Commit graph

257 commits

Author SHA1 Message Date
dinamiko
c6ec3d1a93 Revert phpunit test 2022-02-09 11:00:14 +01:00
dinamiko
4c71240684 Merge branch 'trunk' into pcp-370-onboarding 2022-02-07 10:23:31 +01:00
Emili Castells
2f87393d4d
Merge pull request #458 from woocommerce/PCP-488-extend-event-error-logging-order
Improve error display
2022-02-02 12:33:03 +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
52e08a0cf2 Fix tests 2022-01-25 17:21:50 +02:00
Alex P
23e68419f8 Remove unused 2022-01-25 15:49:43 +02:00
Emili Castells
0fee10931a
Merge pull request #423 from woocommerce/PCP-434-allow-guest-users-to-purchase-su
Add customer id for guest users purchasing subscriptions
2022-01-20 11:18:14 +01:00
Alex P
5189dd91dc Use wp_doing_ajax instead of is_ajax 2022-01-18 13:40:50 +02:00
Emili Castells
0b97b1a69f
Merge pull request #427 from woocommerce/pcp-467-currency
Do not use get_woocommerce_currency
2022-01-11 10:13:31 +01:00
Emili Castells
44bee1cf6b
Merge pull request #425 from woocommerce/pcp-409-fix-renewal
Update renewal handler
2022-01-11 10:07:45 +01:00
Emili Castells
40f08252c0
Merge pull request #417 from woocommerce/pcp-222-view-logs
Add "View logs" link in settings
2022-01-10 13:11:17 +01:00
Alex P
a432e39436 Do not use get_woocommerce_currency 2022-01-06 13:41:12 +02:00
Alex P
2ab379c982 Fix test 2022-01-05 16:02:43 +02:00
dinamiko
e9cafc7628 Fix phpunit 2022-01-05 14:38:04 +01:00
dinamiko
96d154a856 Refactoring 2022-01-05 14:12:37 +01:00
dinamiko
0ae7e6e9bc Extract customer id retrieval 2022-01-05 12:49:49 +01:00
Alex P
d42cb3e47c Fix renewal logging 2022-01-04 17:30:26 +02:00
dinamiko
ab59654a9b Fix phpunit errors 2022-01-04 14:59:35 +01:00
dinamiko
6d0c821b19 Check if pay for order contains subscription 2022-01-04 10:43:18 +01:00
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