NOTICE · Lemon Squeezy stops processing payments March 31, 2027— days left
migratefromlemonsqueezy
Lemon Squeezy logo→Polar logo

How to migrate from Lemon Squeezy to Polar

Polar is an open-source merchant of record built for developers, with entitlements like license keys, file downloads and repo access built in.

Updated November 2026 · Lemon Squeezy stops processing payments March 31, 2027

Polar is a good fit if

  • — Indie developers and open-source maintainers
  • — Products that sell license keys, downloads or GitHub access
  • — You like an API and SDK-first workflow

Check first

  • — Map each Lemon Squeezy variant to its own Polar product or price carefully
  • — Existing license keys need importing or a validation bridge so old keys keep working
  • — Confirm affiliate support or pair it with an external affiliate tool

Why developers pick Polar

Polar is an open-source merchant of record built for developers. Instead of only selling a product, you attach benefits to it: license keys, file downloads, GitHub repository access, Discord roles, custom benefits. For indie developers who liked Lemon Squeezy's license keys and downloads, it's one of the most natural destinations.

Mapping your catalog

Lemon Squeezy Polar
Product + variants Product (with one or more prices)
Variant with license key Product with a License key benefit
File downloads File downloads benefit
Subscription Subscription
Order Order
Discount code Discount
Customer Customer (with external_id for your user ID)

Polar products are usually one product per plan or per billing interval set. Map each Lemon Squeezy variant deliberately and keep a mapping file of old variant ID → Polar product/price ID.

Swapping checkout

Create a checkout session on your server and redirect:

import { Polar } from "@polar-sh/sdk";
const polar = new Polar({ accessToken: process.env.POLAR_ACCESS_TOKEN });

const checkout = await polar.checkouts.create({
  products: ["<polar-product-id>"],
  customerEmail: user.email,
  externalCustomerId: user.id,   // replaces custom_data.user_id
  successUrl: "https://yourapp.com/welcome?checkout_id={CHECKOUT_ID}",
});
// redirect to checkout.url

License keys on Polar

Add a License key benefit to the product and new customers get keys automatically, with activation limits and validation through Polar's API. For your existing Lemon Squeezy keys, check with Polar whether you can import them with their activation counts. If you can, customers keep the exact key they have. Either way, put a validation endpoint on your own domain in front of it, so your app never depends directly on one provider again. Details: migrating license keys.

Moving subscriptions to Polar

Ask Polar about importing payment methods for existing subscribers. If that's not available for your account, use the re-subscribe playbook with billing deferred to each customer's renewal date.

Webhooks

Polar uses the Standard Webhooks spec. Payments arrive as order.paid (including renewals, with a billing reason telling you which). Subscription lifecycle arrives as subscription.* events, and benefit grants as benefit_grant.*. Full mapping and verification code: webhook migration guide.

Affiliates

If you relied on Lemon Squeezy's built-in affiliate program, check Polar's current affiliate options, or pair it with an affiliate tool that integrates with Polar. See migrating affiliates.

Typical timeline

Week Work
1 Export, map variants to products and benefits
2 Checkout, webhooks, license key benefit in sandbox
3 Import or bridge existing license keys, ship app update
4–5 Subscriptions, affiliates, cutover

Webhook mapping: Lemon Squeezy → Polar

Closest equivalents. Check payload shapes against Polar's current docs before shipping. Signature code for every provider →

Lemon SqueezyPolar
order_createdorder.paid
subscription_createdsubscription.created
subscription_updatedsubscription.updated
subscription_payment_successorder.paid (billing_reason: subscription_cycle)
subscription_cancelledsubscription.canceled
license_key_createdbenefit_grant.created

Don't want to do this yourself? We'll do the whole migration at a fixed price.

Questions

How long does a Lemon Squeezy to Polar migration take?+

A store with only one-time products can move in a few days. With active subscriptions, license keys or affiliates, plan for two to five weeks including testing and a staged cutover.

Can I move my subscribers to Polar without them re-entering their card?+

Only if a secure payment data transfer between Lemon Squeezy/Stripe and Polar is approved for your account. Ask both sides early. If it isn't possible, a well-run re-subscribe flow keeps most subscribers.

Is Polar a merchant of record like Lemon Squeezy?+

Yes. Polar handles sales tax and VAT as merchant of record. Confirm it supports your seller country and product type.

Does Polar support license keys?+

Yes. Check whether your existing Lemon Squeezy keys can be imported with their activation counts.

Keep reading

Migration guides by destination