Subscription

Subscription

Stripe Sandbox

Checkout and portal are wired for reusable SaaS billing

The template starts subscriptions with Stripe Checkout, lets users manage billing in the Stripe Customer Portal, and stores only local entitlement fields in Neon for app access.

Server keysandbox-secret
PriceConfigured
WebhookConfigured

Billing

Subscriptions

Checkout ready

Configure Clerk before testing subscription checkout with a signed-in user.

Local Contract

What Neon stores

Entitlement cache
Stripe customer id
Subscription id, status, price id, and period end
Billing portal and payment details stay in Stripe