#maurice-lafeve_error

1 messages ¡ Page 1 of 1 (latest)

dry sapphireBOT
#

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

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

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.

steep swallow
#

First test I define business-type only on the token creation like that :
TOKEN CREATE:
"account":
{
"business_type":"individual",
"tos_shown_and_accepted":true,
"individual":
{
"first_name":"Bboris", "last_name":"Llefevre", "email":"boris3.13@hotmail.fr", "dob":{"day":1,"month":1,"year":1990},
"address":{"line1":"20 b\u00e2t SDH, Prapoutel","city":"Les Adrets","postal_code":"38190","country":"FR"},"phone":"+33679162746","id_number":"0000000000000"}
}

ACCOUNT CREATE
{
"account_token":"ct_1RadEhBUvt7vlBRS6lCNfDXL",
"type":"custom",
"capabilities":{"transfers":{"requested":true}},
"business_profile":{"mcc":"5699","product_description":"Vente de lunettes d'occasion sur marketplace","url":"https://test-secondemain-fr.celine-opticien-lunetier.fr/module/s2i_sell_your_glasses/seller?seller=13"},"metadata":{"seller_id":13,"customer_id":59608,"marketplace":"glasses"}
}

In this case the account creation works. However, when I return to the onboarding (embedded component), I see that the business_type is a company. If I try to modify it, it does not offer me the individual type.

#

Secondly I try to define business_type only on the account create fonction. Like that :

#

TOKEN CREATE:
{
"account":
{
"tos_shown_and_accepted":true,
"individual":
{
"first_name":"Bboris","last_name":"Llefevre","email":"boris3.13@hotmail.fr","dob":{"day":1,"month":2,"year":1989},
"address":{"line1":"20 b\u00e2t SDH, Prapoutel","city":"Les Adrets","postal_code":"38190","country":"FR"},"phone":"+33612345678","id_number":"0000000000000"}
}

ACCOUNT CREATE
{
"account_token":"ct_1RadHsBUvt7vlBRSouSssF8H",
"business_type":"individual",
"type":"custom",
"capabilities":{"transfers":{"requested":true} },
"business_profile":{"mcc":"5699","product_description":"Vente de lunettes d'occasion sur marketplace","url":"https://test-secondemain-fr.celine-opticien-lunetier.fr/module/s2i_sell_your_glasses/seller?seller=14"},"metadata":{"seller_id":14,"customer_id":59608,"marketplace":"glasses"
}

In this case I have error : arameter 'business_type' cannot be used in conjunction with an account token. To set this field create a token with the desired changes. Pass the token with 'account_token' in a request without setting 'business_type'.

limber smelt
#

Hi, can you confirm what the desired behavior is here specifically?

steep swallow
#

I create an 'individual' account but when I go to onboarding I see this:

#

if I set the business_type on individual when creating the token, the account creation works. However, when I return to the onboarding (embedded component), I see that the business_type is a company. If I try to modify it, it does not offer me the individual type.

limber smelt
#

Can you share the request id for that account creation please?

steep swallow
#

token create request id : req_GBOu3uOIBvW1Mc
account create request id : req_EozLp4zvLSGVUg

limber smelt
#

Does this not say individual?

steep swallow
#

no. It is a type of compagny. In France we have a type of compagny named "individual compagny" but it is not the same as an individual person

limber smelt
#

Do you have the URL where I can attempt to reporduce this?

steep swallow
#

Yes, it's possible, but the process is quite complex. You need to create an account on the site, then create a seller account, and finally, you'll be able to access Stripe's embedded onboarding. The entire site is in French. Are you sure you want to do this?

#

If you really want to do this, I can make you a tutorial

limber smelt
#

I can try to reproduce this on my own account too if that is too complex. Let me try. The flow here is that you're creating an account token, then passing that toke on the account creation right?

steep swallow
#

that's right

#

I create a "custom" acount

#

TOKEN CREATE:
"account":
{
"business_type":"individual",
"tos_shown_and_accepted":true,
"individual":
{
"first_name":....
....
}

#

ACCOUNT CREATE
{
"account_token":"ct_XXX",
"type":"custom",
"capabilities":{"transfers":{"requested":true}},
"business_profile":{"....}
}

limber smelt
#

I'm trying to repro on my end, hang tight

#

I see this:

#

When I input the same details as I did on the token creation, it matches and works

#

I'm using my French Platform account and creating a French Connected Account

#

Are you still here?

steep swallow
#

Ok I will test. Plz d'ont close the ticket. I come back to you after my tests

limber smelt
#

I will be here

dry sapphireBOT