Leverine · Blog

Lemon Squeezy Is Shutting Down: What Breaks in Your Code Before March 31, 2027

Lemon Squeezy is shutting down: new sign-ups closed November 16, 2026, and payment processing stops March 31, 2027. Licence keys and digital fulfilment do not migrate to Stripe Managed Payments, so installed apps calling licenses/validate will fail. Here is what breaks in your code, and a free scanner that finds it.

A shopfront at dusk in the rain, its sign going dark — code and a licence key ghosted in the window glass, a checkout terminal winding down inside.

If you sell software through Lemon Squeezy, you have a deadline now, whether you planned for one or not. Lemon Squeezy is shutting down, and the part that matters most is not the store page going away. It is what stops working inside the software you already shipped.

This post is about that part: what breaks in your code, how to find all of it, and what to do before March 31, 2027.

What is happening, and when

Lemon Squeezy closed new sign-ups on November 16, 2026. Payment processing stops on March 31, 2027.

On December 2, 2026, Stripe launched migration tooling toward Stripe Managed Payments. That tooling is a path for payments. It is not a path for everything you built on top of Lemon Squeezy.

Licence keys and digital fulfilment do not migrate to Managed Payments. That distinction is easy to miss in a migration checklist, and it is the one that will hurt if you miss it.

If you are asking what to do before March 31, 2027, start earlier than March. The last safe time to start a migration is mid-January 2027. After that you are cutting over payment, checkout, webhooks, and licence handling at the same time, under a hard stop, with no room for the thing you forgot.

What actually breaks in your code

A store closing is visible. Code failing is quieter. Your app does not know the platform is winding down. It just keeps calling the endpoints it was built to call, until those endpoints stop answering.

Licence validation and activation: the critical part

This is the break that affects customers who already paid you.

Installed apps that validate a licence call api.lemonsqueezy.com/v1/licenses/validate. The related endpoints cover activation and deactivation as well: /licenses/validate, /licenses/activate, and /licenses/deactivate.

Those calls will fail on March 31, 2027. When they fail, your software has to decide what “could not validate” means. If your code treats a failed validation as an invalid licence, paying customers lose access to software they bought, through no fault of theirs and no bug in your original code. The platform underneath the check is what went away.

That is why trying to migrate licence keys is not just an admin task. You need a new licence system answering in place of the old one, and your shipped software needs to be pointed at it, before the old endpoint stops responding. Searching your codebase for licenses/validate is a good first step. It is not the whole job.

Checkout links and the lemon.js embed

Your checkout lives in more places than your pricing page. Lemon Squeezy checkout links point at lemonsqueezy.com checkout URLs, and the overlay checkout uses the lemon.js embed and the LemonSqueezy global in the browser.

When processing stops, those links and embeds stop selling. They will be scattered through landing pages, documentation, email templates, and in-app upgrade prompts. Any one of them left behind is a buy button that goes nowhere.

API calls to api.lemonsqueezy.com

Beyond licences, plenty of sellers call api.lemonsqueezy.com directly, usually under /v1/, for orders, subscriptions, products, checkouts, and customers.

Those integrations break with the platform too. Back-office scripts count here, not just the customer-facing app. The cron job that syncs orders and the admin page that looks up a subscription are code calling the same API, and they will fail the same way.

Webhook handlers and their secrets

If you fulfil orders from Lemon Squeezy webhooks, you have a handler somewhere that receives those events and a signing secret that verifies them.

That handler does not carry over on its own. A new payment provider means new events, a new handler or a reworked one, and a new secret to configure and protect. Leave the old handler in place and it simply stops receiving anything useful. Get the new one wrong and you can take payment without fulfilling the order, which is worse.

SDK imports

Many codebases pull Lemon Squeezy in through an SDK rather than raw HTTP: a JavaScript or TypeScript package, a PHP package, or a Python import, depending on the stack.

Those imports are touchpoints too. Removing the calls but leaving the dependency, or removing the dependency and breaking the build, are both normal migration failures. The SDK references tell you where the integration was intended to live, which is often not where all of it ended up.

Configuration: LEMONSQUEEZY_* environment variables

Finally, there is configuration. LEMONSQUEEZY_* environment variables hold store IDs, API keys, and webhook secrets across your environments: local, staging, and production, and probably a .env example file and deployment settings as well.

Configuration is easy to forget because it is not in the code path you are reading. It is still part of the migration. Old keys and secrets need to come out, new ones need to go in, and every environment needs the change, not just production.

Find all of it before you start: the free scanner

I built a small diagnostic for this, because “search for lemonsqueezy and hope” is not an inventory.

The Lemon Squeezy Code Scanner is free, and you can download it from leverine.com/ls-scanner. You run it locally, on your own machine, against your own codebase. Nothing is uploaded. It is plain pattern matching, no account and no telemetry.

It reports the categories above, grouped by severity, with the file and line for each hit:

Licence validation and activation endpoints are reported as critical. Checkout links and lemon.js embeds, api.lemonsqueezy.com and other /v1/ calls, webhook handlers and secrets, and SDK imports are reported as high. LEMONSQUEEZY_* environment variables and bare store links are reported as medium. Plain mentions in prose are listed as information only, so you can see them without treating them as findings.

Two limits, stated plainly. The scanner does static pattern matching, so a URL assembled at runtime from fragments can be missed unless a fragment itself matches. And a clean report means no pattern matched. It does not mean you are migrated. Use it as the inventory, then work through the inventory.

The path forward

Once you have the inventory, the work splits into two parts.

The first part is payments and fulfilment: choose where checkout moves, replace the links and embeds, rework the webhook handling, and replace the direct API calls. The Stripe Managed Payments migration tooling that launched on December 2 may be part of that for some sellers. Read its scope carefully. It does not solve the licence problem described above.

The second part is licences, and this is where I need to be direct about what Leverine sells, because the wording matters.

For the document side, there is an Exit Kit: a pack of documents covering the migration, including the exports and inventory steps to work through before cutover. It is the checklist side of the job.

For licences themselves, Leverine Licensing can reissue them. Reissue does not mean import. Your customers’ Lemon Squeezy key strings cannot be carried over, and no honest tool should promise that they can. Reissue means new Leverine keys are issued, against your own Leverine Licensing deployment, for the customers who hold Lemon Squeezy licences, so those customers get a working new key to swap to. Anyone selling you “keep your existing keys” for this move is promising something the architecture does not allow.

That key swap is real work for you and a real email for your customers. There is no version of this migration where it is not. Doing it in January, with time to contact people and ship an updated build, is a different job from doing it in the last week of March.

Start with the inventory

If you take one step from this post, make it that one: find every Lemon Squeezy touchpoint in your code now, while you still have time to act on the list.

Download the free scanner from leverine.com/ls-scanner, run it locally, and read the report. Look at the critical licence hits first. Count how many places call licenses/validate. That number, more than any store-page deadline, tells you how much migration you actually have.

Lemon Squeezy shutting down is not a problem you can fix on March 31, 2027. It is a problem you fix before it, in your code, one touchpoint at a time.

← All posts