vercel / nextjs-subscription-payments

Clone, deploy, and fully customize a SaaS subscription application with Next.js.
https://subscription-payments.vercel.app/
MIT License
6.23k stars 1.27k forks source link

DEPLOYMENT_NOT_FOUND on Vercel after testing the Stripe Webhook #136

Closed VincentLu91 closed 1 year ago

VincentLu91 commented 1 year ago

I got an email from Stripe over a month ago that the webhook is disabled because I got the following error:

3 requests returned HTTP 404, indicating the URL doesn’t exist. You should verify the endpoint URL is correct in your Stripe webhook settings.

I just realized that the STRIPE_WEBHOOK_SECRET_LIVE variable wasn't included in my deployment so I added that, redeployed my project, but the webhook is still showing disabled on Stripe

I also went to Postman to test the webhook URL, and got:

The deployment could not be found on Vercel.

DEPLOYMENT_NOT_FOUND

Any idea why this is?

VincentLu91 commented 1 year ago

Update: this is fixed. I changed the domain name a month ago and so the webhook isn't found. Added a new webhook and now it works again