#alessandro_api

1 messages Β· Page 1 of 1 (latest)

obtuse creekBOT
opal creekBOT
#

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.

obtuse creekBOT
#

πŸ‘‹ Welcome to your new thread!

⏲️ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1247259854179930164

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

obsidian pasture
glossy yarrow
#

@obsidian pasture const account = await stripe.accounts.retrieve('acct_1Nv0FGQ9RKHgCVdK'); response doesn't contain name,
company,
street1,
city,
state,
zip,
country,
phone,
email, informations

obsidian pasture
#

Looking in to it

#

Do you know when you added that data to this account?

glossy yarrow
#

during the onboarding process

#

17/05/2024

obsidian pasture
#

I don't see any record of that info being added on the 17th. If you look at that account in the dashboard does it have that info?

glossy yarrow
obsidian pasture
#

When that data is populated, it should be in the company property on the Account object. You should be able to see it on a Custom account. Can you try onboarding a new account and retrieving it with that API call to see if this is just happening with that account or if it is a general issue for you? https://docs.stripe.com/api/accounts/object#account_object-company

glossy yarrow
obsidian pasture
#

Is that the summary page at the end of onboarding? Or some other page? If you submit those details do they show up on the account object when you retrieve them?

glossy yarrow
#

I also save the object in a database, but I don't see the address

#

this is the object, I'm in test mode

glossy yarrow
obsidian pasture
glossy yarrow
#

I'm trying to list person but StripePermissionError: This application does not have the required permissions for this endpoint on account 'acct_1PNgSR045qrSroCu'.

#

I'm coming crazy

#

πŸ˜†

obsidian pasture
#

Does your other account have a person attached and if so can you retrieve it? acct_1Nv0FGQ9RKHgCVdK

#

We restrict some fields based on connect account type. That second account that you sent is an Express account, but the first account was a Custom account, which you should have more access to

glossy yarrow
#

same error

#

this is not my account acct_1Nv0FGQ9RKHgCVdK

#

My accounts are both Express accounts

obsidian pasture
#

Gotcha, that ID was in example code you sent earlier so I had assumed you had access.

#

So unfortunately I don't think you can retrieve the info that your users put in to your onboarding flow. A workaround may be to collect their address before you create the account and then supply it in your account creation call

glossy yarrow
#

onst account = await stripe.accounts.create({
type: 'express',
}); if a change type to custom i have a full control ?

obsidian pasture
#

I think you will be able to access Person objects but have not been able to test myself yet.

obtuse creekBOT
glossy yarrow
#

it works, but create other problem

#

I retrieve the custome address but, customers cannot access to their stripe account. Identity verification requirements are updated as laws and regulations change around the world. If you’re building your own onboarding flow to onboard accounts, you must plan on reviewing and updating onboarding requirements at least every six months.

#

too effort

gritty obsidian
#

πŸ‘‹ taking over for my teammate. Just to be clear, you mean you don't have sufficient developer resources to take on this responsibility?

glossy yarrow
#

Sure, I'm developing the marketplace on my own.

#

Retrieving the Seller's address is convenient because it allows for the creation of a shipment and the dynamic calculation of the shipping rate, but apparently, with express accounts, there are restrictions on retrieving this data.

glossy yarrow
gritty obsidian
#

No, this isn't possible. As Pompey mentioned, you could collect their address separately/using your own input form then pass the address when creating the Express account