#michyous_error

1 messages · Page 1 of 1 (latest)

waxen burrowBOT
#

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

📝 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.

compact ember
#

req id: req_NV6WWDCRhl5vAM

hidden thunder
#

Hi, could you find the request id req_xxx

waxen burrowBOT
hidden thunder
#

Looks like you are calling it from frontend?

compact ember
#

actually it is from api

hidden thunder
#

Please paste the req_xxx value here in text. It would be much appreciated. Thanks

compact ember
#

req id: req_NV6WWDCRhl5vAM

#

this is what you are looking for?

maiden spade
#

You can't modify Express accounts via API, after they went through onboarding.

#

That's why the call fails.

compact ember
#

yes someone told me that yesterday but they closed the ticket and i couldnt speak forward

#

first can i please ask how do you know it is an express account?

#

and what do you suggest that i do in this case?

#

shall i find a work around? where i can delete the company and create a new one and then assign it to driver?

#

because mistakes can happen in the information of the company after onboarding and i should be able to edit

maiden spade
#

What do you mean by "driver"? You mean the Connected account?

compact ember
#

basically we have driver in our dashboard these drivers are registered to our app

#

but a driver cannot be created without having a company first

#

we have a vtc app like uber

#

so there is a relation between driver and company

maiden spade
compact ember
#

and i would like to be able to edit the company

maiden spade
compact ember
#

okay thank you

#

what do you suggest would be the best thing to do to achieve the result i need?

#

because i have a dashboard where i have the information of company and it is linked to stripe

#

if i update the info using stripe dashboard how can i also update on my dashboard?

maiden spade
compact ember
#

usually our drivers they dont connect to stripe

#

they only connect to our app

#

To clarify, our drivers don’t directly interact with Stripe or the Express Dashboard — they only use our app. We have an internal dashboard where we manage both drivers and their associated companies.

My goal is to be able to update the company details through our API and reflect those changes both in Stripe and in our dashboard. However, since mistakes can happen with company information after onboarding, I need a way to either:

Allow us to update company details through our API.
Or, as a workaround, be able to delete a company and create a new one, then reassign it to the driver without breaking our existing flow.
What would you recommend as the best approach to achieve this, considering that we can't modify Express accounts after onboarding?

maiden spade
compact ember
#

i believe it s what we are using now

maiden spade
#

No, you're creating Connected accounts of type Express, which are supposed to use the Stripe Express Dashboard themselves. Custom accounts make Stripe "invisible" and you perform all interactions with it via API, and your users in turn use your own UI.

compact ember
#

so instead of connected accounts of type express i should use custom accounts?

maiden spade
#

Yes

compact ember
#

so basically as i understand express connected accounts, allow drivers to handle stripe interactions themselves

#

so i can send them an onboarding link and they will update their company information by themselves and then it works on stripe? but on my dashboard ii am not able to update using stripe api

#

on the other hand we have custom accounts where i will be able to update company using API?

#

if my app is already launched and we have 5,000 drivers, will it be a hassle to migrate from express to custom?

#

will it affect anything?

maiden spade
#

I believe you will need to re-create all accounts.
Generally, implementing custom account onboarding could be very demanding, so I wouldn't recommend you to do it yourself unless you have a strong reason. I believe the existing express accounts went through Stripe-hosted onboarding already? In that case, it wouldn't be much different if you allow them to update their settings using a similar Stripe-hosted UI.

compact ember
#

so you suggest that i allow them to update their company using express dashboard?

#

by sending them a link?

#

Thank you, Vanya. Yes, the existing Express accounts have already gone through Stripe-hosted onboarding. I understand that switching to Custom accounts would require re-creating all the accounts and could be quite complex.

Given this, would you recommend continuing with Express accounts and allowing users to update their company details via the Stripe-hosted dashboard? If so, how can we ensure that updates made in the Stripe dashboard are synced with our internal dashboard automatically?

Also, are there any alternatives to this that would give us more control over updates while keeping the existing setup intact?

maiden spade
#

internal dashboard
Do you mean Stripe Dashboard?

compact ember
#

no our company dashboard

maiden spade
#

Also, are there any alternatives to this that would give us more control over updates while keeping the existing setup intact?
I don't see a better solution really.

compact ember
#

because they should be synced

maiden spade
#

When a Stripe account is updated they emit an account.updated event. You will be able to get some information from there.

compact ember
# maiden spade I don't know how your company dashboard works and where it takes its data curren...

When we create a company in our system, we also create a corresponding Stripe account. The process involves interacting with Stripe via their API to establish the account. Here's a breakdown:

We first collect company data (address, owner information, etc.).
Using that data, we make a call to the Stripe API to create an account specifically for that company, storing the Stripe account ID and related details in our database.
This Stripe account is tied to the company's profile in our internal dashboard. So, any financial operations or updates to the company's financial information are handled through the Stripe account.
For example, in the code I shared, after receiving the company creation payload (with addresses, owner info, etc.), we call this.stripeConnect.createAccountFor() to create the account on Stripe's side. We then proceed to store both the company and the Stripe account information (like the stripeAccountId and bank details) in our database.

Whenever a company or its Stripe account is updated, we sync the updates between our database and Stripe using the Stripe API (as shown in the updateStripeAccount method).

maiden spade
#

Why do you need to store the same information, e.g. bank details, in your database?

compact ember
#

Thanks, Vanya. The reason we store some company information, like bank details, locally is primarily for performance and user experience. We don’t want to go to Stripe every time we need to display company details in our dashboard — this ensures faster access and reduces reliance on API calls.

Additionally, it allows us to track historical changes in certain fields, maintain data consistency across our systems, and manage integrations with other tools more efficiently. Sensitive data is, of course, encrypted and handled securely.

#

Here’s a quick recap based on our conversation, along with a couple of suggestions to make sure we’re fully aligned:

Updating Company Information: You mentioned that drivers or company owners should be able to update their information directly in the Stripe Express Dashboard. Alternatively, we can provide them with a new onboarding link if needed.

Webhook for account.updated Event: After they update their information in Stripe, I will implement a webhook to handle the account.updated event. This will automatically sync any updates (e.g., company details, bank information) made on Stripe with our internal dashboard.

#

this is the only solution right?

maiden spade
#

It will be wrong to say it's "the only solution", but I think this is a solution that will fit your use case.

compact ember
#

finally last question. In our case, users (drivers or company owners) never directly interact with Stripe. They only use our app. Could you please explain how they would be able to connect to the Stripe Express Dashboard to update their account if they don’t normally interact with Stripe directly? Would they need credentials, or is there a way to provide a link that allows them to access their account without prior setup?

maiden spade
#

They do actually interact with Stripe directly, when they're going through onboarding.
The articles I shared above contain instructions on how to use onboarding links as well as access Express Dashboard.

compact ember
#

thank you so much vanya

#

i would like to keep this conversation

#

so i can go back to it while i work on solving the issue

#

thank you so much for your time

#

one more thing, sorry for disturbing you

maiden spade
#

No worries, what's the question?

compact ember
#

basically when the driver logs in to our app they cannot go online before they fill their stripe information, this is what you mean by interacting with stripe directly? and after that they are onboarded

#

what am i thinking is that can i add a section in my app where you will be able to update your stripe info? when you click on it just like the onboarding but this time it will allow you to update?

waxen burrowBOT
maiden spade
compact ember
#

we open a browser for user to onboard

maiden spade
#

type=account_update

untold axle
#

👋 taking over for my colleague. Let me know if there's any follow-up Qs I can answer!

compact ember
#

amazing

compact ember
#

Hello is someone there please?

untold axle
#

yes sure, I'm happy to answer any follow-up as I mentioned earlier

compact ember
#

yes one sec and i will let you know

#

basically i have spoken with vanya about not able to updating company info on my internal dashboard

#

he said it s not possible using express acccount and the user should update their company info on the express dashboard

#

so i am trying to find a way where i allpw user to access the express dashboard from our app to update their company

#

but this process takes a bit time

#

and now i have urgent cases of 2 drivers

#

in which i would like them to update their company info

#

so how can i for now just send them a link

#

to update their info

#

as urgent case

#

another question is that will they be able to update their SIREN number?

untold axle
#
#

they will be able to help you out