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

  1. Run scripts/inspect-stripe-readiness.sh to see which Stripe env vars are missing or pointed at the wrong mode (test key in production, live key in preview).
  2. Use scripts/setup-stripe-webhooks.sh <domain> to register live + test webhooks and store STRIPE_WEBHOOK_SECRET in Vercel for production/preview/development.
  3. Confirm STRIPE_PRICE_ID and STRIPE_METERED_PRICE_ID exist in Stripe and match the values stored in Vercel.
  4. Test locally with bun run stripe:listen and 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

Scripts

See scripts/README.md. Execute scripts when the workflow calls for deterministic inspection or validation.

Assets

See assets/README.md for templates/checklists.