Blog ·

What a webhook is, in plain words, and why your payments depend on it

The one piece of plumbing that decides whether people really paid.

When someone pays you through Stripe, two things happen. The customer sees a thank-you page. And separately, Stripe sends your app a short message saying "this payment went through". That message is the webhook.

Why it matters

The thank-you page is just a page. Anyone can type its address into a browser. If your app unlocks paid features when someone lands there, people can get them without paying.

The webhook is different. It comes from Stripe, and it carries a signature your app can check. If the signature is right, the payment is real.

What a good setup does

  • Waits for the webhook before unlocking anything.
  • Checks the signature on every webhook.
  • Handles the same webhook arriving twice without giving double credit.
  • Listens for cancellations too, so access stops when payment stops.

How to check yours

Ask whoever built it, or the AI tool you built it with, two things. Where do we check the Stripe webhook signature? And where is access removed when a subscription is cancelled? If nobody can point to it, it isn't there yet.

It's not exciting. But it's the difference between a product that earns money and one that only looks like it does.