#runayeon-express-loginlink

1 messages · Page 1 of 1 (latest)

compact graniteBOT
clever cradle
desert coyote
#

req_vt23ufBa1VjjGb

clever cradle
#

Still looking at this request id

desert coyote
#

Any updates or still looking?

clever cradle
#

Still looking, I'm talking to a teammate now.

#

Thank you for your patience.

#

Can you share more information on what you're trying to do here?

desert coyote
#

Sure

#

One sec

#

It seems like I am trying to create a connect login link

hazy arch
#

Why are you trying to do this?

#

LoginLink is quite old and was more for the old OAuth flow. Is this a brand new flow you just added to your app?

desert coyote
#

I believe I just followed the documentation but essentially, I'm trying to create the onboarding portal for the merchant.

hazy arch
#

runayeon-express-loginlink

desert coyote
#

After calling stripe.accounts.create with the type param set to express.

hazy arch
#

yeah okay so you likely are mixing up APIs.

#

you need to create an AccountLink not a LoginLink

desert coyote
#

So it is not stripe.accounts.createLoginLink

#

I actually also have code for stripe.accountLinks.create

hazy arch
#

you want that second one yes

desert coyote
#

is the first one deprecated or something?

hazy arch
#

It's for something else, to send them to the Express app and such. Mostly just switch to AccountLinks and it will work

desert coyote
#

Gotcha, I'll give it a shot. Will let you know what's up. From what I recall, it only fails the second time I create the login link. Do you know why that might be happening.

hazy arch
#

I'm dubious that's true and you're likely mixing things up

desert coyote
#

It seems like I made a mistake with one of my conditional statements. One final question, I assume stripe.accountLinks.create does not allow the merchant to view their express app and is solely for onboarding.

hazy arch
#

correct

desert coyote
#

Thanks, have a good one. Will reopen if anything comes up.