From f3ad0e755b7c43dbce2432ff34481be22ecabe9f Mon Sep 17 00:00:00 2001 From: Matthew Wire <mjw@mjwconsult.co.uk> Date: Wed, 23 Jun 2021 09:46:51 +0100 Subject: [PATCH] Fix syntax --- js/civicrm_stripe.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/civicrm_stripe.js b/js/civicrm_stripe.js index f692bd99..90d541ca 100644 --- a/js/civicrm_stripe.js +++ b/js/civicrm_stripe.js @@ -272,7 +272,7 @@ } } }) - .fail(stripePaymentIntentProcessFail(paymentIntentProcessResponse)); + .fail(function(object) { stripePaymentIntentProcessFail(object); }); } } }); @@ -313,7 +313,7 @@ // From here the on 'paymentmethod' of the paymentRequest handles completion/failure } }) - .fail(stripePaymentIntentProcessFail(paymentIntentProcessResponse)); + .fail(function(object) { stripePaymentIntentProcessFail(object); }); } /** -- GitLab