Clavem

Get started

The Clavem Stripe App

Install Clavem from the Stripe App Marketplace, and every paid checkout for a price you linked gets a license key, which you can see in your Stripe Dashboard next to the payment.

What the app does

The Clavem Stripe App connects your Stripe account to Clavem. You install it from the Stripe App Marketplace, link your Stripe prices to your Clavem products, and from then on every paid Checkout Session for a linked price gets a license key, including one made through a Payment Link. Clavem emails the key to the buyer, from Clavem and not from Stripe, and gives them their order page.

The app also adds a Clavem view to the customer, payment and subscription pages of your Stripe Dashboard, so you see the keys next to the payment. It only reads your Stripe account.

It is one of two ways to connect Stripe. The other is a restricted key, and both issue licenses the same way. The details they share, such as linking, plans, what each Stripe event does and troubleshooting, are on Connecting Stripe.

Right inside your Stripe Dashboard

Once the app is installed, a Licenses panel appears on three pages of your Stripe Dashboard: a customer, a payment and a subscription. Each one lists the Clavem license keys that came from that customer, payment or subscription. For every key it shows:

  • The product, with the variant name after it when the key has one.
  • The status: Active, Not activated, Expired or Disabled.
  • A shortened key, with its first five and last four characters. It is enough to recognise a key and not enough to use it.
  • The devices in use, as "2 of 3 devices", or "2 devices, no limit" when the license has no limit, with the name of each device (up to five) and when it was last seen.
  • The expiry, as "Expires" or "Expired" with a date, or "Does not expire", and the day the key was issued.
  • A Manage in Clavem link that opens the license in Clavem.
A customer page in the Stripe Dashboard. On the right, a Licenses panel reads Clavem license keys for this customer, with an Open Clavem link. Under it is one key: the product Quill, the status Not activated, the shortened key 4BE07...KB36, 0 of 3 devices, Does not expire, issued Nov 23, 2026, and a Manage in Clavem link.
The Licenses panel on a customer in the Stripe Dashboard.

The panel shows up to 25 keys, the newest first, and a link to the rest in Clavem when there are more. It is read-only: sending a key by email again, disabling a key and removing a device are done in Clavem, where the link takes you. In live mode the panel shows live keys, and in test mode test keys, and only those of the Stripe account you are signed in to. When that account is not linked to Clavem, the panel says so and links to Clavem's settings. When a customer, payment or subscription has no key, it says "No license for this customer" (or payment, or subscription).

The app also has a settings page in Stripe. It says in a few lines what Clavem does with your account and has two links: Open Clavem, and How the Stripe connection works, which opens Connecting Stripe. In test mode it adds that test-mode payments issue test licenses, which are free.

Connect it, step by step

  1. Start in Clavem. Sign in, open Settings, then Payments, and under Stripe press Connect with Stripe. If you install the app from its Marketplace listing first, Stripe sends you to Clavem's settings, where a note asks you to press the same button.
  2. Choose the account and allow access. Stripe shows the Clavem app and the read access it asks for (the list is below). Pick the Stripe account and approve it. To try it with test payments first, press Connect a test-mode account instead, next to the button, and approve a test-mode account.
  3. Come back to Clavem. Stripe sends you back to Settings, which says "Stripe is connected through the Clavem app. New payments now issue licenses." The account shows as connected with the Clavem Stripe App, marked Live or Test.
  4. Link your prices. Open a product under Products, find its Stripe section and press Link a Stripe product. Choose the Stripe product, then either one of its prices or "Any price of this product", add a plan or a variant name if you use them, and press Link product. A purchase of a price you did not link issues no license, and Activity shows it as "Sale of an unmapped product".
  5. Test it. With a test-mode account connected and a test-mode price linked, pay for a Checkout Session of that price with Stripe's test card 4242 4242 4242 4242, any future expiry date and any CVC. The license appears under Licenses in Clavem, marked as test, and the Licenses panel of the customer shows it in your test-mode Stripe Dashboard. Test-mode licenses are free, and they expire 7 days after they are issued.
  6. Go live. Under Stripe in Settings, press Connect another Stripe account, then Connect with Stripe, and approve your live account. Stripe's ids differ between test and live mode, so open the product, unlink the test price, choose the live account in the Stripe account picker and link the live price. From then on, live payments issue real licenses.

If you only sell live, skip the test steps. More than one Stripe account, plans on a price and what to check when a purchase made no license are on Connecting Stripe.

Subscriptions and refunds

Clavem keeps each key in line with what happens in Stripe:

  • A one-time payment issues a key that follows the product's validity: perpetual, or a number of days.
  • A subscription issues a key that lasts to the end of the paid period plus three days. Each paid invoice moves the expiry forward to the end of the period it paid for, plus three days, and brings back a key that had expired.
  • The subscription's status decides the rest. Active, trialing and past due keep the key valid, and a past due subscription stays valid while Stripe retries the payment. Canceled, unpaid, paused and any other status expire it. A customer who cancels keeps the key until the end of the period they paid for.
  • A full refund of a one-time payment disables the keys of that order.
  • A refund of a subscription invoice does not disable the key. Cancel the subscription in Stripe, which expires the key, or disable the key in Clavem.
  • A partial refund or a dispute leaves the key as it is. If you want to end it, disable it in Clavem. A key you disabled by hand stays disabled.

Why it is a good way to sell

  • Nothing to paste. There is no webhook endpoint to create and no signing secret or API key to copy. You approve the app once. Clavem registers no webhook in your Stripe account: Stripe delivers your events to the app. Clavem keeps its access encrypted and renews it by itself.
  • It only reads. The app cannot create charges, refunds or customers, change your products or move money. Stripe stays your system for money, tax and invoices, and Clavem never touches the payment.
  • The key is next to the payment. When a buyer writes about their key, open their customer or payment in Stripe: the key, its status, its devices and its expiry are on the same page, and one link opens it in Clavem.
  • No cut of your sales. Clavem takes nothing from a sale. Plans are priced by active licenses.
  • Missed events are fetched. If Stripe ever fails to deliver an event, Clavem fetches it itself. Every 10 minutes it lists the events of the last 6 hours of your account and handles the ones its webhook did not receive, as if they had arrived: the buyer gets the key and the email, and nothing is issued twice. Events less than 5 minutes old are left to the webhook. Activity shows each one as "Stripe event fetched by Clavem (webhook not received)". How the catch-up works.

These are the permissions the app asks for. All of them are read access, and none of them can change anything in your account.

Stripe objectWhat Clavem uses it for
EventsReceiving purchases, renewals, cancellations and refunds, and fetching the ones Stripe did not deliver.
Checkout SessionsReading a paid checkout and its line items, to know which product was bought, how many and by whom.
ProductsListing your products, so you can link each one to a product in Clavem.
Prices (plans)Listing your prices, so you can link them to license settings in Clavem.
SubscriptionsKeeping a subscription key valid while the subscription is paid, and ending it when the subscription ends.
InvoicesRenewing a subscription key when its renewal invoice is paid.
ChargesSeeing that a payment was refunded, so its key can be disabled.
CustomersReading the buyer's email address, to send them the key.
Your accountShowing your Stripe account's name in Clavem, so you can tell connected accounts apart.

Uninstall and reconnect

To remove the app, uninstall it in Stripe, under Settings, then Installed apps. Stripe tells Clavem, which revokes the connection and deletes its access tokens, so Clavem cannot read your account any more. Licenses and orders you already have stay, and new payments do not issue licenses until you reconnect.

Clavem then shows a note under Stripe in Settings, then Payments: "Clavem can no longer read this Stripe account", with a Reconnect button. Press it and approve the app in Stripe again. The connection comes back with your product links, so you pick up where you left off.

You can also press Disconnect Stripe in Clavem. Clavem stops reading the account and the product links are removed, so link your prices again if you connect it later. Uninstall the app in Stripe as well if you no longer want it listed there.

What it costs

The free plan covers one product and up to 100 active licenses. Paid plans are on the pricing page.