diff --git a/src/ios/StripePaymentsPlugin.swift b/src/ios/StripePaymentsPlugin.swift index 7b13e53..9063dea 100644 --- a/src/ios/StripePaymentsPlugin.swift +++ b/src/ios/StripePaymentsPlugin.swift @@ -198,7 +198,7 @@ import Stripe alertController.addAction(retry) self.viewController.present(alertController, animated: true, completion: nil) } else { - errorCallback(paymentStatusCallback, ["error": callbackMessage], keepCallback: true) + errorCallback(paymentStatusCallback, ["status": "PAYMENT_STATUS_ERROR", "error": callbackMessage], keepCallback: true) } }