#ivan_code

1 messages ยท Page 1 of 1 (latest)

upbeat dirgeBOT
#

๐Ÿ‘‹ 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/1226833405803757630

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

compact orchidBOT
round marten
#

Hello there! You won't be able to write end-to-end tests for our hosted UIs unfortunately

tough vale
#

So, is there any way to avoid manual account onboarding?

round marten
tough vale
#

@round marten, I guess, I've tried this flow. But why I have 403 here?

#

I tried the next algorithm:

  • Go to the onboarding link
  • Get an account id from the link
  • Use an api Stipe.Account.modify(..) to onboard this account (Have 403 error here)
round marten
tough vale
#

@round marten , I'm not creating an account link
Our application creates an account link and I need to work with it from testing side to automate data preparation.

#

req id
req_nzihlYUdVVfqiq

round marten
#

Go to the onboarding link
What is an onboarding link in this context then?

round marten
tough vale
#

So, we have a hosted onboarding approach in our app. So, I'm using a link that our app generates to redirect to the stripe account onboarding page. Then I parse onboarding link to get an account id and then work with it via api.
https://connect.stripe.com/setup/s/acct_*****/*****

tough vale
round marten
#

Well you can set business_type on creation just not on update (which is what that API call was)

tough vale
#

@round marten, business_type is just an example, I've tried to pass more info. So, I can provide all the needed data to have details_submitted and charges_enabled with true value on account creation, am I right?