#gab-gab_webhooks

1 messages ¡ Page 1 of 1 (latest)

devout vergeBOT
slim baneBOT
#

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

devout vergeBOT
#

👋 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/1222578149854937259

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

slim baneBOT
harsh crown
#

Hello! The Event ID you provided is in live mode. Can you provide a test mode Event ID so I can compare?

neon knoll
#

Hi

#

Sure here is the event in test : evt_3OyyxAJZXToOOk0Q0DNkmEE2

#

we can see "livemode" at the root and also deeper in the object

harsh crown
#

Those are two different Event types which contain two completely different objects. One is an Account object, the other is a Payment Intent. The Account object doesn't have a livemode property, but the Payment Intent does. That's why the property exists on one of those Events but not the other.

#

You should switch to the top-level livemode property on the Event object itself, which is always present, instead of using the livemode property on the object inside the Event, which doesn't always exist.

neon knoll
#

Ok I detected on production this only today.
But anyway, I will update to read whatever the event is at the root level if this property will always exists.

#

Thanks!