We recently shipped two small but important features to Lemon Squeezy.
The first is what we’re calling license key variables. You can now add a
[license_key] variable to your “Redirect after purchase” URL. This placeholder will be replaced with the real license key when a customer purchases your product. That way, when they get redirected to your URL you can do some processing with their license key.
For example, the Make Lemonade crew had teamed up with James McDonald to launch Iconic. We use this variable in Iconic to automatically activate a user’s account after purchasing a Pro license instead of the customer having to manually enter their license key. As you can see, this is a powerful way of improving the onboarding flow for new customers.
The second feature isn’t so much a new feature as an improvement of an existing feature. You can now control license key settings, such as the license length and activation limit, in your product variants when creating and editing a product.
You might be wondering why this is important. Imagine you are selling a software product and want to limit the number of “seats” you sell based on the variant the customer purchased. For example, with the Iconic Pro Team license, we have variants set up for different sizes of teams (5 users, 10 users, 20 users).
Previously, you could only set the license activation limit on the product which means that each variant would have the same activation limit. This obviously doesn’t work if you want to offer different limits for each variant as above.
Now you can control all license key settings independently for each variant. This not only allows you to set different licence limits and lengths for each variant but gives you the option to completely enable/disable license key generation altogether at the variant level.
Feel free to check out our support docs to learn more about our license API. License API Docs →
Stay fresh. 🍋