#irene98_api

1 messages Ā· Page 1 of 1 (latest)

wicked canopyBOT
#

šŸ‘‹ 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/1288884740727767172

šŸ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

fleet quartz
#

const _product = await stripe.products.create( { name, description, metadata: { company_id, company_name, collection_start_time, collection_end_time, collection_date, category, vegan, vegetarian, quantity, }, }, { stripeAccount: <connected_account_id>, } );

Here is the snippet that creates the product.

keen ember
#

So yeah looks like the connect account id isn't being passed to the stripe account header in the request

#

Can you log the value of connected_account_id prior to the product create call?

#

Or try hardcoding the account id in stripeAccount?

fleet quartz
#

Nevermind my guy, I was connected to the remote server instead of local šŸ¤¦ā€ā™‚ļø . Thank you for the quick reply and have a nice day.

keen ember
#

Got it

#

Same to you!