fix(ios): add status key for payment context error callbacks
This commit is contained in:
parent
7c6e0dc706
commit
27e83b8149
@ -198,7 +198,7 @@ import Stripe
|
|||||||
alertController.addAction(retry)
|
alertController.addAction(retry)
|
||||||
self.viewController.present(alertController, animated: true, completion: nil)
|
self.viewController.present(alertController, animated: true, completion: nil)
|
||||||
} else {
|
} else {
|
||||||
errorCallback(paymentStatusCallback, ["error": callbackMessage], keepCallback: true)
|
errorCallback(paymentStatusCallback, ["status": "PAYMENT_STATUS_ERROR", "error": callbackMessage], keepCallback: true)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user