#antonio-giano_unexpected

1 messages ¡ Page 1 of 1 (latest)

wind gullBOT
half flaxBOT
#

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.

wind gullBOT
#

👋 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/1238560276278808576

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

lyric jay
#

I've written as follows on my code:
``
if (accountId == undefined) {
var { id } = await this.stripe.accounts.create({
type: "express",
capabilities: {
transfers: {
requested: true
},
card_payments: {
requested: true,
}

                },
                business_type: "individual",
                country: undefined
            })
        }
        else
            id = accountId


        const accountLink = await this.stripe.accountLinks.create({
            account: id,
            return_url: `${req.headers.origin}/login`,
            refresh_url: `${req.headers.origin}/create-account-professional?accountId=${id}`,
            type: "account_onboarding",
        });

        return accountLink.url

``

#

I simulated the following site: https://rocketrides.io/ and it is given an possibility to choice an country and type company

#

In my project, this section is not displayed by switching directly to the 'View personal information' section with the country being set automatically, without the possibility of changing it.

tired oracle
#

Okay but when you are presented with the Stripe hosted onboarding, that is where you do not see the option to set a Country?

lyric jay
wind gullBOT
remote briar
#

Hi, stepping in and catching up.

lyric jay
#

Okay, i will await further news

remote briar
#

Hi, it looks like you're using Connect but not seeing country or company type when you create the AccountLink. From the code you shared above, it looks like you're specifying business type as individual when you create the account, https://docs.stripe.com/api/accounts/create#create_account-business_type. This prefills the data and likely the reason for not seeing a drop down option. Can you create an account without passing this business type? Also, you seem to be passing the country parameter with an 'undefined' value. I recommend that you pass the county where you want this express account to be create in: https://docs.stripe.com/api/accounts/create#create_account-country. If you do not pass a country it will be defaulted to your Platform's country.

lyric jay
#

i will try without an business type field. One moment

remote briar
#

Sure!

lyric jay
#

Curiously, removing that field, is displayed as follows:

#

without country

#

Removing an country field as well, is displayed the same section

remote briar
#

yeah, the coutry should default to the country of the Platform Account.

#

If you click on the arrow, do you not see other options?

lyric jay
#

Isn't possible to have an possiblity to choice an country? This is important for the UI/UX in my platform.

lyric jay
#

As you seen that, the country field is setting automaticaly, So, i haven't got an possibility to choice that

remote briar
#

That is expeocted. You would need to build this on your end and let them choose a country before creating the Account. Then, pass that county when you create the Account.

lyric jay
#

Maybe, does the site involve an outdated version of stripe?

remote briar
lyric jay
#

Got it. So, in this case, i should developer an section with the option of the country and business type. Understood!

#

One question: how i can set the country of my platform on dashboard stripe?

remote briar
#

When you signed up at with Stripe, https://dashboard.stripe.com/register you would have given the choice to choose the country. Once that is set up, if you want to create another Platform in another country, you can add it on your Dashboard on your existing account. Log in > on the upper left corners you can click on the Business name > Create new account.

lyric jay
#

Got it. Once that is set up, isn't possible to set up the country of the same account?

remote briar
#

Yes, if the business details are different and if you require two accounts in the same country, you should be able to.

lyric jay
#

I mean the single account without creating an new account, sorry

remote briar
#

Ah, no. That is not possible

lyric jay
#

Got it, thanks