THE SURGICAL MINDSET
Stripe Webhook Setup
Follow these steps to connect Stripe webhooks
1Copy Your Webhook URL
2Go to Stripe Dashboard
3Add Webhook Endpoint
- 1.Click the "+ Add destination" button
- 2.Paste your webhook URL in the "Endpoint URL" field
- 3.Click "Select events"
- 4.
Select these 6 events:
checkout.session.completedcustomer.subscription.createdcustomer.subscription.updatedcustomer.subscription.deletedinvoice.paidinvoice.payment_failed - 5.Click "Add endpoint"
4Copy the Signing Secret
- 1.After creating the endpoint, you'll see a "Signing secret"
- 2.Click "Reveal" and copy the secret (starts with
whsec_) - 3.Go to Dashboard → Settings → Environment Variables
- 4.Add new variable:
STRIPE_WEBHOOK_SECRET= your secret
✅ That's it! Your subscriptions will sync automatically.