Clavem

License keys for software sold through Dodo Payments: Clavem now works with Dodo

Until now Clavem took its sales from Stripe and Polar, so a developer selling through Dodo Payments could not use it. From today you can connect a Dodo business with an API key. Dodo keeps the checkout, the tax and the invoices; every payment issues a Clavem license, and subscriptions, cancellations and refunds change it by themselves.

Why Dodo Payments

Clavem started as license keys for software sold through Stripe, and on 29 November it added Polar. That still left out developers who sell through Dodo Payments, a merchant of record that handles sales tax for the seller. Dodo can issue license keys of its own, through its License Key entitlement, but some apps need more around the key: a check that works offline, an update period, downloads and update feeds for paying customers only, or the License API they already call.

Polar was the first provider on Clavem’s payment provider layer next to Stripe, and Dodo Payments is the second. Clavem is license key management for software, and payments come from the provider you already use: Stripe, Polar or Dodo Payments today, more coming.

How it works

  1. Connect your business. In Dodo, create an API key with the permissions Clavem lists. In Clavem, open Settings, then Payments, and paste it under Dodo Payments. The key’s prefix says whether it opens your live or your test business; an older key without one asks you to choose. Clavem registers its own webhook in your business, so there is nothing else to set up in Dodo.
  2. Link your products. On each Clavem product’s Payments tab, link the Dodo product that sells it, optionally on one of the product’s plans, such as Pro.
  3. Remove the License Key entitlement from those products in Dodo, so buyers get one key. Clavem warns about every linked product that still has one, when the key can read entitlements.

From then on, a payment creates the license, the buyer’s private order page and the email with the key. Dodo sends the money to you as before, and Clavem never sees the card.

What the key can do

Give the key only the permissions Clavem lists, by the names Dodo’s dashboard uses. With them, Clavem reads your products, payments, subscriptions and brands, creates its own webhook, and opens a checkout when a buyer renews their updates. It cannot refund payments, change your products or move money. The key is stored encrypted and never shown again; Settings shows only its last four characters. Two permissions are only for the import, and one lets Clavem warn about Dodo’s own keys. The full list is in connecting Dodo Payments.

What follows the subscription

  • A subscription license is valid until the next billing date, plus three days of grace, and each paid renewal moves that date forward.
  • A customer who cancels keeps the license until the end of the period they paid for.
  • A past-due subscription keeps the license while Dodo retries the payment. A subscription on hold after a failed renewal, paused, cancelled or expired ends it, and it comes back when Dodo has the subscription active again.
  • A full refund disables the payment’s licenses. Partial refunds change nothing until they add up to the whole payment.

Clavem reads the subscription as Dodo has it when an event arrives, so events that arrive late or out of order do not undo a newer state. An event Clavem cannot read is not dropped silently: it shows up in your activity feed.

Keys you already sold

If Dodo has been issuing keys for you, import them. Choose Import, then Dodo Payments, and pick the connected business. Each Dodo product maps to a Clavem product. The keys keep their exact value, and their instances become devices under their lki_ ids, so an app that stored the instance id can send it to Clavem as instance_id. Dodo marks the list of license keys that Clavem reads as deprecated, so import soon. Then switch your app’s check to Clavem’s License API. The migration guide maps Dodo’s calls to Clavem’s.

Test it first

Make a test-mode API key in Dodo and connect it. Dodo’s test mode is open before your business is verified. Buy a linked product with the test card 4242 4242 4242 4242, expiry 06/32 and CVV 123, and the license appears in Clavem, marked as test. Test licenses expire within seven days and are free on Pay As You Go. Connect your live business next to it when you are ready.

What it does not do

  • Quantities, seats, add-ons and usage-based prices are not counted: a payment issues one license for each linked product in it.
  • Connecting and disconnecting Dodo stay in the dashboard. Linking products and importing keys work from the management API and the MCP server too, but an API key should not pass through a script or an AI chat.
  • A Manage your subscription link. The order page of a Dodo subscription license has none.

What it costs

The same as a Stripe or Polar sale: free for your first 100 active licenses, then a flat monthly plan, or Pay As You Go. Clavem takes no percentage, and Dodo’s own fee stays as it is. See pricing.

To start, read connecting Dodo Payments, or compare the two side by side in Clavem and Dodo Payments.

Questions

Do I have to leave Dodo Payments?

No. Dodo stays your merchant of record and takes the payment as it does today. Clavem only listens to your business's payments and subscriptions, and issues and updates the licenses.

Does a license from a Dodo Payments sale cost more?

No. A license from a Dodo Payments sale costs the same as one from a Stripe or Polar sale, on every plan and on Pay As You Go. Clavem takes no cut of your sales.

What happens to the keys Dodo already issued?

Import them. Clavem copies each key exactly as it is, with its buyer, status, activation limit, expiry and instances, so an app that switches its check to Clavem keeps accepting every key already sold.

Can I sell through Stripe and Dodo Payments at the same time?

Yes. A product can sell through a Stripe account and a Dodo business at once, for example while you move from one to the other, and every license, whichever provider sold it, is in one list.

Can I try it without real money?

Yes. Connect with a test-mode API key. Payments in your test business issue test licenses, which a release build of your app should refuse.