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

API: Include stripe_error_message if returned for error messages #49

Closed
bbangert opened this issue May 15, 2019 · 4 comments
Closed

API: Include stripe_error_message if returned for error messages #49

bbangert opened this issue May 15, 2019 · 4 comments
Assignees

Comments

@bbangert
Copy link
Member

Stripe's error API includes a message attribute that is usable for display to the user regarding what went wrong. This message if available should be extracted from the error and included as a separate field in the error JSON response so that FxA can pass it to the user-agent for display.

@marty331
Copy link
Contributor

Jira Issue Created - https://jira.mozilla.com/browse/SS-226

@lmorchard
Copy link

Noting from a slack thread: I also filed #70, which asks for type, code, and decline_code in addition to message - we can probably display message for en-US, but will likely need more error context to display customized and/or localized messages

@marty331
Copy link
Contributor

@lmorchard I've updated the Jira issue with this addtional info and linked issue #70 as well.

@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

4 participants