-
Notifications
You must be signed in to change notification settings - Fork 22
Show users any errors in Stripe token creation #10
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
base: master
Are you sure you want to change the base?
Conversation
| // context.fail(err); | ||
| //} else { | ||
| // context.succeed({ status: charge.status, success : true }); | ||
| //} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wouldn't be able to pull these changes in with this PR; they appear to be specific to your use case.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, ugh. I keep forgetting that PRs aren't frozen in time, so you can't continue to push to your own branch. Can you pull in only that first commit? Or do I need to re-fork and make another?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You would need to make a new PR with just the one commit that adds the error logging.
| },function(err, token){ | ||
| if (err) { | ||
| grunt.log.writeln(err); | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
No description provided.