Migrate from Lemon Squeezy
In this guide
Keep your customers’ keys and existing activations as you move to Keyseal. Make a separate plan for licences already sold, new sales and subscriptions. Installed applications switch when they start calling the new host.
Try your test store
In the console’s Test environment, open Migration as an administrator or owner. Enter your store number and its Lemon Squeezy test-mode API key. Use only that store’s test-mode data. Keyseal reads the data in the background and sends no customer emails during import.
A licence key imported in Test stays there. A later import in Live would skip it with key_exists_other_environment. If your store has no test data, add some in test mode or prepare the actual import separately. Importing the real store in Live creates lasting records.
Match variants and review the report
Each imported product becomes a Keyseal product and each variant becomes a private, unpriced plan. The report shows created, updated, unchanged and skipped items, skip reasons and variant prices for reference. Compare your Lemon Squeezy variants with the product’s plans and check their seat counts and kinds. An unlimited activation limit becomes 1,000 seats.
Keyseal uses a licence’s order item to find its plan. If the order item is unknown, it can use the product’s only variant when no other variants were skipped. The variant_unknown reason flags a licence that Keyseal could not assign. Review skipped keys before switching. Imported orders remain historical records. Upload your release files separately.
Validate an existing key
Validate an imported test licence and a previously activated machine using its original instance_id. Send POST https://keyseal.io/v1/licenses/validate with the usual license_key and instance_id fields. Check valid, the product, the variant and test_mode. The matching /v1/licenses/activate and /v1/licenses/deactivate paths handle activation and release.
Imported keys retain their value. The product’s compatibility setting controls only the format of new keys. A later application update can adopt Keyseal’s signed certificate protocol and keep the existing keys.
Switch the store and applications
- After the trial, open the correct organisation’s Live environment to import the real Lemon Squeezy store. Review its report and validate a licence from that store against the new host. For this licence,
test_modeisfalse. - Under Settings → Stripe in Live, connect the Stripe account that will receive your sales. Test has its own separate connection. In the Live Keyseal catalogue, create a price for each plan you sell, with its currency and, for subscriptions, its billing interval. Make plans for sale public and sync the catalogue to Stripe.
- Publish your releases and files, then replace your buy buttons and pages with the Keyseal links from your selling environment.
- Release an update to each application that replaces
api.lemonsqueezy.comwithkeyseal.iofor the compatible licence API. Versions still configured with the old host continue calling Lemon Squeezy.
Link subscriptions and finish
After syncing, look up the Stripe Price ID for each subscription plan. The management API returns it in price.stripe_price_id on GET /api/v1/plans/{plan_id}. In Stripe’s migration tool, assign that same Price ID to each subscription you recreate for the plan. Another price for the same amount has a different ID and can leave the subscription without a recognised plan.
Under Migration, review the proposed matches. The Stripe customer email must match the holder of an imported subscription licence, and the price must identify a plan for the same product. The reason price_without_plan means Keyseal does not recognise the price and the match cannot be confirmed.
Confirm the correct pairs individually. Keyseal rereads the subscription and links the licence after confirmation. For a stale result, refresh the proposals. With tag_pending, the link already exists and a second confirmation completes tagging in Stripe. The Stripe period end plus three days of grace replaces the previous expiry.
Confirm recreated subscriptions before replaying the import after a renewal date. Linked licences follow Stripe, while unlinked licences still follow changes in Lemon Squeezy. Replay during the transition to pick up changes without duplicating licences. Finish once your applications call Keyseal and sales have moved off Lemon Squeezy. Finishing erases the source API key and stops replays. The report remains available. Review unlinked_subscriptions for open-ended subscription licences still without a match.