#Yohan[3A] - account token
1 messages · Page 1 of 1 (latest)
Happy to help, can you tell me more about your problem?
Ah, I see your screenshots. Can you send me the snippet of code that is raising that error?
Thanks
I use django for the development of a market place, and I use connect custom the problem is that my market place is based in france so stripe asks me to use a token account for the creation of an account link, so I followed the doc but it seems that django does not execute the scripte.js provided by stripe
Thanks for the context, can you send me the python code where our API is saying that you are passing an empty string for account_token?
I am looking for the part of your code that calls stripe.Account.create directly
There
Thank you. I found the log of this call on our side, it looks like you did actually pass "" there. Where does the token variable come from there? https://dashboard.stripe.com/test/logs/req_ctSGycuz9Le7WE
It looks like we are typically expecting a token created from another API call, but the parameter is optional, so if you don't have a token you can just exclude the account_token parameter
https://stripe.com/docs/api/accounts/create#create_account-account_token
Here is the call for reference. Do you know if your code typically makes this call as well?
https://stripe.com/docs/api/tokens/create_account
how to recover the token that the javascript code will look for at stripe
I know but, when i create account link without token i got an error because my market place is based in france