// lemon squeezy integration

Lemon Squeezy webhook on your laptop

Lemon Squeezy is a popular merchant-of-record alternative to Stripe for digital goods. Their webhooks fire on subscription / order events; testing against localhost requires a tunnel.

1 · Set up the lrok tunnel

  1. 1. Reserve

    $ lrok reserve ls-dev
  2. 2. Run handler

    $ npm run dev
  3. 3. Tunnel

    $ lrok http 3000 --hint ls-dev

2 · Configure Lemon Squeezy

  1. 1. Lemon Squeezy → Settings → Webhooks → New webhook

    Callback URL: https://ls-dev.lrok.io/webhooks/lemon. Pick events. Save the signing secret.

// lemon squeezy-specific gotcha

Lemon Squeezy uses X-Signature: <hex> (HMAC-SHA256 over raw body). Same body-parsing trap as Stripe; the verifier at /tools/webhook-signature-verifier covers this with the GitHub variant (header layout is identical).

More integrations