Unverified Stripe webhooks in Vercel
criticalUpdated Oct 12, 2026
The Route Handler above works on Vercel. Put STRIPE WEBHOOK SECRET and STRIPE SECRET KEY in project environment variables.
Fix for Vercel
The Route Handler above works on Vercel. Put STRIPE_WEBHOOK_SECRET and STRIPE_SECRET_KEY in project environment variables. Do not log the body of a failed signature check if the log pipeline is shared. Return 400 and stop.
The five-minute check, the other platforms, and the agent prompt are on the full guide. More Vercel fixes are on the Vercel page.