Commit graph

45 commits

Author SHA1 Message Date
Alex P
2df970a74a
Handle payment errors in blocks 2023-05-22 10:38:31 +03:00
emilicastells
2b3b4dcce2
Detach vaulting from subscriptions (WIP) 2022-11-22 13:35:28 +01:00
dinamiko
b1a49a9af1 Do not delay scheduled action when subscription behavior is capture auth 2022-08-16 15:55:13 +02:00
dinamiko
ac31130649 Do not schedule check saved payment if subscription behavior when fail is capture auth 2022-08-16 15:04:18 +02:00
Alex P
4f59956fca Do not include full path in exception 2022-08-09 11:14:20 +03:00
Alex P
fb0bd85da6 Extract saved payment check scheduling 2022-07-13 15:20:39 +03:00
Alex P
1a5eb500a5 Cleanup gateways, move process_payment 2022-07-13 09:51:23 +03:00
Alex P
0ce3af03c3 Extract error message 2022-07-12 21:19:21 +03:00
Alex P
81c786150d Remove attempt to use non-existing .issues property
I think it never worked, and the API docs do not mention it (only the single .issue property),
and either way this usage here does not seem helpful, issue/description still contains the same unfriendly text as in the exception message already
2022-07-12 15:46:34 +03:00
Alex P
966e3169e4 Refactor gateway error/success handling 2022-07-12 15:37:36 +03:00
Alex P
fff2570124 Refactor shipping_preference
Extract its determination to a separate class, also remove useless CartRepository and use single PU to avoid confusion.
2022-07-05 14:37:04 +03: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
Alex P
1c0df35f53 Handle free trial for paypal
Vault account without payment
2022-04-12 14:59:07 +03:00
Alex P
f5a472673b Handle free trial sub for cards
authorize 1$ and void
2022-04-06 09:10:24 +03:00
dinamiko
25ca7451e7 Add order intent from settings on check saved payment scheduled action 2022-03-16 11:50:01 +01:00
dinamiko
5d7de0a212 Merge PCP-412-when-there-is-a-payment-saved-th 2022-03-02 12:23:20 +01:00
dinamiko
5b90111f3f Merge branch 'trunk' into PCP-412-when-there-is-a-payment-saved-th 2022-03-02 09:55:17 +01:00
dinamiko
e9ddd3d788 Refactor payment token checker 2022-03-01 16:10:46 +01:00
dinamiko
a7290f9ce0 Schedule checking for saved payment (WIP) 2022-02-28 17:31:15 +01:00
dinamiko
cdde60e738 Display multiple issues 2022-01-31 15:47:56 +01:00
dinamiko
d2f257a812 Add PayPal transaction id to order note 2022-01-31 11:02:51 +01:00
dinamiko
f454c60292 Display PayPal exception issues (WIP) 2022-01-28 17:40:44 +01:00
dinamiko
74490c40c9 Add process order error messages 2022-01-27 16:40:02 +01:00
dinamiko
465855d061 Check for captured vault webhook order meta 2021-12-22 12:18:17 +01:00
dinamiko
572c62c74c Check for captured vault webhook order meta 2021-12-20 15:34:55 +01:00
dinamiko
f03f3e5fb1 Do not rely on existing payment tokens after purchase but on webhooks 2021-12-20 11:50:26 +01:00
dinamiko
ba7bea6fa6 Merge branch 'trunk' into PCP-412-when-there-is-a-payment-saved-th 2021-12-20 11:35:57 +01:00
dinamiko
1092298038 Fix phpcs error 2021-12-14 15:10:33 +01:00
dinamiko
632c928ac3 Check if current payment exists in payment tokens 2021-12-14 11:43:04 +01:00
Alex P
b0aec0db1e Fix saved card method check 2021-12-13 17:31:48 +02:00
Alex P
9cefc25543 Fix payment method change detection 2021-12-08 13:35:00 +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
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
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
58cb230867 Set transaction id for saved card payments 2021-10-14 18:46:39 +03:00
dinamiko
457ebeeb8c Move capture authorized payment into authorized payment processor 2021-10-14 15:45:57 +02:00
dinamiko
a42ae3567f Merge trunk 2021-10-13 16:13:42 +02:00
Alex P
c65df28d54 Merge branch 'trunk' into bug/fix-project-configuration 2021-10-07 18:04:36 +03:00
dinamiko
57ff2cc649 Fix merge conflicts 2021-09-30 12:52:15 +02:00
Anton Ukhanev
d4c8282518 Use Composer modules and convert modules to PSR-4
PSR-4 is much more robust and predictable. But to do this,
a source root dir must be specified for every module.
This could be done in the root file, but this is not very modular.
Instead, now every module declares its own source root by using
the amazing Composer Merge Plugin. This approach allows each module
to also declare its own dependencies. Together, these changes allow
modules to be easily extractable to separate pacakges when the need
arises, and in general improves modularity significantly.
2021-08-26 11:01:20 +02:00
Renamed from modules/ppcp-wc-gateway/src/Gateway/class-processpaymenttrait.php (Browse further)