#theproofficial

1 messages · Page 1 of 1 (latest)

obsidian drumBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

fringe quarry
#

Here's how it looks:

#

And as you can see, the country is greyed out, cannot change it:

#

I would not be surprised if this is only a test-mode issue, since there are quite a few restrictions put in place regarding this, but I must make sure this will work one going live.

karmic meadow
#

When you created the account did you specify the country?

fringe quarry
#

In the code I only have the basic structure: ```if (!user.connectedStripeAccountId) {
// If the user doesn't have a connected Stripe account, create one for them
const account = await stripe.accounts.create({
type: "express",
capabilities: {
card_payments: { requested: true },
transfers: { requested: true },
},
email: user.email,
// Add additional details for the account, if needed
});

    user.connectedStripeAccountId = account.id;
    await user.save();
  }```
#

I would prefer for the user to be able to choose everything themselves, so I only add their email.

#

After this code, I just link them to the page from which I've sent you screenshots // Create an Account Link for the user const accountLink = await stripe.accountLinks.create({ account: user.connectedStripeAccountId, refresh_url: `${process.env.NEXTAUTH_URL}/api/stripe/refresh-account-link?accountId=${user.connectedStripeAccountId}`, return_url: `${process.env.NEXTAUTH_URL}/balance`, type: "account_onboarding", });

#

Also nowhere in my code do I even state Slovakia.

#

or "SK" for short

karmic meadow
#

Yeah I see, can you provide an example link here so I can try and see my country?

fringe quarry
#

I also checked my Connect Settings and they obviously allow other countries:

karmic meadow
#

Ok so it's default to SK because your platform is SK. But I can change the country here

fringe quarry
karmic meadow
#

It will always needs a default country to display. Do you want to change the default value?

#

I believe It's selectable already

fringe quarry
#

If we have a user from the US, they won't be able to use a home address in Slovakia, since they don't have one.

karmic meadow
#

I see, so that could be restriction with Express with your Platform home country (ie. you can't have Connected Account outside your country). Best to clarify with Support team

mossy swiftBOT
#

:question: Have a non-technical question, account issue, or need one-on-one support?
We wish we could help, but this community is focused on developers and technical discussions. Our support team will be able to assist you better than we can: https://support.stripe.com/contact

fringe quarry
#

It says that it should allow setting up express accounts in all these countries:

karmic meadow
#

That's where you would want to clarify 🙂

#

Support team has more knowledge on country restriction with Connect

fringe quarry
#

Alright.

karmic meadow