Commit graph

360 commits

Author SHA1 Message Date
Alex P
9cefc25543 Fix payment method change detection 2021-12-08 13:35:00 +02:00
Alex P
521cbf4e26 Require 3DS by default for PSD2 shop countries 2021-11-30 14:50:49 +02:00
Alex P
ffe32070d0 Extract shop currency, country to services 2021-11-30 10:40:38 +02:00
Alex P
1322a9dd27 Add missing funding sources to "Disable funding sources" 2021-11-25 17:11:51 +02:00
Emili Castells
035cbe5957
Merge pull request #361 from woocommerce/pcp-125-fix-duplicated-button
Fix duplicated button and saved cards in Pay Now
2021-11-23 11:07:21 +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
1f8b449e38 Fix change payment check to not conflict with Pay Now 2021-11-12 18:29:30 +02:00
dinamiko
78fe636e65 Merge branch 'trunk' into PCP-305-enable-save-card-for-guest-users 2021-11-04 11:01:33 +01:00
Alex P
38ee07e547 Remove non-nullable null check 2021-11-03 10:19:29 +02:00
Alex P
b783a55d3f Remove unneeded check, it throws already 2021-11-03 10:19:04 +02:00
dinamiko
4593f060ec Do not add message under subscriptions no available gateways notice 2021-11-02 12:01:29 +01:00
dinamiko
990c9f946e Add user needs to be logged in message when subscription in the cart 2021-10-28 12:43:02 +02:00
dinamiko
3c237b6315 Do not display gateways if subscription in cart and user is not logged in 2021-10-25 16:27:05 +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
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
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
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
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
Alex P
d91131cb06 Fix null access 2021-10-13 17:34:47 +03:00
dinamiko
a42ae3567f Merge trunk 2021-10-13 16:13:42 +02:00
Alex P
6f45ed3472 Remove unneeded nullability 2021-10-13 16:28:40 +03:00
Alex P
e1f4f9763d Merge branch 'trunk' into capture-order-action-availability 2021-10-13 15:59:26 +03:00
Alex P
10937144a1 Add typehint 2021-10-13 15:02:10 +03:00
dinamiko
f405778bdc Merge branch 'trunk' of github.com:woocommerce/woocommerce-paypal-payments into bug/fix-project-configuration 2021-10-13 10:55:38 +02:00
Alex P
936915e53c Do not show capture order action after capture, refund/cancel/fail 2021-10-11 17:36:59 +03:00
Alex P
c84a2832a1 Show reason text instead of enum value 2021-10-08 18:15:22 +03:00
Alex P
5b197a003a Do not add 'successfully captured' note for pending captures 2021-10-08 18:14:15 +03:00
dinamiko
df95276372 Fix credit card gateway constructor parameters 2021-10-08 16:05:24 +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
e02926a033 Rename new classes 2021-10-07 18:09:06 +03:00
Alex P
c65df28d54 Merge branch 'trunk' into bug/fix-project-configuration 2021-10-07 18:04:36 +03: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
06ee070c87 Allow voiding pending authorizations 2021-10-07 09:30:26 +03:00
Alex P
98bd5bd245 Extract/refactor order status changes, fix denied payment handling 2021-10-07 09:23:03 +03:00
Alex P
64c6854873 Use payment_complete()
Not sure which way is better, but we should choose one
2021-10-06 19:07:07 +03:00
Alex P
b7fcee1179 Stop if failed to handle saved card payment 2021-10-06 18:53:49 +03:00
Alex P
45249966e9 Add missing order meta 2021-10-06 18:10:32 +03:00