Elite Licenser is a great way to manage licenses for products sold through WooCommerce, and it is easy to set up and use. Elite Licenser makes it easy to generate and manage license keys, and also provides a convenient way to track customer information.
Step 1: Install and Activate Elite Licenser
Step 2: Install Elite Licenser WooCommerce Addon
Download Elite Licenser WooCommerce Addon from https://wordpress.org/plugins/woo-elite-licenser-addon/
After installing this plugin, you will find a menu “Elite Licenser Setting” under WooCommerce
Step 3: Set the license to generate Event On Order Processing
If you want to keep your license server on another WordPress, for example, if you're selling on your main domain mywebsite.com but wish to handle licenses from license.mywebsite.com, then the Elite licenser must be installed on license.mywebsite.com. However, the WooCommerce Elite Addon should be installed on mywebsite.com (where you have installed the WooCommerce plugin) since it handles the actual sale and transaction of the licenses.
Step 4: Get the Endpoint and API key from the Elite Licenser setting and add the value in these fields.
Step 5: Set the Event when you want to cancel the license and press save.