Connect Lemon Squeezy
1
Create an API key
In Lemon Squeezy, go to Settings → API and create a key. Copy it — it’s shown once.Keyplar uses it to read orders, subscriptions, license keys and products, both for
post-checkout fulfillment and for import.
2
Add the webhook
Go to Settings → Webhooks → Add endpoint and use your store’s webhook URL:Set a signing secret of your choosing, and subscribe to these events:
Other events are accepted and ignored.
3
Save the credentials in Keyplar
In your admin panel, open Settings → the Lemon Squeezy panel:
- Secret key — the API key
- Webhook secret — the signing secret you set on the webhook
- Store ID — optional, if your account has several stores
4
Set the post-checkout redirect
The panel shows the URL to use:Set it as the product’s confirmation / thank-you redirect in Lemon Squeezy.
Map products by Variant ID
Lemon Squeezy products have variants; that’s the level Keyplar maps on, so different pricing tiers of one product can grant different benefits.1
Find the Variant ID
In Lemon Squeezy, open the product and its variant. The numeric variant ID appears in the
URL and in the variant’s details.
2
Paste it into the Keyplar product
Products → your product → the Lemon Squeezy mapping field.
Things specific to Lemon Squeezy
Lemon Squeezy owns its license keys
If a variant has license keys enabled, those keys belong to Lemon Squeezy. Keyplar imports them with their original values and keeps them in step:- Disabling a key in Keyplar disables it in Lemon Squeezy, and vice versa
- Deactivating a seat in Keyplar deactivates the corresponding instance in Lemon Squeezy
- Regenerating is not available for Lemon Squeezy orders — the key lives upstream
Catalog sync can create benefits for you
When Keyplar syncs your Lemon Squeezy catalog it can create matching benefits automatically:
License benefits with identical options are shared rather than duplicated, so ten variants with
the same terms produce one benefit, not ten.
The first invoice isn’t double-counted
subscription_payment_success fires for the initial payment as well as renewals. Keyplar records
only the renewals as separate payments — the initial one is already the order_created order.