Hi everyone I am having a problem with stripe webhooks in Vercel production. The problem is intermittent. Sometimes the webhook works as expected, and other times i receive a HTTP 405 error. I see in my stripe account that the webhook failed and when I correspond it to the Vercel logs the webhook never reached vercel
Current behavior is webhooks are working sometimes, expecting stripe webhooks to reach vercel 99% of time
The HTTP 405 error typically means “Method Not Allowed”, which suggests your webhook endpoint might not be properly configured to handle POST requests from Stripe.
Can you check your webhook URL in Stripe Dashboard and make sure it’s pointing to the correct endpoint (e.g., https://yourdomain.com/api/webhooks/stripe)?
It’s worth verifying your endpoints works consistently by testing it with tools like Postman or curl.
In case it’s helpful, I recommend checking out related threads in the community:
Hi @databuddiessolutions, just following up to see if you were able to identify the cause of the intermittent HTTP 405 errors with your Stripe webhooks or if you still need assistance. Let me know how it’s going!