How to sell a desktop app with license keys

Short answer

To sell a desktop app, sell a license key through a checkout link. The buyer pays by card and receives a unique key, your app activates and validates it. You decide what happens if it fails. Ruba issues the keys, hosts the validation, and pays you to your own bank.

Why a key suits a desktop app

A Ruba license key can allow 1 to 50 activations and can expire on a date you choose. Tanvir in Chattogram built a bulk file renamer for Windows and Mac. A buyer installs it and runs it offline for weeks. Tanvir needs a simple way to say “this copy is paid for”. That is a license key.

A key is a code. The buyer pastes it in your app. Your app asks Ruba if the key is valid. If yes, it unlocks.

The life of one key

From purchase to unlocked app
  1. BuyBuyer paysOn Ruba’s checkout, by card.
  2. ReceiveGets a keyWith your prefix, like RENAME-.
  3. ActivateApp activates itOne activation per device.
  4. LaunchApp validates itOn start, or before a paid action.
Figure 1Based on Ruba’s license key docs. Payouts are sent by hand, and Ruba does not promise a speed.

Your app calls Ruba’s validate endpoint with the key and your organization ID. Always check the organization ID, so a valid key from another seller cannot unlock your app. If you sell several keys, match the benefit ID too.

What you control

You can set
A key prefix, like RENAME-
Expiry in days, months or years
Activation limit, usage allowance, conditions
Auto-revoke when a subscription ends
You build in your app
The activate and validate calls
What happens when a check fails
Offline grace time, if you want one
Figure 2From Ruba’s docs. The activation limit is 1 to 50.

The installer reaches each buyer through a private link that works for 60 minutes. Every file is checked for malware first.

Lifetime or yearly?

LifetimeOne payment
Key expiryNone
Ruba fee4% + $0.50
Your incomeLumpy
Support costForever

Great for Small tools that rarely change.

Watch for You support old versions for years. Consider a major_version condition.

Figure 3Both are products. Subscriptions add 0.5% to Ruba’s fee. Gumroad’s features page also lists license keys.

Here is what Gumroad’s and Polar’s pages say. Gumroad is 10% + $0.50 on direct sales. Polar’s free plan is 5% + 50¢. Ruba is 4% + $0.50, with no monthly fee, and pays you in PKR, INR or BDT to your own bank.

What to do next

Decide lifetime or yearly, then apply for Ruba early access. After approval, create a product and attach a License keys benefit. For the choice of plan, read lifetime deal or subscription.

Let each key activate on a few machines, no more. A company is not required, and no monthly fee applies. Get approved in early access and your desktop app keeps 4% + $0.50 per sale, locked while the account stays open and in good standing. A payout starts at $10 after the fee. You ask when you are ready, it goes to your own bank, in PKR, INR, BDT or 51 other currencies, and it costs $2 up to $200, then 1%. The $100 promise: a fee Ruba never told you about comes back to you, and Ruba pays you $100. Terms apply. See the early-access deal.

Questions people ask

How does a license key work with Ruba?

You attach a License keys benefit to a product. Each buyer gets a unique key after purchase. Your app can activate the key on a device and validate it when it starts. Ruba hosts the validation, and you decide what happens when it fails.

How many devices can one key run on?

You choose an activation limit from 1 to 50. When customer deactivation is enabled, a buyer can remove an old activation on their own.

Can I sell a yearly licence that expires?

Yes. A key can expire after a number of days, months or years. The dashboard default is one year. A key can also be revoked automatically when the subscription that supplied it ends.

Can I limit a key by usage?

Yes. A key can carry a usage allowance, and your app increments it when it validates. Use that for exports, renders or other counted actions.

Can I check a key offline?

Ruba hosts online validation. If your app must work offline, decide how long to trust a previous successful check, and design that part yourself.

Sources

We check these when we update this guide. Rules can change, so check them yourself before you decide.