Install WooCommerce Plugin
To start with, please download the keyzywc.zip file first.
Install the WooCommerce plugin
The installation process is the same as any other Wordpress plugin.
Login to your WooCommerce store as admin
Go to the "Admin Dashboard"
Click "Add New menu item" under the "Plugins Menu"
Click "Upload Plugin"
Click "Choose File" and select the "keyzywc.zip" file
After the installation finishes, activate the plugin
Settings
Add the "AppId" and the "ApiKey" to the plugin settings
Go to Keyzy's dashboard
Click the "App Keys" menu item
If you do not have a "Write App Key" pair with "Write Permissions", you can create one with the following steps:
Click "Add New App Key"
Change permissions to "Write"
Click "Add"
Copy the "AppId" and "ApiKey" information
Go to the WooCommerce Store "Admin Panel"
Click Settings / Keyzy Settings
Paste the "AppId" and "ApiKey" in their respective boxes
Click "Save Changes"
Other Plugin Settings
Show Download Link: Enable this option to allow users to download their license files from the [keyzy-downloads] page.
Show HostID Input Field: Enable this option if you use a fully offline activation schema. Users will need to copy and paste their HostID into this field.
Show Manageable Activations to Users: Enable this option to allow users to delete their activations from the KEYZY system for Online and Semi-Online activation schemas. For Offline activation schemas, users can still delete activations, but the deletion is not reflected on the client side. Similarly, if there is no internet connection, deletions for Semi-Online activations will not be reflected on the client side.
Disable Register Product Notification: Enable this option to prevent WooCommerce from sending order emails when users register a product purchased from a dealer using the Register Product function.
Add The Shortcode to A Page
After the installation of KeyzyWc, you may add "keyzy download" shortcode to any page of your WooCommerce site. Open a page and add [keyzy-downloads] shortcode.
Important Notes
The Product's SKU on WooCommerce should be the same as the SKU Number in KEYZY SKU Page.
You should also apply the following options on WooCommerce:
Uncheck: "Allow customers to place orders without an account", under WooCommerce Settings → Accounts & Privacy
Check: "Allow customers to create an account during checkout", under WooCommerce Settings → Accounts & Privacy
How to Debug
KEYZYWc uses the standard WordPress error log file for logging. To enable logging in WordPress, add the following settings to your wp-config.php
file:
ini_set( 'log_errors', 1 );
ini_set( 'error_log', '/path/to/debug.log' );