#Slanfan-connect

1 messages · Page 1 of 1 (latest)

uneven ocean
#

Do you have a screenshot that shows the issue?

obsidian root
#

My test user just created an account and we are about to do onboarding but I can see the user has a Swedish flag

uneven ocean
#

How did you create the account?

obsidian root
#

try { account = await stripe.accounts.create({ type: 'express', capabilities: { card_payments: { requested: true, }, transfers: { requested: true, } }, business_type: 'individual', business_profile: { name: ${playerDoc.name.first} ${playerDoc.name.last} @ Tolaria, product_description: 'Event Management', url: 'https://tolaria.app', support_email: playerDoc.email, }, individual: { email: playerDoc.email, first_name: playerDoc.name.first, last_name: playerDoc.name.last, metadata: { playerDocId: playerDoc.docId, playerUid: playerDoc.uid, }, }, metadata: { playerDocId: playerDoc.docId, playerUid: playerDoc.uid, } }) } catch (error) { console.log([ERROR] ${error.message}) resolve({ text: ERROR: Call to stripe returned with an error, ${error.message} }) }

#

so basically I call stripe.accounts.create(params)

uneven ocean
#

You need to be passing in the country of the Account when you create it, otherwise it defaults to the platforms country

obsidian root
#

OK thanks. I'll try that.

obsidian root
#

@uneven ocean is the country an own property or does it need to be part of the individual?

uneven ocean