#stevec0583

1 messages · Page 1 of 1 (latest)

zenith mulchBOT
violet crater
lime island
#

I can spot a test phone number, but not a test email?

#

Oh wait, am I supposed to make my app use the test client_id in test mode?

#

Hmm. but that doesn't make sense because the whole point of having test keys is so test account can be created.

violet crater
#

You can use your own email, or a fake email like test@example.com.

lime island
#

What's the password for that account?

violet crater
#

Yeah, that's probably been used before. Try test<random string here>@example.com instead.

lime island
#

Oh right. That's what I did instinctively to begin with, but figured I was almost certainly breaking some sort of rules

violet crater
#

Nope, it's fine. 🙂

lime island
#

Now it says the phone is wrong:

#

Docs say:

Auto-fill 000 000 0000 as the test phone number and 000-000 as the SMS code when prompted

zenith mulchBOT
violet crater
#

Wait, to clarify, what are you trying to test exactly?

lime island
#

Stripe connect onboarding (standard accounts)

#

I generate the onboarding url in my app’s dev environment

earnest gazelle
#

There should be a button to "use test number" appearing, if i recall

lime island
#

Hmm.. I can’t see any. Is that only for express accounts perhaps, I’m not sure but I should be able to test this on boarding flow

earnest gazelle
#

Oh, looking back you mentioned the client_id -- are you using the oAuth flow for this?

lime island
#

Yup

#

I guess I could generate an onboarding url for the test client_id. Is that what I’m supposed to do in dev in order go through the onboarding flow?

earnest gazelle
lime island
#

Yep that’s exactly what I’m doing, the problem is when clicking the onboarding link I can’t follow the prompts because I don’t have test values (like phone) to be able to enter those details and, once onboarding is done, be redirected back to my platform.

#

I get stuck because there’s no phone number I can enter to enable me to go through the onboarding flow

earnest gazelle
#

Can you try creating an account+account link, then copying and pasting the account link url into a new private/incognito browser window?

#

It's possible you're getting stuck because of an existing dashboard session for your own platform account

lime island
#

Ohh… I’ll try that.