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

pull/2/merge
codinronan 5 years ago
parent 7c6e0dc706
commit 27e83b8149

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

Loading…
Cancel
Save