
The Complete Guide to the WooCommerce Plugin Product Licenser
What is the WooCommerce Plugin Product Licenser?
The WooCommerce Plugin Product Licenser is a powerful, self-hosted solution that transforms your WooCommerce store into a professional licensing server and automatic update hub for your premium WordPress plugins.
With this plugin, you can:
-
Automatically generate unique license keys upon purchase
-
Deliver plugin updates directly to customers’ WordPress dashboards
-
Manage licenses and monitor activations from your admin panel
This guide walks you through the entire process—from setting up your server to integrating the licensing system into the plugins you sell.
🔧 Part 1: One-Time Server Setup
Before selling licensed plugins, you’ll need to configure your WooCommerce site to act as the licensing server.
Step 1: Configure Licensing Settings
Go to Plugin Licenser → Settings and fill in the key settings:
-
Target Product ID(s): Enter the WooCommerce Product ID(s) for your plugin(s). License keys will be generated automatically upon purchase.
-
License Duration: Set how long each license remains valid (e.g.,
365
for one year,0
for lifetime). -
Activations Allowed: Define how many websites can activate a single license (e.g.,
1
,3
, orunlimited
). -
Update Server (Optional but Recommended): Use the integrated Plugin Update Profiles to manage updates efficiently.
Step 2: Create Your WooCommerce Product
-
Go to Products → Add New.
-
Select Simple product, then check Virtual and Downloadable.
-
Set your price and upload your plugin’s
.zip
file. -
Publish it.
✅ Now your store is ready to sell and license your plugin!
🔌 Part 2: Plugin Integration (No Coding Required)
Your plugin needs a bit of code to talk to the licensing server. Luckily, our built-in Client Code Generator handles it all for you.
Step 1: Generate the Code
Go to Plugin Licenser → Client Generator and fill in:
-
Plugin Name
-
Folder Slug
-
Unique Prefix
-
Support URL
For easiest integration, paste the full contents of your main plugin file into the generator and click Generate & Attempt Integration.
Step 2: Apply the Code
The generator provides:
-
A modified main plugin file with the licensing code already inserted.
-
Three essential helper files:
-
api-calls.php
– license communication -
admin-license-page.php
– license input form in WP admin -
update-checker.php
– checks for updates
-
Create a folder named /licensing/
inside your plugin and place these files there.
Your plugin folder should now look like this:
/your-pro-plugin/
|-- your-pro-plugin.php
|-- /licensing/
| |-- api-calls.php
| |-- admin-license-page.php
| |-- update-checker.php
|-- other plugin files...
Step 3: Run AI Code Check
Use the built-in AI Code Analysis tool to catch placeholder URLs, syntax issues, or integration problems—before you ship!
✅ You’re now ready to release your plugin with built-in licensing and update support!
🔄 Part 3: Managing Updates & Licenses
Releasing an Update
-
Create a
.zip
file of your updated plugin. -
Upload it to your WordPress Media Library.
-
Go to Plugin Licenser → Plugin Updates, select your plugin, and:
-
Update the version number
-
Paste the new download URL
-
Write a changelog
-
🎉 Customers with valid licenses will see the update in their dashboards immediately!
Monitoring Licenses
Head to Plugin Licenser → Manage Licenses to:
-
View all license keys
-
Check activation limits
-
See expiration dates and connected domains
It’s a complete overview of your entire plugin customer base.
🧪 Bonus: Manually Test Updates via cURL
For advanced users or debugging, you can simulate update checks with a simple cURL
command.
Example:
curl -X POST \
-d "license_key=MYPLUGIN-ABC-123" \
-d "plugin_slug=my-awesome-plugin" \
-d "current_version=1.0.0" \
-d "domain=testing.com" \
https://example.com/wp-json/myplugin/v1/update_check
If an update is available, the response will return the latest version and download link. Otherwise, you’ll receive false
.
🧩 In Summary
The WooCommerce Plugin Product Licenser gives you:
✅ Automatic license key generation
✅ Seamless plugin updates
✅ Developer-friendly integration (zero manual coding)
✅ Full control and insight over license usage
It’s everything you need to sell and support premium plugins—under your own brand, on your own terms.