Commit graph

1665 commits

Author SHA1 Message Date
Alex P
af746a52c1 Remove leftover of development logging 2021-10-20 17:41:46 +03:00
Emili Castells
5fb4a39ec9
Merge pull request #327 from woocommerce/PCP-327-prevent-subscription-from-being-
Prevent subscription from being purchased when saving payment fails
2021-10-20 15:38:33 +02:00
dinamiko
697bf3ce09 Fix phpcs errors 2021-10-20 15:32:57 +02: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
dinamiko
6649a362f6 Capture payment only if intent setting is capture 2021-10-20 10:40:46 +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
dinamiko
0ea8a77359 Capture payment when using saved card if intent setting is capture 2021-10-19 16:25:59 +02:00
Emili Castells
cf3b6e6ab1
Merge pull request #319 from woocommerce/capture-order-action-availability
Do not show capture order action after capture, refund/cancel/fail
2021-10-19 09:54:36 +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
60b43a9054 Do not display payments column in orders list screen 2021-10-18 15:20:13 +02:00
dinamiko
f4479f3694 Fix psalm errors 2021-10-18 15:13:47 +02:00
dinamiko
829b8b7ca7 Update payments column description 2021-10-18 14:29:03 +02:00
Emili Castells
65d05b935e
Merge pull request #332 from woocommerce/PCP-319-cant-checkout-to-certain-countri
Change shipping preference if purchase units does not contain shipping
2021-10-18 12:38:19 +02:00
dinamiko
7fd07f6baa Display if payment is saved in orders list column 2021-10-18 12:27:54 +02:00
dinamiko
038d36f556 Revent capture in lowercase 2021-10-18 10:54:57 +02:00
dinamiko
bc7455e10f Improve method name and description 2021-10-15 17:22:06 +02:00
dinamiko
ba061ce15b Uppercase capture 2021-10-15 17:11:52 +02:00
Emili Castells
91ce420cb5
Merge pull request #331 from woocommerce/pcp-327-refactor
Extract is_voidable_authorization
2021-10-15 16:58:38 +02:00
dinamiko
b5748b2911 Fix unit tests 2021-10-15 16:28:18 +02:00
dinamiko
3295488b29 Change shipping preference if purchase units does not contain shipping 2021-10-15 16:16:54 +02:00
Alex P
b0396489c9 Extract is_voidable_authorization 2021-10-15 16:20:00 +03:00
dinamiko
b33e6b6ba2 Add pending status to voidable authorization 2021-10-15 11:32:16 +02:00
Alex P
93be2ded35 Fix rest_ensure_response psalm error
rest_ensure_response can return WP_Error if wp error was passed
2021-10-15 10:58:29 +03:00
Alex P
3051f27fab Fix psalm 2021-10-15 10:54:38 +03:00
Alex P
21acaf9e77 Set transaction id after webhook capture 2021-10-15 10:24:19 +03:00
Alex P
94c3356c82 Set transaction id after manual capture 2021-10-15 09:48:29 +03:00
Alex P
58cb230867 Set transaction id for saved card payments 2021-10-14 18:46:39 +03:00
Alex P
e83db4a103 Save wc order after setting transaction id 2021-10-14 18:46:21 +03:00
Alex P
c8819086d8 Extract transaction functions to trait 2021-10-14 18:33:16 +03:00
dinamiko
0b25e8ae48 Fix psalm error 2021-10-14 15:55:23 +02:00
dinamiko
096b013933 Revert change (needed temporary for creating unit test coverage) 2021-10-14 15:53:11 +02: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
ab0ed12495 Merge branch 'trunk' into PCP-327-prevent-subscription-from-being- 2021-10-14 10:34:26 +02:00
Alex P
3330ad34da Merge remote-tracking branch 'origin/trunk' into capture-order-action-availability 2021-10-13 17:51:21 +03:00
Emili Castells
79e2dd2ef5
Merge pull request #322 from woocommerce/pcp-271-use-psalm
Add psalm
2021-10-13 16:48:49 +02:00
Emili Castells
217a085498
Merge pull request #321 from woocommerce/ngrok
Add ngrok support to allow using webhooks with a local development server
2021-10-13 16:43:23 +02:00
Alex P
95d172428a Update readme 2021-10-13 17:42:39 +03:00
Alex P
4ea3277d35 Update psalm baseline 2021-10-13 17:38:24 +03:00
Alex P
d91131cb06 Fix null access 2021-10-13 17:34:47 +03:00
Alex P
92eef9ceb9 Fix number type 2021-10-13 17:34:12 +03:00
Alex P
84c31e0223 Fix event_types type 2021-10-13 17:33:37 +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
3b57301712 Merge branch 'trunk' into pcp-271-use-psalm 2021-10-13 17:02:08 +03:00
Emili Castells
4ac201b384
Merge pull request #323 from woocommerce/fix-psr-4-merge
Fix PSR-4 merge
2021-10-13 16:01:14 +02:00
Alex P
99ba9a2203 Fix comment 2021-10-13 16:57:22 +03:00
Alex P
d586b4a188 Restore deleted file 2021-10-13 16:57:06 +03:00
Alex P
70d0617dbb Add psalm to yarn docker:lint 2021-10-13 16:37:04 +03:00