fix(ios): add status key for payment context error callbacks

This commit is contained in:
codinronan 2019-04-14 22:04:35 -05:00
parent 7c6e0dc706
commit 27e83b8149

View File

@ -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)
}
}