KeyPilot – WordPress License Manager & Software Update System

KeyPilot – Licensing Platform for WordPress

WooCommerce & Easy Digital Downloads | License Key Generation, Activation Tracking, Software Updates & Envato Integration

Overview

KeyPilot is a next-generation licensing platform for WordPress-based digital product stores. It lets you generate secure license keys automatically on every purchase, track activations per domain, deliver software updates to your customers, and verify Envato purchase codes — all from your own WordPress site.

Whether you sell plugins, themes, or any digital software through WooCommerce or Easy Digital Downloads (EDD), KeyPilot gives you full control over your licensing infrastructure without relying on any third-party SaaS service.

Key Features

License Key Generation

  • Automatically generates one unique license key per quantity on every completed order
  • Works with both WooCommerce and Easy Digital Downloads
  • Enable licensing per product or globally for all products at once
  • Set per-product activation device limits (e.g. 1, 3, or unlimited)
  • Keys are stored securely in a dedicated database table

Activation Tracking

  • Track which domains and devices have activated each license
  • Enforce activation limits — block activations beyond the allowed count
  • View all active, expired, and revoked licenses from the admin dashboard
  • Manually edit activation limits or revoke any license at any time
  • Deactivation endpoint frees up a slot so the customer can reuse their key on another site

Software Auto-Updates

  • Built-in software update server for plugins and themes
  • Set current version number, update package ZIP URL, and changelog per product
  • Customers see update notifications directly inside WordPress admin
  • Update check endpoint returns version, download link, and HTML changelog
  • Supports manual and automatic update flows in your plugin or theme

REST API

  • Full public REST API at /wp-json/keypilot/v1/
  • POST /activate — Activate a license key for a domain
  • POST /check — Validate an existing activation
  • POST /deactivate — Remove an activation and free the slot
  • GET /update — Check for available software updates
  • All endpoints return JSON; errors return HTTP 4xx with descriptive messages
  • Authentication via license_key parameter (no separate API token needed for customers)

License Certificates

  • Each license key comes with a branded certificate page
  • Certificate link is included in order receipts and customer emails
  • Certificate URL format: ?keypilot_cert=1&key=LICENSE_KEY
  • Customize certificate logo and text from KeyPilot → Settings

Customer-Facing Delivery

  • WooCommerce: Keys shown on Thank You page, My Account → View Order, and order confirmation emails (HTML + plain text)
  • EDD: Keys shown on Purchase Receipt and payment confirmation
  • Each key includes a View Certificate link
  • Customize welcome email subject and body from KeyPilot → Emails

Envato / CodeCanyon Integration

  • Accept Envato purchase codes (UUID format) as valid license keys
  • KeyPilot verifies purchase codes with the Envato API on first activation
  • Creates a managed license from the Envato sale — activation limits and updates work identically
  • Set Envato Item ID on your WooCommerce/EDD product to link the sale to the correct product settings
  • Customers who bought on Envato and customers who bought on your store both use the same /activate and /check endpoints — no separate flow needed
  • Supports CodeCanyon, ThemeForest, and other Envato marketplaces

Smart Revocation

  • Licenses are automatically revoked when a WooCommerce order is set to Refunded or Cancelled
  • EDD licenses are revoked when payment status changes to refunded, revoked, or failed
  • Revocation is handled by the license keys stored in order/payment meta — no order_id dependency
  • Manually revoke any license from KeyPilot → Licenses at any time

Webhooks

  • Configure a webhook URL in KeyPilot → Settings
  • Receive real-time POST notifications for events such as license.created
  • Useful for syncing with external CRMs, Slack alerts, or custom workflows

Admin Dashboard

  • Dashboard — Overview totals: licenses issued, active activations, API request count
  • Licenses — Full list with search, filter by status, edit limits, revoke
  • Activations — See which domains are activated per license key
  • Settings — Certificate branding, Envato token, webhook URL, global auto-enable toggle
  • Emails — Edit welcome email, piracy alert, and expiration reminder templates

Integrations

<thead>

</thead>
<tbody>

</tbody>

Plugin What KeyPilot does
WooCommerce Product meta setup, order completion hook, keys in receipt & email, refund/cancel revocation
Easy Digital Downloads (EDD) Download meta setup, payment completion hook, purchase receipt, EDD Recurring support, refund revocation
EDD Front-End Submissions (FES) Vendor product form field for KeyPilot licensing settings
Dokan Marketplace vendor products via WooCommerce integration
Envato / CodeCanyon Purchase code verification via Envato API, auto license creation, activation limit sync

How to Add Licensing to Your Plugin or Theme

  1. Enable KeyPilot on the product (store side)
    In WooCommerce: Products → Edit Product → Product Data → Advanced tab → KeyPilot Licensing API → Enable License Generation.
    In EDD: Downloads → Edit Download → KeyPilot Licensing API meta box → Enable licensing.
    Set Activation Device Limit (e.g. 1, 3, or 0 for unlimited). Save the product.
  2. Customer receives their key
    After checkout, the license key is shown on the Thank You page, in My Account, and in the order/receipt email. Each key includes a certificate link.
  3. Connect your plugin/theme to the API
    Add a license settings screen to your product. On activation, send POST /wp-json/keypilot/v1/activate with license_key and url. Periodically call /check to validate. On uninstall, call /deactivate.
  4. Add update checking (optional)
    Call GET /wp-json/keypilot/v1/update?license_key=...&url=...&slug=... to retrieve version, download_link, and changelog. Implement your update prompt or auto-update flow.
  5. Enable Envato support (optional)
    Add your Envato personal token in KeyPilot → Settings. Set the Envato Item ID on the product. Customers can now enter their Envato purchase code as the license key.

REST API Reference

Base URL: https://your-store.com/wp-json/keypilot/v1/

<thead>

</thead>
<tbody>

</tbody>

Action Endpoint Method Parameters
Activate license /activate POST license_key, url, hardware_id (optional)
Check license status /check POST license_key, url, hardware_id (optional)
Deactivate license /deactivate POST license_key, url, hardware_id (optional)
Check for update /update GET license_key, url, slug

Example: Activate a License

Request:

POST /wp-json/keypilot/v1/activate
Content-Type: application/json

{
  "license_key": "KPLT-A8F2-39XB-7CQ1",
  "url": "https://client-site.com" 
}

Success Response:

{
  "success": true,
  "message": "License activated successfully.",
  "status": "valid" 
}

Error Response (limit reached):

HTTP 403
{
  "success": false,
  "message": "Activation limit reached." 
}

Requirements

  • WordPress 6.0 or higher
  • PHP 7.4 or higher
  • WooCommerce (optional) — for WooCommerce integration
  • Easy Digital Downloads (optional) — for EDD integration
  • At least one of WooCommerce or EDD must be active

Installation

  1. Purchase and download KeyPilot from CodeCanyon
  2. Upload the keypilot plugin folder to /wp-content/plugins/ or install via WordPress Admin → Plugins → Add New → Upload Plugin
  3. Activate the plugin from the Plugins screen
  4. Go to KeyPilot in the WordPress admin menu
  5. On first activation, KeyPilot automatically creates all required database tables and registers the REST API routes

Frequently Asked Questions

<dl>
<dt>Does KeyPilot work with both WooCommerce and EDD at the same time?</dt>
<dd>Yes. KeyPilot loads each integration independently depending on which plugins are active. You can run both simultaneously on the same site if needed.</dd>
</dl>

<dt>Do I need to modify my existing products?</dt>
<dd>Only to enable licensing on them. Edit the product/download, turn on Enable License Generation in the KeyPilot section, set an activation limit, and save. From the next completed purchase onward, keys will be generated automatically.</dd>
<dt>Can I use this without WooCommerce or EDD?</dt>
<dd>No. KeyPilot requires at least one of WooCommerce or EDD to handle the store side (products, purchases, and receipts). The REST API and licensing engine run on top of these platforms.</dd>
<dt>Can customers who bought on Envato use their purchase code?</dt>
<dd>Yes. Add your Envato personal token in KeyPilot → Settings and set the Envato Item ID on the product. Customers enter their Envato purchase code where your plugin asks for a license key — KeyPilot verifies it with Envato on first use and manages it like any other license from that point on.</dd>
<dt>What happens when a customer requests a refund?</dt>
<dd>When a WooCommerce order is set to Refunded or Cancelled, all licenses generated for that order are automatically set to Revoked. The same applies in EDD when payment status changes to refunded or failed.</dd>
<dt>Does KeyPilot include a license screen for my plugin or theme?</dt>
<dd>No. KeyPilot provides the API and the store-side key generation. You implement the license input field and Activate/Deactivate buttons inside your own plugin or theme, then wire them to KeyPilot's REST API endpoints. This keeps your product independent and fully branded.</dd>
<dt>Is the REST API public or does it require authentication?</dt>
<dd>The REST API endpoints are public-facing (no WordPress login required). Authentication is done via the license_key parameter itself. This allows your plugin/theme running on a customer's site to call the API without needing WordPress credentials.</dd>
<dt>Can I limit activations to a specific number of sites?</dt>
<dd>Yes. Set the Activation Device Limit on each product. Use 0 for unlimited activations. When a customer exceeds the limit, the /activate endpoint returns an error. They must deactivate on another site first or contact you to increase the limit.</dd>
<dt>How do software updates work?</dt>
<dd>In the product settings, enter the current version number, the direct URL to your update ZIP file, and an HTML changelog. Your plugin/theme calls the /update endpoint to check for newer versions. If a newer version exists, the endpoint returns the version number, download URL, and changelog, which you use to trigger an update prompt or auto-update in WordPress.</dd>
<dt>Can I customize the license emails sent to customers?</dt>
<dd>Yes. Go to KeyPilot → Emails to edit the welcome email subject and body, the piracy alert email, and the expiration reminder template.</dd>

Changelog

Version 1.0.0 — Initial Release

  • WooCommerce integration: product meta, order completion, receipt/email delivery, refund revocation
  • Easy Digital Downloads integration: download meta, payment completion, receipt, EDD Recurring support, refund revocation
  • REST API: activate, check, deactivate, update endpoints
  • Software Updater: version management, ZIP delivery, changelog display
  • Envato / CodeCanyon purchase code verification and license creation
  • License certificates with customizable branding
  • Admin dashboard: licenses, activations, settings, email templates
  • Webhook support for license.created events
  • Dokan and EDD Front-End Submissions support

Support

For bug reports and feature requests, please use the Comments tab on the CodeCanyon item page.
For direct support, use the Support tab to submit a ticket.
Documentation is included in the download package as well as available online.

Support covers: installation help, configuration questions, and bugs reproducible in an unmodified environment. Customization and integration work beyond what the plugin provides out of the box is not included in standard support.