Skip to content
Snippets Groups Projects
Commit e3167f2f authored by Jean-Paul Calderone's avatar Jean-Paul Calderone
Browse files

Do a better job generating sensible error results from the payment endpoint

Stripe CardError is now the only error to receive a "Stripe charge didn't
succeed" response.  Other Stripe errors can now fail in other ways.

This is a better client interface and makes HTTP status codes more accurately
reflect the failure which makes them more usable as a monitorable metric.
parent 18f3d56e
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment