nextjs-typescript-react-stripe-js
nextjs-typescript-react-stripe-js copied to clipboard
Webhook is failing to responde to Stripe.
Bug report
Describe the bug
Deployed this using the vercel button. Set up secrets and keys and webhooks Payments are working, all is good. Got an email from Stripe - saying the webhook is failing. Check on Stripe dashbaord and sure enough - every one: Stripe Dashboard says "HTTP status code 308 (Permanent Redirect)" Redirecting to /api/webhooks (308)
To Reproduce
Install via vercel button Register stripe webhook, Add secrets to vercel env vars
Try it out as a customer.
Expected behaviour
No errors.