Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug in verification-document hbs that does not show if it's not errored #1390

Merged
merged 1 commit into from Oct 4, 2017

Conversation

joshsmith
Copy link
Contributor

What's in this PR?

This fixes a bug that displays an error (and the verification document itself) if the verification document process has errored somehow.

@joshsmith
Copy link
Contributor Author

This requires a test before merging. I haven't gotten to it yet.

Copy link
Contributor

@begedin begedin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really, this looks good to merge, but I have a small question that might need addressing.

</p>
{{#if (eq status 'errored')}}
<p class="error">Stripe was unable to verify your identity with the document you provided. Please try again.</p>
{{/if}}
{{#if error}}
<div class="error">{{error}}</div>
Copy link
Contributor

@begedin begedin Oct 4, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We got a div.error and a p.error here. Can they be shown at the same time and are we ok with how the margins are in that case?

@joshsmith joshsmith force-pushed the fix-bug-in-verification-document branch from d46b10c to e127750 Compare October 4, 2017 18:35
@joshsmith joshsmith merged commit a0a747f into develop Oct 4, 2017
@joshsmith joshsmith deleted the fix-bug-in-verification-document branch October 4, 2017 20:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants