Stack · Subscriptions
Next.js + Stripe Billing.
Stripe Billing has matured to where most SaaS doesn't need a separate billing layer. Subscriptions, usage, customer portal.
CategorySubscriptions
Best forSaaS billing
Why together · 01
Why this combo works.
Server actions for checkout, customer portal for self-service, webhooks for state sync.
Setup
Configure products in Stripe dashboard, mirror to your DB via webhooks, use customer portal for self-service.
Gotchas
- Webhook idempotency is essential
- Trial logic should live in Stripe (not your DB)
- Tax compliance via Stripe Tax
- Upgrade/downgrade proration is tricky
Building this stack?
We've shipped it.
Default for new SaaS billing setups. If you're going to ship on this stack, brief us. We can save you a few weeks of gotchas.
Brief us