diff --git a/js/civicrm_stripe.js b/js/civicrm_stripe.js index f692bd99e406b530e7607f3314bf2ecc3fd128f4..90d541ca5aa045e3deef0d7cb929eeae0678db1b 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); }); } /**