Skip to content

An example plugin for validating license keys via the WHMCS Licensing Addon

Notifications You must be signed in to change notification settings

dmhendricks/wordpress-whmcs-licensing-example-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Author Donate WP Engine GitHub License Twitter

WHMCS Licensing Example WordPress Plugin

Description

This is a very simple example of how to do license key checks against the Software Licensing addon for WHMCS.

The author of this plugin has no affiliation with and this plugin is neither endorsed nor supported by WHMCS Limited.

Requirements

Installation

WordPress

Download the installable ZIP file and upload it to your plugins directory via WP Admin > Plugins > Add New.

Composer

  1. Clone the repository to your WordPress plugins directory.
  2. Run composer install in the directory from the command prompt.

Configuration

Before you can test the plugin, you need to modify the plugin.json file in the root of the plugin folder.

  • url - The URL to your WHMCS installation.
  • product_key - The "Secret Key" as configured in your licensed product in WHMCS.
  • local_key_expire_days - The number of days between license checks.
  • allow_check_fail_days - The number of days to allow failed validations (in the event that your WHMCS installation is inaccessible).

Screenshot

Settings Page

About

An example plugin for validating license keys via the WHMCS Licensing Addon

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages