@violet stream pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Error Message
404: NOT_FOUND
Code: NOT_FOUND
ID: sfo1::vgvjw-1760695920733-5aa415b91e3c
Question
I need help with a Stripe Checkout redirect issue on Vercel.
Payments work, the webhook is delivered, but after completing (or canceling) checkout, Stripe redirects to my site and I get this error instead of my React page:
404: NOT_FOUND
Code: DEPLOYMENT_NOT_FOUND
⚙️ Setup
Frontend: React + Vite + React Router (hosted on Vercel)
Domain → https://mohhikat-clean.ver
What have you already attempted?
Added rewrite rule to vercel.json:
{ "routes": [{ "src": "/(.*)", "dest": "/index.html" }] }
Confirmed the routes exist in React Router.
Disabled preview deployments.
Checked that only the production domain is active.
Redeployed both frontend (Vercel) and backend (Render).
Tried different success/cancel URLs (main domain, alternate domain).
Same result every
Reproduction Steps
🔁 Reproduction steps
Deploy a Vite + React Router app to Vercel.
Routes include /success and /cancel.
Deploy a simple Express + Stripe backend on Render.
In the backend, create checkout sessions with the URLs above.
Run checkout, complete or cancel the payment.
After redirect, observe the Vercel 404 error.
What are you working on?
I'm building an e-commerce website for a personal project. 💭 Goal I just need Stripe to redirect back to my React app’s r