Stripe webhook testing
Test Stripe webhooks on localhost—without exposing a port.
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. RelayFox keeps receiving if your laptop sleeps, so the original delivery is waiting when you reconnect.
No signup. Disposable URL lasts 24 hours.
checkout.session.completed
Stripe-Signature: preserved
Forward when ready
npx relayfox forward <id> --to http://localhost:3000
- 1Create a free RelayFox URL above (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
- 5Inspect headers, body and replay any event as many times as you need.
RelayFox preserves the Stripe-Signature header when forwarding, along with the captured body. Verify against the original raw body. If Stripe includes the public destination URL in its signature, configure your verifier with the RelayFox capture URL rather than the localhost forwarding URL.
Ready for the next Stripe event?
Create a disposable inbox and paste the URL into Stripe.