Env

Vercel env lock

Production/preview/test/live matrix so keys do not wear each other's cloaks.

Most weird payment and email errors are born from mixed env.

owner action

Check NEXT_PUBLIC_SITE_URL, Supabase URL/keys, Stripe secret/publishable/webhook, Resend, OpenAI, Upstash, and support email.

evidence

  • Vercel env screenshot
  • test/live separation

stop if

  • Live key is on preview or test key is on production.

commands

npm run deploy:checknpm run security:check

related