#anurags_api

1 messages ¡ Page 1 of 1 (latest)

gentle kindleBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1308386901618589726

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

potent ledge
#

Hi

potent ledge
#

Yes I have already implemented that. The problem I am having is when the user submits there card details then I want it to be part of connect account' customer not part of the main account

#

it is specific to stripe.js, how can I store my card to connected account

median viper
#

what code do you use currently to save the card?

potent ledge
#

The token generated from this method stripe.createToken(card) gets invalid for connected account

median viper
#

then make sure that when you create the stripe object you pass the ID of the connected account, so the token object is created on that account.

potent ledge
#

Let me try

potent ledge
#

That worked thanks