Intentkiln

Last verified 2026-07-14

stripe webhook local nextjs without forwarding

Operator procedure for “stripe webhook local nextjs without forwarding” — what breaks, what to check, and what to do next.

The actual problem

Webhooks fail in local Next.js because Stripe cannot reach localhost.

Do this

  1. Install Stripe CLI and run `stripe listen --forward-to localhost:PORT/api/webhook`.
  2. Copy the whsec_ secret into STRIPE_WEBHOOK_SECRET.
  3. Keep a demo unlock path for when CLI is not running.
  4. Verify checkout.session.completed updates your store.

Tools for this job

Related intents

Also from Cashkiln

Deep-dive report — $29

Self-serve checklist expansion for this query family. PayPal Checkout. No call.