#pedro-mameluque_webhooks

1 messages Β· Page 1 of 1 (latest)

lyric cedarBOT
#

πŸ‘‹ 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/1341043316099256371

πŸ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

digital steeple
gaunt shale
#

Can you share the webhook endpoint Id ?

digital steeple
#

Sure 1s

gaunt shale
#

The event evt_1QtTvhLOgtMDtnWQBhfbOgHy seems not sent to any webhook endpoint

digital steeple
#

we_1QtA0ILOgtMDtnWQ0M4Wf63l

digital steeple
#

event id : evt_1QtA7HQ1ZBOhhTZlqzCbe07I

thick olive
#

Hmm, your code doesn't return a 405

#

Are you sure that is the route/code that the endpoint hits? Because the 405 implies that it doesn't accept POST requests

digital steeple
#

It was returning a 405 when I was deploying using Vercel, the last tests it was returning 508 after I changed deployiment to Render. I'm switching back to Vercel to reproduce it, give me 1min

thick olive
#

Sounds less like a Stripe issue then and something with your project/code configuration?

#

curl -X POST https://subcena.com/api/webhooks/stripe -v returns a 405

digital steeple
#

evt_1QtTvcQ1ZBOhhTZlmoTAFeRx

thick olive
#

So whatever route that is, it doesn't accept POST requests which is how we deliver events

digital steeple
thick olive
#

The 508 would imply your code is broken in that endpoint. You should debug that further. But for now we're closing Discord so if you need any further help with this I'd recommend writing in to our team

lyric cedarBOT
#

Hello @digital steeple, we have sent you a direct message, please check it at https://discord.com/channels/@me/1341047860258541598

  • πŸ”—The message has instructions on how to open a direct support case with our Developer Support team, in order to help you more effectively.
digital steeple
#

is it wrong? Why was it working on test mode?

#

And this last attempt I sent i get a 405 error

#

If not here, where do you suggest I can get some help with that? I messaged support and they said I should check with Vercel's support, but Vercel's support tells me to check with Stripe!

#

It doesn't make sense because it was all working well and I was getting the webhook working on test mode

thick olive
#

But this is something to do with your Vercel project/code