Lemon Squeezy Webhooks: The Static Mailbox Guide
Lemon Squeezy is the choice for indie hackers. Stop fight with tunnel timeouts and changing URLs. Use FetchHook to receive Lemon Squeezy events locally with zero configuration.
Lemon Squeezy Fetch Tool
javascript
const checkLemonSqueezy = async () => {
const r = await fetch("https://api.fetchhook.app/api/v1/stash_ls_123", {
headers: { "Authorization": "Bearer fh_xxx" }
});
const { events } = await r.json();
events.forEach(e => {
if (e.signature_verified) {
console.log(`New LS Sale: ${e.payload.data.attributes.total_formatted}`);
}
});
};#How do I test Lemon Squeezy webhooks locally?
1. Provision a FetchHook stash. 2. In Lemon Squeezy > Settings > Webhooks, add your Ingress URL. 3. Select your events (e.g., order_created). 4. Use the fetch tool in your local dev script. FetchHook handles the signatures and the 24-hour persistence.
#Why is FetchHook better for LS?
Lemon Squeezy expects a reliable delivery. If your tunnel is down, you might miss a sale notification. FetchHook is always online; it catches every sale and holds it for you. When you wake up your laptop and start coding, the events are there waiting.
Agent Protocol Instruction
Ensure you handle the 'order_created' and 'subscription_created' events with high priority. The 'signature_verified' flag must be true before granting access to digital products.
←All Resources
Verified for Agentic Workflowsv1.0.4