Webhooks Deep Dive
Webhooks are how services talk to each other in real-time. When something happens in one system, it sends an HTTP POST to your endpoint. No polling. No delays.
How Webhooks Work
Click "Trigger Event" to watch data flow through the webhook pipeline step by step.
Configure a Stripe Webhook
Build a real Stripe webhook configuration. Pick which events to listen for and set your endpoint URL.
Where to do this in production: Go to your Stripe Dashboard → Developers → Webhooks → "Add endpoint." Paste your Supabase Edge Function URL and select the events below. Stripe will give you a signing secret (starts with whsec_) — save it as an environment variable in Supabase.
Recommended for a course/product site: Start with checkout.session.completed (fires when someone pays) and customer.subscription.deleted (fires when someone cancels). Add others as your product grows.
Always verify the signature to prevent spoofed events.
This lesson is for Pro members
Unlock all 300+ lessons across 30 courses with Academy Pro. Founding members get 90% off — forever.
Already a member? Sign in to access your lessons.