#rajathans
1 messages · Page 1 of 1 (latest)
Hello, can you send me the request ID for that request (req_123)? It should be in your dashboard logs or you can likely see it if you printed out the full error object https://dashboard.stripe.com/test/logs
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Thank you, checking further in to the error
Ah, so it looks like that error is happening because you are trying to clone a token from the platform account to the connected account
As the error notes, that is no longer allowed because of data locality regulations
So, the alternative would be collecting the card details again and tokenizing them on the connected account
Does that make sense to you or do you need more info?
let me try
how to do that?
So, the alternative would be collecting the card details again and tokenizing them on the connected account - this
we are doing this rn in frontend
const tokenResponse = await createToken({...card, type: 'Card'});
When initializing Stripe.js you will want to pass it the ID of the connected account https://stripe.com/docs/js/initializing#init_stripe_js-options-stripeAccount
Then when you make that createToken call it will be made as that account