How to test Stripe webhooks locally
Testing Stripe webhooks usually means waiting for events you can't see. With RelayFox you get a URL to paste into Stripe, watch events arrive live, and forward them to your local server.
- 1Create a free RelayFox URL on the homepage (no signup needed).
- 2Paste it as your webhook endpoint: Stripe Dashboard → Developers → Webhooks → Add endpoint.
- 3Trigger an event (e.g. checkout.session.completed) and watch it arrive live in RelayFox.
- 4Run the CLI to forward captured events to your local server:
npx relayfox forward <endpoint-id> --to http://localhost:3000 --token rfx_...
- 5Inspect headers, body and replay any event as many times as you need.
RelayFox preserves the Stripe-Signature header when forwarding, so Stripe's signature verification works against your local server unchanged.