#hritik

1 messages · Page 1 of 1 (latest)

glad saddleBOT
lofty creek
#

Hi 👋 what are you trying to do? Are you trying to create a Connected Account in livemode?

final plume
#

I want to add a merchant account to distribute payouts but while adding merchant account i am getting this error

lofty creek
#

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?

final plume
#

i am not sure that I have created connect account on testmode. how i can check that

lofty creek
#

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?

final plume
#

i am running this with code

#

i am a developer

lofty creek
#

Gotcha, so what code are you running?

final plume
#

stripe_obj.accounts.create(accountObj)

i am using this method

#

and passing some required data in it as object

lofty creek
#

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

final plume
#

it is starting with sk_live