#BrianC-test-webhooks

1 messages ยท Page 1 of 1 (latest)

late bridge
#

Hi there ๐Ÿ‘‹ this can be a very nuanced topic, so I need to confirm, is this question related to a scenario that is leveraging Stripe Connect?

grave crest
#

Yes, direct charges OBO connect account

late bridge
#

Gotcha, and do you know whether the connected account is connected in only Live Mode or only Test Mode, or if it is connected in both modes?

grave crest
#

I'm not sure how it would be connected in both modes. Can you elaborate?

#

My understanding is that a connect account is created beneath either a live account or a test acount. not shared

late bridge
#

They're not recommend for production use anymore, but we have flows that allow an existing account to be connected to a platform. Leveraging those flows allows you to connect an account in multiple modes, but if you're not using that then we can ignore that case.

grave crest
#

?

#

How would I be able to tell?

late bridge
#

If the connected account was connected in Live Mode, then both live and test events will be sent to your live Connect Webhook Endpoints.

If the account was connected in test mode instead, then it will send test events to your test Connect Webhook Endpoints.

#

I think the best way to check is to see if the account is listed in the Connect section of your dashboard in both live and test mode.

grave crest
#

OK. I can confirm the connect account in question is only visible in the connect list in live mode.

#

So this is the answer - "If the connected account was connected in Live Mode, then both live and test events will be sent to your live Connect Webhook Endpoints. "

late bridge
#

Yup! Apologies for making that more complicated than it needed to be.

grave crest
#

No worries. Do you folks have any plans on retiring the legacy connect features? It's super confusing to work with now that there are multiple scenarios.

late bridge
#

I'm not sure about that, but haven't personally heard anything about it.

grave crest
#

๐Ÿ‘ Thanks for your help

late bridge
#

Any time!

grave crest
#

Another seemingly simple and obvious question - but I have learned to triple check these things. When test secret keys are sent with a checkout tranasactio=n, that automatically set the transaction to test mode (livemode="false") with no exceptions. Correct? There is no other way to send a livemode="false" transaction to the server. and there is no way the livemode would be anything else but "false" if sk_test____ is sent

late bridge
#

Correct, using a test secret key (sk_test_xxx) will execute the requested function in test mode, which will be indicated by livemode=false. If a live key is used instead, then the request will be processed in live mode.

grave crest
#

Thanks! Just checking that there are no nuances with this ๐Ÿ™‚

late bridge
#

No problem!