-
Notifications
You must be signed in to change notification settings - Fork 662
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
Received unknown parameter: account[legal_entity] #821
Comments
@rafikmechria thanks for filing. I'm able to reproduce the issue and will put up a fix shortly. |
**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
@rafikmechria I put up a fix (#822). Feel free to test it and see if it resolves your issue. |
**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
@rafikmechria in the mean time, are you still able to roll back to a previous version? You have 72 hours to roll back. |
Why you don't just release a new sdk update ? |
@rafikmechria I can do that once the PR merges and we go through our release procedures. It was a suggestion in case this is a blocking issue and roll back is still a viable option. |
My stripe account is new and points me directly to the new version, How do they remove legal entity parameters in the api without preparing an update for the sdks(Android,ios js)?? |
**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
**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
@rafikmechria I just released |
alright , thanks |
Summary
I am using the new api version of stripe :2019-02-19 last version on the platform.
there is a bug or missing development stuff in stripe-android integration when calling this method :
Token token= stripe.createAccountTokenSynchronous(AccountParams.createAccountParams(true,LegalEntityMap))
The method keep returning :
Received unknown parameter: account[legal_entity]
Since you removed the legal_entity parameter from your new api and updated with individual parameter , normally you should update that too in the stripe android SDK integration.
Please respond, thanks.
Code to reproduce
Android version
Impacted devices
Installation method
SDK version
Other information
The text was updated successfully, but these errors were encountered: