WooCommerce License Keys


WooCommerce License Keys is a simple and powerfull license keys manager, that adds a new product type to your WordPress and WooCommerce setup, and lets you create and handle license keys that can be used to validate your licensed products.

This plugin will enable your WordPress setup to act as a validator API (service) with endpoints that will let you activate, validate and deactivate license keys via HTTP requests; we provide various solutions (as PHP libraries, packages and documentation) to integrate the API with your products.


  • Built-in validator API (with activation, validation and deactivation endpoints).
  • Custom WooCommerce product type.
  • WooCommerce template system.
  • Handles license key activations.
  • Expire options.
  • Attach downloadables.
  • Allows shipping for physical products.
  • Customers can manage their purchased licenses from WooCommerce’s My Account page.
  • License Keys can be viewed by admins.
  • License Keys are added to WooCommerce’s order completed email.
  • SDK and libraries to implement easily the validations on your products.
  • Customization hooks.

The plugin comes with hooks to customize it to your needs, although we offer the option to add an extension that will expand its capabilities with the following features:

  • Limit your license keys per activations.
  • Limit your license keys per domain.
  • Allow your license keys to be installed on development environments without increasing your clients limits.
  • Allow your “License Keys API” to include the downloadble file information, as part of the license key data when the activate and validate endpoints are called. The downloadable information can be used later to perform update checks.
  • Allow your license keys to stay valid on offline environments and control the allowed offline time.
  • Customer license keys can be managed and edited by admins in WordPress dashboard.
  • License keys activations can be deactivated by admins in WordPress dashboard.
  • Manually extend expiration dates in WordPress dashboard.
  • Semi-automatic subscriptions system.
  • Allow your customers to extend their license keys that are about to expire by re-purchasing the product.
  • Allow your customers to renew expired license keys by re-purchasing the product.
  • Automatically send expiration warning notifications (needs wordpress cron to be setup on your site).
  • Analytics module.
  • Product variable and price variations support.
  • Compatibility with “WooCommerce Subscriptions” and “Subscriptio” plugins for automatic subscriptions.

You can opt to obtain these features here.

Who do I thank for all of this?


  • License Key tab and options when adding or editing a product. Note: Some features displayed are from the extension we offer.
  • Customer's "License Keys" option at "My Account" page. Note: "Renew" and "Extend" buttons are only available with our extended features.
  • Customer's "License Key" page view at "My Account" page, with no activations.
  • Customer's "License Key" page view at "My Account" page, with activations.
  • License key list per order's item at WordPress dashboard.
  • License key product, with expiry, added in shopping cart.


  1. Head to your WordPress Admin Dashboard and click at the options Plugins then Add new.
  2. Search for this plugin usign the search input or if have downloaded the zip file, upload it manually.
  3. Activate the plugin through the ‘Plugins’ screen in WordPress.
  4. Integrate the validator API at “WooCommerce->Settings->API->License Keys API”.



Install and activate the plugin. Follow the settings documentation to integrate the API with your products, these are located at “WooCommerce->Settings->API->License Keys API”.

How to validate my license keys

The plugin comes with a built-in validator API that does this job for you. Follow the settings documentation to integrate the API with your products, these are located at “WooCommerce->Settings->Advanced->License Keys API”.


For full documentation click here.

Or follow the quick documentation in the plugin, located at “WooCommerce->Settings->Advanced->License Keys API”.

My Account > License Keys option not displaying?

Refresh and flush permalinks. To do this, go to “Settings->Permalinks” at your WordPress setup and click the “Save Settings” button.

How to modify a template?

Customizable templates are located at folder /templates inside the plugin. Follow WooCommerce guidelines to modify them. Aside from the templates provided by this plugin, use WooCommerce template single-product/add-to-cart/simple.php to customize the “Add to cart” button.

Enable extended features

Enable extended features here.

Which WordPress versions are supported?

At the time this document was created, we only tested on WordPress 4.9.4, we believe, based on the software requirements, that any WordPress version above 3.2 will work.

Which WooCommerce versions are supported?

At the time this document was created, we only tested on WooCommerce 3.3.3, any version above 3.3.3 will work.

Which PHP versions are supported?

Any greater or equal to 5.4 is supported.


Incredible plugin!

I wasn't sure I would be able to find anything like this. The plugin works like a charm and the developer is implementing cool new features!

it works perfectly.

Great! I use it to manage license key desktop app. I have installed it, then I have set up the license key product type in my woocommerce product. I did a test purchase. It automatically generated a license key. I coded my node Javascript API to activate the license and successfully activated it through the API. perfect So, I decided to buy the premium version because there is an extension to limit the number of activations.

Simple key validating

Hello. Would it be possible to add a simple Key validating example? Just so i could copy/phaste and edit a few valuables if needed. I am not a big coder, but thats the only thing i would need to buy the plugin! I'm crossing my fingers! - David

Works like a charm!

Have installed this plugin on our studio's website and it works like a charm. Both versions, the extension and the free work beautifully. The implementation took minutes using the developer's SDK addon. Our product was fully licensed in minutes.
Read all 4 reviews

Contributors & Developers

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


“WooCommerce License Keys” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “WooCommerce License Keys” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



Release Date – 21 May 2019

  • Added hooks to support additional customizations and variable products.
  • Bug fixes.
  • Framework update.


Release Date – 30 April 2019

  • Fixes bug.
  • Adds global wc_get_license_key function.


Release Date – 30 April 2019

  • Added extra hooks to extend customization.
  • Patched so products without get_type method will not breack admin page.
  • Other small fixes with show_if woo admin js behavior.
  • Tested with latest WooCommerce.


Release Date – 16 March 2019

  • Framework upgrade.


Release Date – 4 March 2019

  • Framework upgrade.
  • Added option to allow license key to be sold individually.


Release Date – 17 February 2019

  • Additional hooks added.
  • Fixes bug on spanish translations.


Release Date – 13 February 2019

  • Fixes singular/plural expiration message on cart and checkout pages.
  • Updates desktop software related strings and translations.


Release Date – 11 February 2019

  • Enqueues dashicons on my account page.
  • Updates localization strings.
  • Updates spanish translations.


Release Date – 16 January 2019

  • Small Bug fixes.


Release Date – 6 December 2018

  • Added errors output format options for API responses.
  • Added API error codes.
  • Fixes copy to clipboard on Firefox and other specific browsers.
  • Screenshots and readme updated.
  • Bug fixes.


Release Date – 29 Nov 2018

  • Added CORS control options in WooCommerce settings tab.
  • “Copy” to clipboard option added for customers to copy license key displayed on “My Account” page.


Release Date – 28 Nov 2018

  • WPMVC log/cache path changes.
  • Tutorial link added to documentation.


Release Date – 1 Nov 2018

  • Fixes license key url with different permalink settings.
  • WPMVC changes: Cache folder and disabled unused auto-enqueue setting.
  • Code comments refactoring.


Release Date – 28 Oct 2018

  • Ability to search for customer license keys in orders using the “search” tool found in WooCommerce orders admin dashboard.


Release Date – 28 Oct 2018

  • Fixes WooCommerce hook change related to order bulk actions.
  • More customization hooks on API endpoints.
  • Code refactoring.


Release Date – 5 Sep 2018

  • Adds better support for desktop products.
  • Fixes WooCommerce “Not doing it right” notices.


Release Date – 3 Sep 2018

  • Fixes reported WooCommerce “Not doing it right” notices.


Release Date – 3 Sep 2018

  • Adds icon to identify license key products on admin’s listing. (Effective on new or updated products only)
  • Automatically expires generated license keys on orders updated to status cancelled, refunded or failed.
  • Fixed bug that was re-generating license keys when an order was set as completed multiple times.
  • Fixes bug that was trying to display un-existent license keys on admin order page, when order was not completed.
  • Added extra hooks and rules for further customization.
  • Displays license key expiry information in cart and checkout pages.


Release Date – 11 jun 2018

  • Fixes bugs.
  • Framework updated.


Release Date – 27 May 2018

  • Fixes compatibility issue (API settings link) with WooCommerce 3.4.0.


Release Date – 22 May 2018

  • Fixes fatal error generated when WooCommerce is not activated.
  • Added localization configuration.


Release Date – 9 May 2018

  • Fixes order licenses bug realted to order status.


Release Date – 31 March 2018

  • Framework update.


Release Date – 19 March 2018

  • Framework update.


Release Date – 2 March 2018

  • Readme (extended capabilities) updated.
  • Framework update.


Release Date – 28 Feb 2018

  • Additional customization hooks.


Release Date – 28 Feb 2018

  • Fixes License keys on order received page.


Release Date – 28 Feb 2018

  • License keys added to order received.
  • License keys missing title added to order completed email.
  • Warnings and bugs fixed.
  • Added extra error logging.


Release Date – 28 Feb 2018

  • Base name updated based on given wordpress.org name.