Skip to content
All articles

Trust & compliance

What Is a Webhook Signing Secret? (Stripe, Shopify, WooCommerce)

What a webhook signing secret is, why Provedly only marks purchases verified when the signature checks out, and how to connect Stripe or Shopify safely.

Provedly team··6 min read

A webhook signing secret is a shared key that lets Provedly confirm a purchase event really came from Stripe or Shopify and was not altered on the way. It is the reason Provedly can put a "Verified purchase" mark on a notification: the mark means the signature checked out. This post explains what a webhook is, what the signature does, how to connect each platform, and what the secret can and cannot do if it leaks.

Webhooks in one paragraph. When something happens in your payment platform, such as a completed order, the platform can send an HTTP request to a URL you specify, with the details in the body. That request is a webhook. It is the platform pushing news to Provedly, rather than Provedly repeatedly asking. For Shopify, the relevant event is orders/create. For Stripe, it is typically checkout.session.completed or payment_intent.succeeded.

The problem with any URL that accepts a POST is that anyone can POST to it. Without a check, a person could send Provedly a fake "order" and have it displayed as real. The signature is that check.

What the signature does

Both Stripe and Shopify sign each webhook with HMAC-SHA256. The platform takes the raw request body, computes a hash using a secret that only it and you know, and sends the hash in a header. Provedly recomputes the hash with the same secret and compares. If they match, two things are established at once: the request came from someone holding the secret, and the body was not modified in transit.

If they do not match, the request is discarded. It is not shown, not stored as a purchase, and not counted. There is no "unverified purchase" bucket. There are verified purchases, which came through this check, and there are records the merchant added another way, which are always labelled: "Sample" for rows added by hand, "Imported" for rows from a CSV or the Records API. Nothing sits in between.

That is the whole basis of the "Verified purchase" mark, and it is why we can state on the public verification page which sources are connected and when the last verified purchase arrived. /blog/reading-the-verification-page explains how a shopper reads that page.

Connecting Shopify

If you installed Provedly from the Shopify App Store, you do not handle the secret at all. Shopify registers the webhooks when the app is installed and signs them with a secret tied to the app. Provedly verifies them automatically. The setup is covered in /blog/shopify-setup-guide.

One thing to know: because of Shopify's Protected Customer Data program, early webhooks may arrive without the buyer's name. They are still signed and still verified; the toast simply says "Someone" until access is approved. /blog/shopify-someone-protected-customer-data has the details.

Connecting Stripe

For sites outside Shopify, you create a webhook endpoint in your Stripe dashboard pointing at the URL Provedly gives you, select the events, and Stripe shows you a signing secret for that endpoint. It starts with whsec_. You paste it into Provedly's source settings once.

A few points for doing this well.

  • Use a dedicated endpoint. Create a new endpoint for Provedly rather than reusing one your own application listens on. Each endpoint has its own secret, so a problem with one does not touch the other.
  • Select only the events you need. Provedly needs completed payments. It does not need customer updates, disputes or payouts.
  • Live mode, not test mode. Test-mode events are signed with a different secret and describe payments that did not happen. Connect a live-mode endpoint to your production site so test payments are never presented as real ones.
  • Paste it once. After you save, treat the secret as stored. If you lose track of it, roll it in Stripe and paste the new one.

What the secret protects against

Threat Does the signature stop it?
Someone POSTing a fake order to your Provedly URL Yes
A proxy altering the amount or product in transit Yes
Replaying a genuine old event Largely; both platforms include timestamps and event identifiers, which let a receiver reject stale or duplicate events
Someone with your Stripe dashboard login creating real refunds or payments No; that is account security, not webhook security

The last row matters. The signing secret verifies that events came from the platform. It does not make the platform itself trustworthy, and it does not substitute for two-factor authentication on your Stripe or Shopify account.

If the secret leaks

A leaked Stripe signing secret lets someone forge webhook events to the endpoint it belongs to. In Provedly's case, that would mean fake verified purchases, which is precisely the outcome the whole system exists to prevent. The fix is quick: in Stripe, roll the secret on that endpoint, which invalidates the old one immediately, then paste the new value into Provedly.

The secret cannot be used to charge cards, read customer data or log in to Stripe. It is scoped to signing events for one endpoint. That is why it is safe for a store owner to handle, and why we ask for it rather than for broader API access.

For Shopify, the app's secret is held by Provedly and Shopify, not by the merchant, so there is nothing for a merchant to leak or rotate.

Why this matters for the category

Most tools in this category, as of October 2026 and per their listings, accept merchant-typed data for notifications and viewer counts and do not distinguish it visually from platform-fed data. Some do verify webhooks, but then display imported CSV rows in the same style. The signature is only useful if the product treats it as a boundary: signed on one side, labelled Imported or Sample on the other, and no way to move a row across.

That boundary is what the FTC's rule on fake testimonials, in force since late 2024, is implicitly asking merchants to be able to demonstrate. A signed webhook is the closest thing to a receipt that a social proof notification can carry.

Frequently asked questions

Can I connect both Shopify and Stripe to one site?

Yes. A Shopify store that also sells through a Stripe-powered checkout outside Shopify can connect both. The verification page lists both as sources, and purchases from each are verified independently.

Does the webhook contain card numbers?

No. Neither Stripe nor Shopify includes card details in order or payment webhooks. What Provedly needs for a notification is the product, a first name where provided, a coarse location and the time.

What if my Stripe account is in test mode while I build the site?

Keep test-mode events away from your production site. When you go live, create a live-mode endpoint in Stripe and connect that one, so only real payments can become verified purchases.

Connect a signed source today and let the "Verified purchase" mark do its job; plans are at /pricing.

webhooksstripeshopifysecurity

Get new articles by email

Honest social proof, verified purchases and what actually moves conversion. A few emails a month at most; leave with one click.

We email you once to confirm. Your address is used only for this newsletter; see the privacy policy.

Show proof you can stand behind.

Free plan, one site, 2,000 impressions a month, verified purchases included. The badge on the free plan links to your verification page, which is the point.