HomePhabricator

Improve UI/UX when users try to add an invalid card with Stripe

Description

Improve UI/UX when users try to add an invalid card with Stripe

Summary: Ref T13244. See PHI1052. Our error handling for Stripe errors isn't great right now. We can give users a bit more information, and a less jarring UI.

Test Plan:
Before (this is in developer mode, production doesn't get a stack trace):

Screen Shot 2019-02-08 at 7.12.49 AM.png (546×2 px, 136 KB)

After:

Screen Shot 2019-02-08 at 7.12.23 AM.png (389×604 px, 34 KB)

Reviewers: amckinley

Reviewed By: amckinley

Maniphest Tasks: T13244

Differential Revision: https://secure.phabricator.com/D20132