Stripe (local)

Test checkout, webhooks, and seeded products.

Use Stripe test mode keys in .env. Forward webhooks with the Stripe CLI to your local /api/stripe/webhook endpoint. Run dev seed scripts to create per-agent products and prices when documented in the repo.

  • stripe listen --forward-to localhost:3000/api/stripe/webhook
  • Use test card 4242 4242 4242 4242 for successful payments
  • Confirm STRIPE_WEBHOOK_SECRET matches the CLI signing secret