#hemanth_webhooks
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1374333028779823126
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
It's an unfortunate quirk with the system depending on how the connected account was connected to the platform
you mean to say if the connected account is connected in both env, webhooks will be triggered both env, irrespective where the event is happening?
Did you look at the diagram? You'd only receive test events at a live mode endpoint โ never live events at a test mode endpoint
Did you look at the diagram?
bit confusing for me
now I undertsood
why its like this, No one wants the test mode events to be triggering live mode webhooks, right?
You're right, it's less than ideal. You need to add logic to your endpoint code to 'discard' testmode events using this property: https://docs.stripe.com/api/events/object#event_object-livemode
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Sure, will handle this
thanks for your response
No problem, glad I could help!