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
Hi, we're seeing users getting "loadPaymentData error" promise rejections from paymentRequest.show() with an error message of "8", which isn't particularly clear to debug/fix. We've got a screenshot of the error screen the user sees below
Does this "8" actually map to INTERNAL_ERROR, or something else?
Is there anything we can do about this error? The INTERNAL_ERROR docs suggest retries - would that be calling await paymentRequest.show() in a retry loop?
Would it be possible to improve the thrown error to include more information for debugging purposes (e.g. is there a reason we only get an "8" when the user is seeing an "RpcClientException", would we be able to add other fields to the error object e.g. an error.code)?
The text was updated successfully, but these errors were encountered:
Hi, we're seeing users getting "loadPaymentData error" promise rejections from
paymentRequest.show()
with an error message of "8", which isn't particularly clear to debug/fix. We've got a screenshot of the error screen the user sees belowIt looks like this error comes from:
react-native-make-payment/android/src/main/java/com/makepayment/MakePaymentModule.kt
Line 67 in b8ea372
Trying to search online for Google error codes, I've found this, which suggests 8 = "INTERNAL_ERROR".
https://developers.google.com/android/reference/com/google/android/gms/common/api/CommonStatusCodes#INTERNAL_ERROR()
await paymentRequest.show()
in a retry loop?error.code
)?The text was updated successfully, but these errors were encountered: