From ed7b05ea657501941af38d0c593f5d63b04b3bb0 Mon Sep 17 00:00:00 2001 From: Matthew Wire <mjw@mjwconsult.co.uk> Date: Thu, 26 Aug 2021 22:25:57 +0100 Subject: [PATCH] Fix typo in confirm script that was causing some payments to show 'Payment Failed' on ThankYou page --- js/civicrmStripeConfirm.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/civicrmStripeConfirm.js b/js/civicrmStripeConfirm.js index 50d9cc69..7e063ad3 100644 --- a/js/civicrmStripeConfirm.js +++ b/js/civicrmStripeConfirm.js @@ -32,7 +32,7 @@ icon: 'error' }, '', true); } - else if (paymentIntentProcessResponse.succeeded) { + else if (paymentIntentProcessResponse.success) { // All good, nothing more to do CRM.payment.debugging(confirm.scriptName, 'success - payment captured'); confirm.swalFire({ -- GitLab