Stripe Webhook Setup
Comprehensive tutorial for integrating Stripe webhooks with Failment for real-time payment monitoring.
Overview
Failment uses a personal Stripe webhook endpoint per account to securely receive real-time payment events. This guide walks you through creating the endpoint, selecting required events, securing your signing secret, and verifying delivery.
Security Note:
Keep your signing secret (starts with whsec_) secure. Never share it.
Prerequisites
- Active Stripe account with Dashboard access to Developers → Webhooks
- Logged into Failment with an active session
- Your personal webhook URL from Failment: Dashboard → Settings → Payment Processors → Webhook Setup
Step-by-step Setup
Follow these detailed steps to configure your Stripe webhook integration with Failment.
Create a webhook endpoint in Stripe
Quick link:
Open Stripe WebhooksSelect required events
Retrieve the signing secret
Configure the secret in Failment
Test the webhook
Rotate the signing secret (optional)
Troubleshooting
- Ensure the endpoint URL exactly matches your personal URL shown in Failment (no trailing spaces).
- Verify the whsec_ is correct and has no extra characters.
- Confirm the selected events include all required ones listed above.
- Check Stripe’s webhook delivery logs for response status and error messages.
- Ensure your Failment session is active when testing, or wait a few minutes for background job syncs.
FAQ
Do I need to expose a public server?
No. Failment hosts the endpoint. You only configure Stripe to send events to your personal Failment URL.
Which events are required?
Use the set listed above in Select required events. You can add more if needed.
Can I rotate the signing secret?
Yes. Rotate in Stripe, then immediately update it in Failment to avoid delivery failures.