Skip to content

The Web Solver License Manager Client extends the functionality of License Manager for WooCommerce. This plugin/framework is to be included inside the selling plugin for license activation/deactivation.

License

Notifications You must be signed in to change notification settings

TheWebSolver/tws-license-manager-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GPL License LinkedIn

Logo

TWS License Manager Client

HANDLE PREMIUM PLUGIN LICENSES WITH YOUR OWN LICENSING SERVER BUILT ON WORDPRESS & WOOCOMMERCE

This plugin is to be included in the plugin being sold (client plugin) so user who purchase the plugin can easily activate/deactivate their license.

Installation (via Composer):

Inside client plugin

To install this plugin, edit your composer.json file:

"require": {
	"thewebsolver/tws-license-manager-client": "dev-master"
}

Then from terminal, run:

$ composer install

On Server

License Manager for WooCommerce must be installed and activated on server WordPress installation for this client to interact, validate, activate/deactivate license.

Also, Server Manager must be used to activate/deactivate/validate/renew licenses.

License Form Screenshots:

License form was added as submenu of Settings menu.

License Not Activated Status

not active

License Active Status

active

License Deactive Status

inactive

License Expired Status

expired

Example Codes:

  • Server docs on License Manager and Server Manager.
  • CLIENT.md contains all the codes that will intialize license manager client, add submenu page to display activation/deactivation form and get response back from license manager server when valid data are submitted.

In brief, you must make changes to codes shown in CLIENT.md file:

  • Set server URL Client_Plugin::SERVER_URL where your license manager server is (License Manager for WooCommerce plugin is installed, and activated) and installed Server Manager as a plugin (composer method recommended),
  • Set parent menu slug Client_Plugin::PARENT_SLUG (or create your own menu/submenu page, which is the recommended way),
  • Set cunsumer key, consumer secret, validation fields and their error message inside method Client_Pligin::start() Generate them on server.

To test license key, there must be a valid license key generated on server with proper WooCommerce Checkout checkout and order status changed to completed.

Contact

----------------------------------
DEVELOPED-MAINTAINED-SUPPPORTED BY
----------------------------------
███║     ███╗   ████████████████
███║     ███║   ═════════██████╗
███║     ███║        ╔══█████═╝
 ████████████║      ╚═█████
███║═════███║      █████╗
███║     ███║    █████═╝
███║     ███║   ████████████████╗
╚═╝      ╚═╝    ═══════════════╝

Shesh Ghimire - @hsehszroc

About

The Web Solver License Manager Client extends the functionality of License Manager for WooCommerce. This plugin/framework is to be included inside the selling plugin for license activation/deactivation.

Topics

Resources

License

Stars

Watchers

Forks