Lemon Squeezy Webhook Not Working
Quick answer
Most Lemon Squeezy webhook failures are an invalid signature from hashing a parsed body instead of the raw bytes, a wrong signing secret, or an endpoint that errors.
Most likely fix: Fix signature verification
How to fix it
Try these in order — the most common fix is first.
1. Fix signature verification
- Read the raw request body before JSON parsing
- Compute HMAC-SHA256 with your signing secret, hex digest
- Compare with the X-Signature header using a constant-time check after checking equal length
Did this fix it?2. Check webhook config
- Settings > Webhooks: confirm the HTTPS URL, secret and selected events
- Use test mode webhooks separately from live mode
Did this fix it?3. Debug delivery
- Return 200 quickly and process asynchronously
- Use a tunnel or a relay like Hookdeck for local testing
- Retries are limited, so reconcile missed events via the API
Did this fix it?
Symptoms
Events never arrive, or your handler returns 'invalid signature'.
Why it happens
- HMAC computed over re-serialized JSON, not the raw body
- Signing secret has extra spaces or does not match
- Comparing buffers of different length
- Endpoint returns non-2xx so retries are exhausted
- Local URL not public HTTPS
This guide also covers
- lemon squeezy webhook not working
- lemon squeezy webhook invalid signature
- lemon squeezy webhook not firing
Still not working?
If Lemon Squeezy keeps failing, you're not alone. See every Lemon Squeezy problem users report or the alternatives people switch to.
Done fighting Lemon Squeezy? Our small team builds your own Lemon Squeezy alternative, or any software you need: web, mobile, games, desktop. Price agreed together.
Talk to usOther Lemon Squeezy errors
- Lemon Squeezy Charge on My Card: What Is LEMSQZY* STORE?
- Lemon Squeezy Refund Request: How to Get a Refund
- How to Cancel a Lemon Squeezy Subscription
- Lemon Squeezy Store Not Approved or Pending
- Lemon Squeezy Identity Verification Not Working
- Lemon Squeezy Payout Delayed or Not Received
- Lemon Squeezy License Key Not Working
- Lemon Squeezy Account Suspended or Store Paused