#danboyle8637_webhooks

1 messages ¡ Page 1 of 1 (latest)

rocky shardBOT
#

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

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

balmy fog
#

Hi there

south pebble
#

Hey!

balmy fog
#

Taking a look!

south pebble
#

cool thanks

balmy fog
#

Ahh I see

#

Looks like you have two endpoints configured that both listen for invoice.paid events

#

The URLs are slightly different: fww-live-users-prod... vs fww-live-users-staging...

south pebble
#

ahhhhhh crap... okay duh

balmy fog
#

Do you know if the event handler code for both of these endpoints ends up writing to the same database?

south pebble
#

actually no... the prod writes to another one

#

but I have a dev env too... hmmmmm

#

that might be enough for me to figure this out... I think it's runing in dev and the staging as well and that might be where the two are coming from

balmy fog
#

Yep, that looks to be the case

south pebble
#

okay... cool thanks so much for helping identify that. oversight on my part

balmy fog
#

You have three endpoints configured: two in test mode (both listen for test mode invoice.paid events) and one in live mode that listens for live mode invoice.paid events

#

Happy to help!

south pebble
#

thanks again... have a great rest of day and night