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
When testing Apple Pay in the sandbox environment the Dropin UI displays the error "Something went wrong on our end" and the browser console shows "[Error] Failed to load resource: the server responded with a status of 422 ()" for the URL https://api.sandbox.braintreegateway.com/merchants/[redacted]/client_api/v1/apple_pay_web/sessions after clicking the Apple Pay icon. I assume the error has to do with only real credit cards in my Apple Wallet and they won't work in a sandbox environment. My question is how can I capture these errors and log them (to Sentry in my case)? The catch block of requestPaymentMethod() doesn't get invoked since this error occurs before executing requestPaymentMethod().
The text was updated successfully, but these errors were encountered:
General information
Issue description
When testing Apple Pay in the sandbox environment the Dropin UI displays the error "Something went wrong on our end" and the browser console shows "[Error] Failed to load resource: the server responded with a status of 422 ()" for the URL
https://api.sandbox.braintreegateway.com/merchants/[redacted]/client_api/v1/apple_pay_web/sessions
after clicking the Apple Pay icon. I assume the error has to do with only real credit cards in my Apple Wallet and they won't work in a sandbox environment. My question is how can I capture these errors and log them (to Sentry in my case)? Thecatch
block ofrequestPaymentMethod()
doesn't get invoked since this error occurs before executingrequestPaymentMethod()
.The text was updated successfully, but these errors were encountered: