Files

Set STRIPE_SECRET_KEY and STRIPE_WEBHOOK_SECRET in .env — find them in the Stripe Dashboard.

To receive webhooks locally, forward events with the Stripe CLI:

stripe listen --forward-to localhost:3000/api/stripe/webhook

Checkout sessions and the customer portal are exposed from {{package.name}}.