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 account token failure on latest API version #822

Merged
merged 1 commit into from
Mar 4, 2019

Conversation

mshafrir-stripe
Copy link
Collaborator

Summary

  • Create ApiVersion class to represent a Stripe API version
  • Overload Stripe#createAccountTokenSynchronous methods that accept ApiVersion argument
  • Update AccountParams to support individual and company business types

Motivation

Fixes #821

Testing

  • Add tests for 2019-02-19 API changes to the Account API

**Summary**
- Create `ApiVersion` class to represent a Stripe API version
- Overload `Stripe#createAccountTokenSynchronous` methods that
  accept `ApiVersion` argument
- Update `AccountParams` to support `individual` and `company`
  business types
- Add tests for `2019-02-19` API changes to the Account API

**Motivation**
Fixes #821
@mshafrir-stripe mshafrir-stripe force-pushed the fix-account-token-creation branch from 95a91cc to a520aee Compare March 4, 2019 19:59
@mshafrir-stripe mshafrir-stripe merged commit e7ff53c into master Mar 4, 2019
@mshafrir-stripe mshafrir-stripe deleted the fix-account-token-creation branch March 4, 2019 20:23
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.

3 participants