Test Lemon Squeezy webhooks locally
Developers need realistic order and subscription payloads before their billing code is live.
Open the free generatorGenerate an event fixture
Choose order_created, subscription_created, subscription_payment_success, subscription_cancelled, or license_key_created and copy the generated JSON into your test suite.
Sign the raw body
Use a local test secret to generate the HMAC SHA-256 signature that Lemon Squeezy sends in the x-signature header.
Replay into your app
Use the generated curl command against a local tunnel, staging URL, or test route before enabling the production webhook.
FAQ
Should I paste a production webhook secret?
No. Use a throwaway test secret. BillingWebhookKit runs in the browser, but test credentials are still the right default.
Does this replace Lemon Squeezy webhooks?
No. It helps reproduce webhook events locally and in CI before you depend on live webhook delivery.
Use the free sample before wiring production checkout
Download a public sample pack with fake Lemon Squeezy fixtures, signature tests, contract checks, duplicate replay tests, and CI skeletons. The Pro Kit preview shows the full paid package structure without exposing the private archive.