#Indesh-webhooks
1 messages · Page 1 of 1 (latest)
hello! the previous thread is pretty long, can you perhaps share what's the issue you're currently facing here?
Yea sure.
I had an issue regarding webhook modes of connect account.
And your another associate suggested to use Connect Mode instead of using 'livemode' in the payload received.
The whole issue was with the failing signature verification.
alright, so have you tried what they suggested?
If we go by his suggestion, does that mean we have to ask our customers to 'Connect' twice? Once for live and then for test mode?
how are you onboarding your connected accounts? are you using OAuth?
I think the key summary here is that :
- For Connect webhooks, it’s important to note that while only test webhooks will be sent to your development webhook URLs, both live and test webhooks will be sent to your production webhook URLs.
- avoid setting up webhook endpoints that point to the same URL
- the webhook secret that you should use to verify the signature depends on the webhook endpoint that the event is delivered to
If you want to allow your connected accounts to test, and you're using OAuth, yes, you would unfortunately need to ask your connected account to connect twice, once using your live client_id, and once using your test client_id, to ensure the connected account is connected both in live and test mode.