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

Make account_holder_name/account_holder_type truly optional #487

Merged
merged 1 commit into from
Oct 25, 2017

Conversation

brandur
Copy link
Contributor

@brandur brandur commented Oct 25, 2017

When encoding a bank account we shouldn't send account_holder_name or
account_holder_type unless they're given values. Sending an empty
value will cause an API error in cases where the request would have
otherwise been valid.

Fixes the other part of #485.

r? @remi-stripe

When encoding a bank account we shouldn't send `account_holder_name` or
`account_holder_type` unless they're given values. Sending an empty
value will cause an API error in cases where the request would have
otherwise been valid.

Fixes the other part of #485.
Copy link
Contributor

@remi-stripe remi-stripe left a comment

Choose a reason for hiding this comment

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

LGTM

@brandur-stripe
Copy link
Contributor

Thanks Remi.

@brandur-stripe brandur-stripe merged commit d572f66 into master Oct 25, 2017
@brandur-stripe brandur-stripe deleted the brandur-account-holder-optional branch October 25, 2017 18:56
nadaismail-stripe pushed a commit that referenced this pull request Oct 18, 2024
* added phase object to open spec

-added phase object to open spec
-cleaned up data mapper html

* adding loading state in js back

* removing garbage line in html

* Fixing duplicated code in open api spec

* Update sfdx/force-app/main/default/lwc/dataMappingStep/dataMappingStep.js

Co-authored-by: mbianco-stripe <[email protected]>

* updated switch breaks to returns based on PR comments

* Add TODO comment

Co-authored-by: Mike Bianco <[email protected]>
Co-authored-by: mbianco-stripe <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants