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. 1.Click the "+ Add destination" button
  2. 2.Paste your webhook URL in the "Endpoint URL" field
  3. 3.Click "Select events"
  4. 4.

    Select these 6 events:

    checkout.session.completed
    customer.subscription.created
    customer.subscription.updated
    customer.subscription.deleted
    invoice.paid
    invoice.payment_failed
  5. 5.Click "Add endpoint"
4Copy the Signing Secret
  1. 1.After creating the endpoint, you'll see a "Signing secret"
  2. 2.Click "Reveal" and copy the secret (starts with whsec_)
  3. 3.Go to Dashboard → Settings → Environment Variables
  4. 4.Add new variable: STRIPE_WEBHOOK_SECRET = your secret

✅ That's it! Your subscriptions will sync automatically.