Skip to main content
Stripe Sign up for a Stripe account.

Environment variables

Add your Stripe secret key and webhook secret to the .env file.
# .env
STRIPE_SECRET_KEY=
STRIPE_WEBHOOK_SECRET=

Local development

Get started by installing the Stripe CLI. Then forward the Stripe webhook events to your local server.
stripe listen --forward-to localhost:3000/pay/webhook