ATV License Manager For WooCommerce

Description

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

  1. Go to License Keys Apps and create an app (name and slug).
  2. 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.
  3. Edit a product in WooCommerce and pick the app its keys come from in the “License Key App” box.
  4. 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.
  5. In your desktop or mobile app, call the REST API to validate and activate the key (below).
  6. 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.

Screenshots

Installation

  1. Install and activate WooCommerce — this plugin is an extension for WooCommerce.
  2. Upload the plugin via Plugins Add New Upload Plugin, or copy the atv-license-manager-for-woocommerce folder to /wp-content/plugins/.
  3. Activate the plugin through the ‘Plugins’ menu in WordPress.
  4. Go to License Keys Apps and create your first app.
  5. Add license codes, then edit each sellable product and choose its app.

FAQ

Does this plugin require WooCommerce?

Yes. It hooks into WooCommerce orders, products and emails, so WooCommerce must be installed and active.

Where do customers see their license key?

On the order-received page, in the order details under My Account, in the default WooCommerce order emails, and on the downloads screen.

How does activation and machine binding work?

Send a POST request to /wp-json/lkm/v1/validate with the key, app slug and MAC address. The first activation binds the key to that machine; later validations from another machine are rejected until the key is deactivated (send delete: true in the request, or use “Deactivate All” in the admin).

Can I sell the same software to many customers?

Yes — import or generate a pool of codes per app; each order consumes one unused code.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“ATV License Manager For WooCommerce” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.5.3

  • Updated the plugin and author links to https://www.atvsoftwarelabs.com/.

1.5.2

  • Improved: all functions, classes, actions and admin pages now use a unique atv-license-manager prefix to prevent conflicts with other plugins.
  • Removed unused custom email code.
  • REST API also available under /wp-json/atv-license-manager/v1/validate (the previous /wp-json/lkm/v1/validate URL keeps working).

1.5.1

  • Fixed: the license key field in WooCommerce order emails now uses the correct label/value format, preventing errors when order emails are sent or resent.
  • Improved: admin JavaScript is now enqueued properly and only loads on the plugin’s own admin screens.
  • Improved: all functions, classes, actions and admin pages now use a unique atv-license-manager prefix to prevent conflicts with other plugins.

1.5.0

  • Initial release on WordPress.org.
  • Automatic license key delivery with WooCommerce orders.
  • Multiple apps with per-product app selection.
  • Bulk code import and AJAX code generator.
  • REST API for activation with machine (MAC) binding and deactivation.
  • License keys shown on the thank-you page, My Account, order admin and WooCommerce emails.