#BrianC-test-webhooks
1 messages ยท Page 1 of 1 (latest)
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?
Yes, direct charges OBO connect account
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?
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
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.
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.
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. "
Yup! Apologies for making that more complicated than it needed to be.
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.
I'm not sure about that, but haven't personally heard anything about it.
๐ Thanks for your help
Any time!
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
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.
Thanks! Just checking that there are no nuances with this ๐
No problem!