Stripe CLI
- Install the Stripe CLI with:
brew install stripe/stripe-cli/stripe
- Login to our Stripe account:
stripe login
- Listen for Stripe webhooks using Latest API version and forward to:
yarn stripe:listen
, which does:stripe listen --latest --forward-to http://localhost:3000/webhook_events/stripe
- Replay events locally with
stripe trigger <event type>
:stripe trigger checkout.session.completed