What you’ll need
- A LemonSqueezy account with at least one store
- Your Store ID (found in store settings)
- An API key (created in developer settings)
- The Trfyx tracker installed on your website
Step-by-step setup
1
Find your Store ID
Go to LemonSqueezy → Settings → Stores.Your Store ID is the numeric ID shown next to your store name. Copy it.
2
Create an API key
Go to LemonSqueezy → Settings → API.Click Create API Key, give it a name like
Trfyx, and copy the key.3
Connect in Trfyx
In your Trfyx dashboard, open Integrations and select LemonSqueezy. Paste your Store ID and API Key, then click Connect.Trfyx creates a webhook on LemonSqueezy automatically. It listens for:
order_created— one-time purchasesorder_refunded— refundssubscription_payment_success— recurring subscription payments
4
Test with a purchase
Create a test purchase through LemonSqueezy. It should appear in your Trfyx Revenue dashboard within seconds.
What LemonSqueezy data flows into Trfyx
Troubleshooting
'Failed to create webhook' error
'Failed to create webhook' error
- Double-check your API key is valid and hasn’t expired
- Verify the Store ID matches your actual store
- Make sure your LemonSqueezy account has webhook creation permissions
Payments not appearing
Payments not appearing
Check LemonSqueezy’s webhook delivery logs in Settings → Webhooks. Look for failed deliveries and check the response codes.