Refactor process_payment
and wc-stripe-is-deferred-intent
flag
#3868
Labels
type: technical debt
This issue/PR represents/solves the technical debt of the project.
The goal of this issue is to track this "To be removed" check:
woocommerce-gateway-stripe/includes/payment-methods/class-wc-stripe-upe-payment-gateway.php
Lines 679 to 682 in 50a0da1
The
$_POST['wc-stripe-is-deferred-intent']
parameter was introduced in #2935 and meant to be temporary.Removing this flag also involves refactoring
process_payment
, and as a result from this issue, we expect a unifiedprocess_payment
that works for both deferred and non-deferred intent payment methods and phases out any code paths that still consider old iterations like the no-longer supported unified Payment Element.Additional context
#3805 (comment)
The text was updated successfully, but these errors were encountered: