Commercial SaaS & Web Apps

Why Licensing + Payments Matter

For SaaS and web apps, you need two things:

  1. a single source of truth for entitlements (plans → features, limits, seats), and
  2. automation so upgrades, trials, renewals, suspensions, and overages just happen—via APIs and webhooks.

Devolens sits between billing and your app as a licensing automation layer, so plan logic isn’t scattered across services.

Options: Build It In-House / Bolt-On Flags vs. Devolens

Build in-house (entitlements service + flags)

Full control, but you must maintain plan → feature maps, seat counts, usage meters, trial logic, proration, per-tenant exceptions, and auditability. Easy to drift out of sync with billing.

Bolt-on feature flags only

Great for rollouts, but not a licensing system. You still need seats, usage limits, trials, renewals, and per-tenant overrides that align with billing.

Devolens (licensing & entitlements layer)

  • Model plans, seats, features, and usage caps once; sync via APIs/webhooks to your app and billing.
  • Works with user verification (email + password) and conventional license keys (for companion desktop/CLI or on-prem agents).
  • Payment-agnostic: keep your billing provider; Devolens handles entitlements.

Tip: Keep auth/identity where it is (e.g., your IdP). Use Devolens to answer “what is this tenant/user entitled to right now?

Implementation: How It Fits Your Stack

  1. Model your plans in Devolens (features, limits like projects/requests/storage, seats, trials).
  2. Wire billing events (subscribe, upgrade, cancel) to Devolens with webhooks.
  3. Check entitlements at login and/or per request (middleware) to turn features on/off and enforce limits.
  4. Meter usage (requests, jobs, credits) with soft or hard caps.
  5. Handle exceptions with per-tenant overrides—no deploy needed.

Below is an example of key verification in Python. You can find examples in other languages on this page.

RSAPubKey = "enter the RSA Public key here"
auth = "access token with permission to access the activate method"

result = Key.activate(token=auth,\
                   rsa_pub_key=RSAPubKey,\
                   product_id=3349, \
                   key="ICVLD-VVSZR-ZTICT-YKGXL",\  
                   machine_code=Helpers.GetMachineCode(v=2))

if result[0] == None:
    # an error occurred or the key is invalid or it cannot be activated
    # (eg. the limit of activated devices was achieved)
    print("The license does not work: {0}".format(result[1]))
else:
    # everything went fine if we are here!
    print("The license is valid!")

Devolens supports both User Verification (password auth) and License Key Verification. Use the former for SaaS sign-in; the latter for desktop/CLI/on-prem components tied to your SaaS plans.

Benefits You Get With Devolens

  1. One plan brain - central entitlements for features, seats, and usage across services.
  2. Automation - provision, upgrade/downgrade, renew, suspend via APIs/webhooks.
  3. Seat & role management - per-user seats, team invites, admin controls.
  4. Usage-based models - meter requests/jobs/credits; enforce soft/hard caps.
  5. Per-tenant overrides -enterprise exceptions without new code paths.
  6. No redeploys for changes - flip features and limits instantly.
  7. Payment-agnostic - keep your billing and tax logic where it is.
  8. Governance - audit logs, environment scoping, and policies.

FAQ - SaaS & Web Apps

How is this different from authentication (Auth0, Cognito, etc.)?
Auth answers who the user is. Devolens answers what they’re entitled to (features, limits, seats) and automates plan changes.

Can we mix seats and usage-based pricing?
Yes. Combine seat counts with metered limits (e.g., 10 users + 1M requests/month).

Do we need to change billing providers?
No. Keep your processor; use webhooks/APIs so plan changes update entitlements in real time.

How do plan changes apply immediately?
Webhook → Devolens updates entitlements → your middleware enforces on next request/login—no deploy needed.

Can we do trials and promos?
Yes. Add time-boxed trials and promotional overrides that convert in place.

What about per-tenant exceptions for enterprise deals?
Set overrides (extra modules, higher caps, custom roles) that survive upgrades.

We also ship a desktop tool/agent—can this cover both?
Yes. Use user verification for the SaaS app and license keys for the desktop/agent, backed by the same entitlements.

How long to first integration?
Teams often wire a first plan + feature quickly (customer-reported; varies by stack).

+10 Years of Experience

The investor-backed Devolens team has extensive experience and knowledge in the software licensing industry.

2 Million Daily Activations

Our licensing system handles 2 million key activations each day and offers a 99.9% uptime guarantee.

Trusted by +500 Customers

Devolens has been trusted by over 500 fast-growing industry-leaders all over the world in a vast variety of industries.

Trusted by hundreds of today's most innovative companies worldwide, such as:

Pobs
Refeyn
CoolOrange
Manomotion
ForceTechnology
CyBe
DriveU
SigParser
Conclass
Refeyn
Pobs
CoolOrange
ForceTechnology

Impact That Compounds

Here are some of the results that Devolens customers have experienced after choosing us as their licensing partner:

$3,000/Year Saved

in total engineering costs.

+400 Hours Saved

by avoiding in-house development.

46 Hours/Week Saved

by avoiding maintenance.

Get Started with
Devolens Today

Join the +500 customers and industry-leading software companies who have already chosen us as their software licensing system.