From 6b07121d75ea63f3affeb7d073522d4f9bbf68dc Mon Sep 17 00:00:00 2001 From: jewel_bot Date: Tue, 31 Mar 2026 02:32:04 +0600 Subject: [PATCH] pr: [Nightly Fix] - Bug - Fix Stripe SCA Inline Transaction Status Mismatch MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit StripeInlineHandler wrote status 'intended' (correct spelling) when an SCA 3DS action was required, but Transaction::getLatestIntentedTransaction() and Subscription::getIntentedSubscriptions() both query for 'intented' (the typo used consistently everywhere else). This mismatch meant that after a customer completed the 3DS challenge and returned to the site, the inline Stripe SCA recovery flow could never find the pending transaction — leaving the payment permanently stuck in 'pending' state instead of resolving to 'paid'. Fix: align StripeInlineHandler to write 'intented' to match the query methods. --- includes/Classes/PaymentMethods/Stripe/StripeInlineHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Classes/PaymentMethods/Stripe/StripeInlineHandler.php b/includes/Classes/PaymentMethods/Stripe/StripeInlineHandler.php index de27bed..ffc50fa 100644 --- a/includes/Classes/PaymentMethods/Stripe/StripeInlineHandler.php +++ b/includes/Classes/PaymentMethods/Stripe/StripeInlineHandler.php @@ -420,7 +420,7 @@ private function handlePaymentItentCharge($transaction, $submission, $intentArgs # Tell the client to handle the action $transactionModel = new Transaction(); $transactionModel->update($transaction->id, array( - 'status' => 'intended', + 'status' => 'intented', 'charge_id' => $intent->id, 'payment_mode' => $this->getMode() ));