You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During testing around the behaviour noted in #8, I noted unexpected behaviour on iOS.
When calling startPayment() with onError set, cancelling the payment by pressing Cancel calls the listener with code = "ERROR_CANCELLED" and error = "Transaction Cancelled".
However, calling startPaymentPromise() in this way:
During testing around the behaviour noted in #8, I noted unexpected behaviour on iOS.
When calling
startPayment()
withonError
set, cancelling the payment by pressingCancel
calls the listener withcode = "ERROR_CANCELLED"
anderror = "Transaction Cancelled"
.However, calling
startPaymentPromise()
in this way:does not cause the catch block to be run. This is unexpected, as I would expect
console.log('Error', e)
to output something like:The text was updated successfully, but these errors were encountered: