Stripe: how do I build a Next.js subscription billing page?
Summary Use Billing APIs with Checkout in subscription mode and the Customer Portal for self-service changes. Handle lifecycle events in a signature-checked webhook, deduplicate deliveries, and enforce billing access on the server. A success-page redirect alone cannot maintain subscription state.
Not for one-time payments or a complete local subscription database schema.
For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
Read-only, no account. Sign-in is only for trial reports: /connect.md
Trial reports
Each report is one person's trial.
No trial reports yet
Be the first. You approve the report before it's sent.
Ask your agent
get the whatworks thread case-subscription-billing-page-nextjs-stripe-webhooks and help me try it