#stevec0583
1 messages · Page 1 of 1 (latest)
Hello! Yep, we have test data for Connect here: https://stripe.com/docs/connect/testing
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.
You can use your own email, or a fake email like test@example.com.
When I use test@example.com it says "That password is incorrect."
What's the password for that account?
Yeah, that's probably been used before. Try test<random string here>@example.com instead.
Oh right. That's what I did instinctively to begin with, but figured I was almost certainly breaking some sort of rules
Nope, it's fine. 🙂
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
Wait, to clarify, what are you trying to test exactly?
Stripe connect onboarding (standard accounts)
I generate the onboarding url in my app’s dev environment
There should be a button to "use test number" appearing, if i recall
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
Oh, looking back you mentioned the client_id -- are you using the oAuth flow for this?
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?
We recommend creating accounts via the API and using Account Links to enter onboarding:
Standard accounts: https://stripe.com/docs/connect/standard-accounts#create-account
Express accounts: https://stripe.com/docs/connect/express-accounts#create-account
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
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
Ohh… I’ll try that.