Setup
Open Stripe webhook settings
Go to the Stripe Dashboard and navigate to Developers → Webhooks.
Paste your Hookdrop URL
Enter your capture URL:Replace
{your-token} with the token shown on your Hookdrop dashboard.Select events
Choose the events you want to capture. Start with
payment_intent.succeeded and payment_intent.payment_failed to cover core payment flows.Common events
| Event | When it fires |
|---|---|
payment_intent.succeeded | A payment completes successfully |
payment_intent.payment_failed | A payment attempt fails |
customer.subscription.created | A new subscription is created |
customer.subscription.deleted | A subscription is cancelled |
invoice.paid | An invoice payment succeeds |
Signature verification
Stripe signs every webhook request with aStripe-Signature header. Verify it in your handler before processing any event.
stripe-webhook.ts
Testing locally
When you’re ready to test a specific scenario, use the Replay button in Hookdrop to resend any captured event to your local handler.Next: GitHub
Set up Hookdrop to capture GitHub webhook events including push, pull requests, and workflow runs.
