Skip to content
This repository has been archived by the owner on Oct 13, 2021. It is now read-only.

Add more detailed properties to error responses for Stripe errors? #70

Closed
lmorchard opened this issue May 22, 2019 · 2 comments
Closed
Assignees

Comments

@lmorchard
Copy link

When I submit a known bad card to update payment for a customer, we get a response with a generic error like so:

{"message": "Request req_igSOxiiS3X3LWv: Your card has insufficient funds."}

We'd like to display some more tailored messages to the end-user and parsing this message for what happened may be difficult.

Could we maybe get some additional Stripe API error properties like type, code, decline_code, and message passed along in the subhub error response?

@marty331
Copy link
Contributor

I have linked this issue to Jira Item: https://jira.mozilla.com/browse/SS-226 as well as #49 to make sure all aspects are covered.

@jackiemunroe jackiemunroe self-assigned this May 30, 2019
@jackiemunroe
Copy link
Contributor

This has been updated with: #81

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants