#Tomato - Account Tokens
1 messages · Page 1 of 1 (latest)
Hello! You should be able to use createToken to create an Account Token in React Native: https://stripe.dev/stripe-react-native/api-reference/modules.html#createToken
My developer said that there are no fields for ID documents for example
Ah, looks like Account Tokens aren't fully supported yet: https://github.com/stripe/stripe-react-native/issues/427
You'll need to create them server-side for now.
So how could i create them if stripe does not allow this?
You would create them on your server.
Stripe showed an error when creating a token on the backend
"
Connect platforms based in FR must create Custom accounts via account tokens. For documentation on account tokens, see https://stripe.com/docs/connect/account-tokens.
"
Ah, you have a French platform. Gotcha. In that case you'll need to create the Account Token client-side. Since React Native doesn't support Account Tokens yet you'll likely need to use a web view that opens a page hosted on your server using Stripe.js to create the Token.
Maybe is there another way to solve this problem?
Probably not without switching away from React Native. Will the web view not work for you?
This is a very difficult crutch
If there was an easier way I would recommend it, but the React Native SDK doesn't support Account Tokens yet. You'll either need to wait until it does or use an alternative like the web view.
Ok, thank u