ATV License Manager For WooCommerce automatically delivers license keys to your customers when they buy your software, and gives your applications a REST API to validate activations and bind them to a machine — ideal for desktop and mobile applications sold through WooCommerce.
What it does
- Import existing license codes or generate unique codes in bulk (24-character codes from an unambiguous alphabet, up to 500 at a time).
- Create multiple "apps" — each WooCommerce product can draw keys from its own app's pool, so you can sell different software from one shop.
- Keys are assigned automatically when an order is processing or completed; each order consumes exactly one unused code from the product's app.
- Customers see their key on the order-received (thank you) page, under My Account → Orders, on the Downloads screen, and inside the default WooCommerce order emails — no theme changes needed.
- Admin tools: import codes, generate codes, assign a key manually to an order (optionally emailed straight to the customer), deactivate all activations for an app, delete selected or all unused codes, and view per-app statistics.
- License keys appear in the admin Orders list and on the order edit screen for quick support lookups.
- REST API for activation dialogs in your desktop apps — see below.
Getting started
- Go to License Keys → Apps and create an app (name and slug).
- Open the app's page: paste your own codes into "Add New Codes" (one per line), or use "Generate Codes" to create unique ones. Click "Add Codes" to save.
- Edit a product in WooCommerce and pick the app its keys come from in the "License Key App" box.
- Publish the product. From now on, every order containing it automatically receives one unused key from that app's pool, and the key is shown to the customer and included in the order emails.
- In your desktop or mobile app, call the REST API to validate and activate the key (below).
- For support, search the Orders list for the customer — their key is right in the Orders table and on the order screen.
REST API
Endpoint:
https://your-site.com/wp-json/atv-license-manager/v1/validate
(the legacy URL
/wp-json/lkm/v1/validate also works).
Method:
POST, body as JSON:
{
"key": "THE-LICENSE-KEY",
"app_slug": "my-app",
"mac_address": "AA-BB-CC-DD-EE-FF"
}
The reply is JSON:
{"success": true|false, "message": "..."}.
- The first successful call activates the key and binds it to the given MAC address (machine binding).
- Later calls from the same machine succeed; calls from a different machine are rejected until the key is released.
- To deactivate and release the binding, send
"delete": true in the same request, or use "Deactivate All" in the app's admin page.