This guide explains how to set up your software, compiled with the KEYZY C++ Static Library, for offline licensing using WooCommerce.
Offline licensing allows users to run your software on a device without an internet connection. Follow the steps below to complete this process.
Step 1: Obtaining the Host ID
The KEYZY C++ Static Library provides the user with a Host ID, a unique identifier for their device, retrieved by calling the library’s relevant function in your software.
The user copies this Host ID.
Step 2: Visiting Your Web Store
The user navigates to your web store with the copied Host ID.
Step 3: Entering the Host ID on the Downloads Page
The user pastes the copied Host ID into the Host ID input field on your web store’s downloads page.
Step 4: Generating the License File
A license file is generated using the provided Host ID. The user downloads this file.
Step 5: Providing the License File to the Software
The user uploads the downloaded license file to your software, compiled with the KEYZY C++ Static Library.
Your software verifies the license file, enabling offline use.
Configuring Settings
To ensure users can see the download link and Host ID input field, follow these steps:
Go to the KeyzyWc settings page.
Enable the "Show Download Link" and "Show HostID Input Field" options.
For details on the C++ Static Library’s Host ID function and other technical information, refer to our developer documentation: WooCommerce Plugin Installation.
Additional Tips
Ensure users copy the Host ID correctly, as an incorrect Host ID will prevent the license file from working.
For more information about the C++ Static Library, contact your developer or visit developer.keyzy.io.
If you encounter issues, check our Frequently Asked Questions FAQ page.