#hritik
1 messages · Page 1 of 1 (latest)
Hi 👋 what are you trying to do? Are you trying to create a Connected Account in livemode?
I want to add a merchant account to distribute payouts but while adding merchant account i am getting this error
That makes it sound like you're trying to create a Connected Account in livemode, which you can't do if you haven't signed up for Connect. Did you already build a Connect integration in testmode?
i am not sure that I have created connect account on testmode. how i can check that
Well, what is it that you are doing? Are you running code you've written, clicking buttons in the Stripe dashboard, or possibly something else?
Gotcha, so what code are you running?
stripe_obj.accounts.create(accountObj)
i am using this method
and passing some required data in it as object
The secret key that you use to initialize stripe when you make that request, does it start with sk_live_ or sk_test_?
If it's a test key, one that starts with the latter prefix, then the missing step may be that you need to register your platform. I don't recall offhand if that has to be completed to test Connect in testmode.
The link to that registration can be found here:
https://stripe.com/docs/connect/collect-then-transfer-guide?platform=web#prerequisites
it is starting with sk_live