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

createToken - Account type is not supported yet #427

Closed
nihedjaz opened this issue Jul 15, 2021 · 4 comments
Closed

createToken - Account type is not supported yet #427

nihedjaz opened this issue Jul 15, 2021 · 4 comments
Labels
enhancement New feature or request P2 Address these issues last

Comments

@nihedjaz
Copy link

Describe the bug
I am trying to implement the dependency's createToken function. In the params argument I have passed a type.

When I call the createToken function like so:
await createToken({ type: 'Account' });

I get the returned error:
Account type is not supported yet

Additional context
stripe-react-native version: "@stripe/stripe-react-native": "^0.1.4",

Please let me know what kind of extra information you need from me in order to debug, thanks!

@thorsten-stripe
Copy link
Contributor

Account tokens are not supported yet. For the time being please create accounts on the server side.

@thorsten-stripe thorsten-stripe added enhancement New feature or request P2 Address these issues last labels Jul 16, 2021
@clusterson
Copy link

Hi! is the same for "BankAccount" ?

Thanks!

@charliecruzan-stripe
Copy link
Collaborator

Creating a token with a BankAccount was added in #591, but I believe this issue is referring to Connect Accounts- https://stripe.dev/stripe-ios/docs/Classes/STPAPIClient.html#/Connect%20Accounts

@charliecruzan-stripe
Copy link
Collaborator

I'm going to close this in favor of #842, they're asking for the same thing but that other issue is more specific.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request P2 Address these issues last
Projects
None yet
Development

No branches or pull requests

4 participants