Next.js Discord

Discord Forum

Stripe webhook only working on domain.vercel.app not domain.com

Unanswered
Dwarf Hotot posted this in #help-forum
Open in Discord
Dwarf HototOP
I was building on local:host and on domain.vercel.app and recently added my own custom domain to the project. My webhook which is setup on domain.com/api/webhook and matches my my env file, vercel env variables is returning 308 errors.

However, I noticed that I had previously setup a domain.vercel.app webhook (without even having a webhook route ie api/webhook attached to it) was getting all success responses. This was the same tests as the time matched between the two webhooks.

I disabled the domain.vercel.app webhook on stripe, but I'm still not able to get through. Does anyone have any suggestions?

0 Replies