WooCommerce License Keys

Description

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.

Features:

  • 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.
  • 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).

You can opt to obtain these features here.

Who do I thank for all of this?

Screenshots

  • 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.

Installation

  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”.

FAQ

Setup?

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”.

Documentation?

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.

Reviews

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 3 reviews

Contributors & Developers

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

Contributors

Changelog

1.2.1

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.

1.2.0

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.

1.1.6

Release Date – 28 Nov 2018

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

1.1.5

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.

1.1.4

Release Date – 28 Oct 2018

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

1.1.3

Release Date – 28 Oct 2018

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

1.1.2

Release Date – 5 Sep 2018

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

1.1.1

Release Date – 3 Sep 2018

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

1.1.0

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.

1.0.11

Release Date – 11 jun 2018

  • Fixes bugs.
  • Framework updated.

1.0.10

Release Date – 27 May 2018

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

1.0.9

Release Date – 22 May 2018

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

1.0.8

Release Date – 9 May 2018

  • Fixes order licenses bug realted to order status.

1.0.7

Release Date – 31 March 2018

  • Framework update.

1.0.6

Release Date – 19 March 2018

  • Framework update.

1.0.5

Release Date – 2 March 2018

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

1.0.4

Release Date – 28 Feb 2018

  • Additional customization hooks.

1.0.3

Release Date – 28 Feb 2018

  • Fixes License keys on order received page.

1.0.2

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.

1.0.1

Release Date – 28 Feb 2018

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