Stripe Subscriptions in Next.js: The Setup That Survives Production
Checkout is the demo. Production is webhooks, idempotent sync, dunning, and the test-to-live checklist — the Stripe setup that keeps working after launch.
By Milos Knezevic·11 min→
APIs & Integrations
Stripe Webhooks: Verify the Signature or Lose Money
An unverified Stripe webhook lets anyone grant themselves your product for free. How signing works, the raw-body rule, and idempotency in Next.js routes.
By Milos Knezevic·10 min→
APIs & Integrations
Authentication in Next.js with NextAuth.js v5
The NextAuth v5 mental model, OAuth before passwords, bcrypt done right, JWT versus database sessions, and the security work the library leaves to you.