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

Support for redirect.failure_reason attribute #471

Merged
merged 1 commit into from Oct 5, 2017

Conversation

ob-stripe
Copy link
Contributor

r? @brandur-stripe
cc @stripe/api-libraries @stan-stripe

Adds support for the new redirect.failure_reason attribute on sources.

@stan-stripe
Copy link
Contributor

LGTM (thanks for handling!)

source.go Outdated
RedirectFlowFailureReasonUserAbort RedirectFlowFailureReason = "user_abort"
RedirectFlowFailureReasonDeclined RedirectFlowFailureReason = "declined"
RedirectFlowFailureReasonProcessingError RedirectFlowFailureReason = "processing_error"
)
Copy link
Contributor

Choose a reason for hiding this comment

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

Minor OB, but we recently went through and alphabetized everything in the library that we could find. Unfortunately there's no CI check on this, but would you mind giving this list of consts the same treatment? Thanks!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

👍

@brandur-stripe brandur-stripe merged commit c05568f into master Oct 5, 2017
@brandur-stripe brandur-stripe deleted the ob-failure-reason branch October 5, 2017 16:58
@brandur-stripe
Copy link
Contributor

Released as 28.1.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants