Stripe Setup
Use this skill when
Use when wiring Stripe in a fork, registering webhook endpoints for a new domain, rotating keys, or debugging Stripe env errors at build or webhook time.
Workflow
- Run
scripts/inspect-stripe-readiness.shto see which Stripe env vars are missing or pointed at the wrong mode (test key in production, live key in preview). - Use
scripts/setup-stripe-webhooks.sh <domain>to register live + test webhooks and store STRIPE_WEBHOOK_SECRET in Vercel for production/preview/development. - Confirm STRIPE_PRICE_ID and STRIPE_METERED_PRICE_ID exist in Stripe and match the values stored in Vercel.
- Test locally with
bun run stripe:listenand a checkout flow before relying on the deployed webhook.
Skill graph
Read references/graph.md for routing. Related skills: setup-product, environment-bootstrap, vercel-deployment, webhooks-and-events.
References
- references/workflow.md: workflow details and decision points.
- references/graph.md: related skills and handoff boundaries.
- references/original-guide.md: full prior guide for deeper context.
Scripts
See scripts/README.md. Execute scripts when the workflow calls for deterministic inspection or validation.
Assets
See assets/README.md for templates/checklists.