Can we have an example for handling errors with Braintree payment? #568
Unanswered
planetaska
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Can you provide the full stacktrace for the error? I only see one line in actionpack which isn't helpful to track down what happened. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Our Braintree payments are working, but the issue is when a credit card is not valid, the Pay gem will throw a 500 error and we need a way to rescue this.
Here is the trace message:
It seems I can't rescue this behavior with a normal rescue like this:
Is there anyway we can recover from this error?
Beta Was this translation helpful? Give feedback.
All reactions