|Table of Contents|
This License Module is a companion to the License Plugin, which is a paid plugin for license management and serves as the license server. This module will not work on its own.
Certain versions of Blesta and the license module are not compatible with each other. Refer to the table below to make sure your version are compatible
|Module Version||Compatible Blesta Version|
|>= 1.7.0||>= 4.6|
Installing the License Module
- Visit [Settings] > [Company] > [Modules] > Available.
- Click the "Install" button within the License Module module listing.
When the module is installed, it should automatically load the "Manage" screen for the module. You can get back here any time by visiting [Settings] > [Company] > [Modules] > Installed and by clicking the "Manage" button for the module.
License Module Overview
The "Manage" screen displays an overview of all your licensed products.
Adding a Licensed Product
I need to send some custom data to my software from the license server that I can evaluate within my software. How do I accomplish this?
Sending custom data can be accomplished by making a modification to the license module. Open ~/components/modules/license_module/license_module.php and look for the following code snippet:
$custom = array( 'license_type' => (isset($service->package_pricing->period) ? $service->package_pricing->period : ""), 'cancellation_date' => $service->date_canceled );
Add additional data by appending it to this array.