19.04.2020

Whmcs 5.1 License Key Generator

  • 1Release Information
  • 5Template Changes
    • 5.1Client Area Templates
    • 5.2Order Forms
    • 5.3Admin Area Templates
  • 6Changelog
    • 6.76.1.0 GA
    • 6.86.1.0 RC 1
  1. Whmcs Starter License
  2. License Key
  3. Whmcs 5.1 License Key Generator Free
  4. Whmcs License Key
  5. License Key Generator Online
  6. License Key Generator Free

Jul 25, 2017  Get YouTube without the ads. How To Get Your Free WHMCS Plus License (Limited Time) NameHero.com. Unsubscribe from NameHero.com? Cancel Unsubscribe. QuickBooks Online For WHMCS is a module created to integrate financial data collected in your WHMCS into a world-famous accounting software platform - QuickBooks Online. By virtue of it, you will be able to export your vital information including client details, invoices, transactions and refunds to QuickBooks Online data repository in order to.

Release Information

Version 6.1.0 RC 1

  • Release Type: Release Candidate (For Testing)
  • Release Date: 10th September 2015

Version 6.1.0 GA

  • Release Type: General Availability
  • Release Date: 22nd September 2015

Version 6.1.1

  • Release Type: Maintenance
  • Release Date: 7th October 2015

Version 6.1.2

  • Release Type: Security
  • Release Date: 26th January 2016

Release Information
Version: 6.1.0
Release Type: General Availability (Recommended for New Installs & Upgrades)
Release Date: 22nd September 2015
Distribution Types: Full Version Only

To download the latest version of WHMCS, simply visit http://download.whmcs.com/

Please be aware you will need to hold a direct license with us to be able to download the WHMCS software from our website. If you obtain your license through a reseller partner, you will need to obtain the download via them.

As this is a minor version update, only a full version is being made available. There is no incremental upgrade for users of the latest 6.0 release.

This update requires no additional steps.

  • New Order Form Templates - Version 6.1 introduces 4 new order form templates: Standard Cart, Premium Comparison, Pure Comparison and Cloud Slider. All of these carts are responsive, desktop and mobile friendly, and support a number of new features and options not present in earlier order form templates. For further details, please refer to the Feature Spotlight available here: http://blog.whmcs.com/?t=106071
    • Standard Cart is the new default order form for all new installations. When upgrading, your default order form settings will not be altered. To take advantage of the new fully responsive mobile friendly order form however, we recommend changing your Default System Order Form setting in Setup > General Settings > Ordering.
    • To utilise the new Premium Comparison, Pure Comparison or Cloud Slider order form templates, we recommend configuring these at the Product Group level in Setup > Products/Services, where you can choose a different order form template on a per product group basis.
    • When utilising one of the new order form product selection pages, we always recommend using the Standard Cart as the system default order form template.
    • For more information on the Order Form templates and what features and functionality each supports, please refer to our Standard Order Form Templates documentation.
    • New documentation has also been made available for working with Order Form Templates which includes details on how to take advantage of the new parent relationship functionality for template inheritance.
    • All existing order form templates will continue to work without requiring any changes.
  • Expanded Product Group Functionality - The new order forms also include a range of new functionality. This includes product group headlines, taglines, featured products and product group features. For more information on this and other changes relating to product groups, please visit Product Groups documentation.
  • Health & Updates Page - The new Health & Updates page is designed to provide an overview of a WHMCS installation and system environment status. Accessable via the Help menu, it will highlight any potential configuration or security related issues that may need your attention. This feature replaces the Check for Updates page that existed previously. For further information, please refer to the Feature Spotlight available here: http://blog.whmcs.com/?t=106158
    • Full documentation can be found at Health & Updates
  • MaxMind Address Verification Warnings - We've added a new setting to Maxmind named 'Do Not Validate Address Information'. This replaces the 'Do Not Include City' setting that existed previously, and expands on that setting to ignore not only City based validation warnings, but also State, Zip Code and Country validation warnings. This allows for more permissive behaviour as defined by MaxMind's warning rather than error level responses. If you had the 'Do Not Include City' option enabled prior to upgrading, the new 'Do Not Validate Address Information' setting will be automatically enabled during the upgrade process.
  • Product/Service Unsuspension Notification Email - In 6.0 we introduced the ability to configure an email to be automatically sent whenever a product is automatically unsuspended. In 6.1, we've taken that a step further and added an option to have this email sent when performing a manual unsuspension from within the Product/Service Module Commands popups when invoking an unsuspend.
  • Support for Custom Ports in PDO - We have always supported custom ports for MySQL in WHMCS, but with the introduction of PDO in 6.0, we found that we hadn't exposed the option for defining a port via the WHMCS configuration file. In 6.1 we've addressed that and a Custom MySQL Port can now be defined using the $db_port variable. The installer has also had a dedicated field added to make it possible to perform new installations on customised MySQL setups.
  • eWay Token Payments Gateway - eWay is a leading global merchant payment services provider that operates accross a number of countries. The new eWay Tokens module included in WHMCS 6.1 is a tokenised gateway module that allows you to perform credit card processing and recurring billing without having to store credit card details locally. For more information, please refer to the eWay Tokens gateway documentation page.
License
  • 101Domain Domain Registrar - 101Domain is a domain registrar that specialises in the registration of international domain names, supporting many of the world's local gTLDs. For more information, please refer to the 101Domain dedicated documentation page.
  • If you are looking to perform a license refresh, this can now be done on-demand in Help > License Information.

Client Area Templates

Five Template

pwreset.tpl

  • Lines 87-161: Added if condition to reject password reset when logged in. Reformatting of the page.

Six Template

For changes to the Six template, please see the link below for a graphical diff (via the Six template repo):

Order Forms

  • Added new order form: standard_cart
  • Added new order form: cloud_slider
  • Added new order form: premium_comparison
  • Added new order form: pure_comparison

Boxes Order Form

viewcart.tpl

  • Line 431: Changed form field name from 'loginpassword' to 'loginpw'

Admin Area Templates

Blend Template

New Templates

  • systemhealthandupdates.tpl: Display the new 'System Health and Updates' feature page.

menu.tpl

  • Lines 209-216: Added systemhealthandupdates.php to menu. Use 'Health and Updates' permission to show this menu item. Move 'Config General Settings' permission check to line 216, and have it only surround systemsupportrequest.php

style.css

  • Lines 63-66: Add .margin-top-bottom-20 class, which is useful to prevent doubled spacing between vertically stacked panels.
  • Lines 81-88: Add classes to fix overflow for panels bodies and buttons.
  • Lines 1856-EOF: Added new CSS to support System Health and Updates page feature, including classes (.row-eq-height) to support CSS Flex Boxes for equal height columns. Added new CSS for displaying Product Features.

v4 Template

New Templates

  • systemhealthandupdates.tpl: Display the new 'System Health and Updates' feature page.

menu.tpl

  • Lines 213-220: Added systemhealthandupdates.php to menu. Use 'Health and Updates' permission to show this menu item. Move 'Config General Settings' permission check to line 216, and have it only surround systemsupportrequest.php

style.css

  • Lines 1617-1620: Add .margin-top-bottom-20 class, which is useful to prevent doubled spacing between vertically stacked panels.
  • Lines 1790-EOF: Added new CSS to support System Health and Updates page feature, including classes (.row-eq-height) to support CSS Flex Boxes for equal height columns. Added new CSS for displaying Product Features.

6.1.1

Security

CORE-9551 - Ensure Kayako Loginshare enforces login correctly
CORE-9583 - Redacted

6.1.1

Maintenance

CORE-6590 (#3490) - Use fixed colors for event types in admin area calendar
CORE-6620 (#3572) - Prevent duplicate Activity Log entry when executing email marketer rules
CORE-8499 - Allow SSL Certificates to be reissued following move between client accounts
CORE-8517 - Improve logic used to determine nameservers for domain registration when multiple service records exist
CORE-8827 - Auto-select radio option when dropdown selection choice is made in tax rule configuration
CORE-8943 - Custom Fields do not show in Client Area for cPanel Products
CORE-8985 - Recent News panel renders invalid announcement URLs with SEO URLs enabled
CORE-9094 - Add ability to toggle Bulk Domain Search Enabled setting
CORE-9158 - Select-all text on click in cron and piping command configuration fields
CORE-9159 - Product groups not displaying product bundles when group contains no products
CORE-9166 - Order form minimum price parameter should obey currency formatting rules
CORE-9169 - Prevent infinite scroll on configure product and view cart steps in new carts
CORE-9170 - Cron task health checks show failed status erroneously
CORE-9172 - Inherit default domain auto renew status for new domain orders
CORE-9173 - Sequential Invoice Number Format reverts to previous value on save
CORE-9175 - Erroneous invalid expiry message when adding new card in Standard Cart order form
CORE-9176 - Extraneous space in license key causes branding to appear in client area
CORE-9182 - Toggling of addons and configurable options do not refresh order summary after cycle change
CORE-9186 - Domain name not displayed for domain registration/transfer items in cart
CORE-9197 - Standard Cart order summary loader icon does not display when summary not top aligned
CORE-9199 - Standard Cart login as existing client fails on checkout step
CORE-9203 - Secondary Sidebar Billing panel incorrectly named My Services Actions
CORE-9213 - Hide bulk search button in domain checker when disabled
CORE-9216 - Fix improper recalculation of domain add-ons

Modules

CORE-8974 - cPanel Client Area Disk and Bandwidth usage dials render as zero when over limits

Languages

CORE-9188 - Domain checker bulk placeholder language string causes lookup to fail when it includes quotes

6.1.0 GA

Maintenance

CORE-9042 - Fix incorrectly named login form field on Boxes order form template
CORE-9081 - Cloud Slider showing undefined on bottom slider w/ single product
CORE-9085 - Prevent Fatal Error in shopping cart product page when no products/groups configured
Also known as: CORE-9090
CORE-9092 - Protect against mix of collations affecting admin area product listing
CORE-9095 - State field should not always be required for estimating taxes
CORE-9099 - Render product feature description in Cloud Slider template
CORE-9100 - Improve UX of Product Group Feature Entry
CORE-9103 - Ensure product status is properly styled for all languages in client area product details
CORE-9104 - Update order form sidebars to use the dynamic menu system
CORE-9105 - Improve visual display of shopping cart small device menu bar
CORE-9111 - Active admins may be blank if MySQL is strict
CORE-9117 - Make configurable options in standard cart refresh cart totals
CORE-9118 - Provide UI refinements to Standard Cart shopping cart experience
CORE-9119 - Standard cart renders free billing cycle label incorrectly in View Cart
CORE-9120 - Make Cloud Slider update displayed product information without releasing slider
CORE-9122 - Improve lack of SOAP behaviour in eWay module
CORE-9123 - Handle failure to connect to eWay Tokens Endpoint
CORE-9125 - 101domain configuration fields language/usability improvements
CORE-9126 - Standard Cart checkout page fields icons display incorrectly in Firefox
CORE-9145 - Standard Cart password strength meter default text needs improvement
CORE-9147 - Configurable option pricing should refresh on change of billing cycle in Standard Cart template

Modules

MODULE-6300 - FreeRadius always uses WHMCS database user

6.1.0 RC 1

Maintenance

ADDON-5948 - Tax Exempt status should be removed when changing country to home country
ADDON-5968 - Use 24 Hour Clock in Project Management Time Picker
Also known as: ADDON-5962
CORE-6256 (#2998) - Block existing domains checks are inaccurate under certain conditions
CORE-8582 - Allow choosing number of years for registration in domain checker
CORE-8683 - Implement new order form: Premium Comparison
CORE-8684 - Implement new order form: Pure Comparison
CORE-8685 - Implement new order form: Cloud Slider
CORE-8692 - Implement new order form: Standard Cart
CORE-8723 - Interworx route call 4th parameter should be array
CORE-8737 - Implement support for eWay Rapid API Token Payments method
CORE-8739 - Deprecate previous eWay module(s)
CORE-8751 - Implement concept of Product Group Features to Product Groups
CORE-8782 - Implement ability for an admin to define a headline for a product group
CORE-8784 - Implement ability to define a product or bundle as the featured item within a product group
CORE-8800 - Maxmind module should ignore postal code and other warnings
CORE-8851 - Include product bundles in admin area products list UI for easier sorting/management
CORE-8869 - Introduce Custom Fields API Functions for easier manipulation
CORE-8900 - PDF Letter Size Setting Non-Functional
CORE-8902 - Implement email notification option on manual unsuspend from within the admin area
CORE-8907 - Improve performance when performing domain availability check with large number TLDs configured
CORE-8911 (#4299) - Introduce Guzzle to vendor components for HTTP requests
CORE-8914 - Pay All button should be hidden when Mass Payment is disabled
CORE-8918 - Starting database backups cron log entry appears duplicated
CORE-8922 - Email subjects should allow Smarty conditional logic
CORE-8946 - Registrar module passwords are lost upon re-save
CORE-8951 - Introduce support for Custom MySQL Port with PDO Connections
CORE-8962 - Network Issue status colors do not render for languages other than English
CORE-8981 - Six template header login link should use SSL when available
CORE-8989 - Add support for custom ticket status display colors to Recent Support Tickets homepage panel
CORE-8990 - Add refresh license button to license info page
CORE-8991 - Introduce Health & Updates Page
CORE-8994 - Project Management Addon: Fix attachment file upload paths in client area
CORE-8997 - Prevent fatal error when using quick upload to add a file to a product
CORE-9003 - eWay Tokens module doesn't handle all errors
CORE-9006 - Update Font Awesome library to Version 4.4
CORE-9012 - Consolidate range slider javascript in Cloud Slider template
CORE-9019 - Auto migrate project management uploads to correct path
CORE-9025 - Redesign admin area product group configuration UI
CORE-9032 - Slider position in Cloud Slider should respect featured product options
CORE-9033 - Cloud Slider slider bar honors decimal points
CORE-9036 - Hook ClientAreaPageProductDetails does not set variables for Product Details Pages rendered by a module specific template
CORE-9039 - New order form product selection pages should display group name when no headline set
CORE-9041 - SagePay rejects local IPv6 IP address
CORE-9042 - Cannot login as client on Boxes order form template
CORE-9044 - Namecheap rejects local IPv6 IP
CORE-9046 - Unsuspend email should always send if requested manually regardless of email template disabled state
CORE-9047 - Move permissions for WHMCS Connect and Health and Updates to appropriate locations
CORE-9048 - Update Standard Cart Order Form to use Headline and Tagline parameters
CORE-9049 - Prevent cron warnings appearing on first visit to Health & Updates page post upgrade
CORE-9050 - Base Order Form Template product configuration step shows configurable options heading when none exist
CORE-9054 - Add support for spaces to order form template names
CORE-9072 - Promo code icon hovers outside of box
VSIX-85 - Password reset page should redirect to client area if logged in
Also known as: CORE-8205
VSIX-103 - Create sample announcement at install time
VSIX-329 - Missing client language directory results in an uncaught fatal exception
VSIX-405 - Preserve input values on validation error in Whois Update
VSIX-581 - Ensure key ticket information is included when ticket is printed with sidebars hidden

Modules

MODULE-6269 - ResellerClub DNS Management requires that domains be all lowercase
MODULE-6275 - OpenSRS: Implement Cookie Bypass Authentication Method
MODULE-6298 - Resolve HTML syntax error in SSL configuration process of Six template
MODULE-6305 - Yubico can't activate/auth on client side
MODULE-6308 - Worldpay Future Callback fails to render correctly without sidebars

API

CORE-6587 (#3485) - API: DomainWhois command returns null whois response when using json in certain conditions

Languages

CORE-8923 - Updated French Translation

The WHMCS licensing addon module allows you to license your own web applications for selling to end users. Supporting both local license keys and periodic remote checking, it offers a robust and secure way of licensing your scripts.

  • 5Support & Update Addons
  • 8Integrating the Check Code
  • 9Frequently Asked Questions
  • 10Common Issues

Installation

By purchasing the licensing addon, this will unlock access to the licensing addon module files which are now bundled with the default WHMCS install package. So after purchasing, there are no manual installation steps necessary any more - you just need to activate and configure the module in Setup > Addon Modules. The following options are available:

  • Public License Verification Tool - Enable this option to make available a verification page which visitors can use to check whether a domain is licensed to be using your software. The appearance can be customised by editing the /modles/addons/licensing/licenseverify.tpl template file. It's accessed at http://www.yoursite.com/whmcs/index.php?m=licensing
  • Maximum Allowed Reissues - Should you wish to limit how many times a client can reissue a licence, specify the maximum number of reissues here.
  • Auto Logs Prune - To prevent the licence access logs from becoming too large you can specify for how long they should be kept.

Setting up a licensing product

  1. Begin by creating a product under Setup > Products/Services. More information on creating products is available at Products and Services
  2. On the module settings tab, choose 'License Software' in the Module dropdown
  3. The options for a licensing product will then appear. These are explained in detail below:
  • Key Length - this defines how long the randomly generated key will be - enter the numerical value you want
  • Key Prefix - this defines the start of the license key and is how you can validate an applicable key for the product you're performing the checking in has been entered - eg. Monthly-, Owned-, Mobile-, etc..
  • Allow Reissue - determines whether a client can reissue the license from the client area
  • Allow Domain Conflict - When unticked WHMCS will make sure the location at which the licence is being used matches the 'Valid Domain' value in the service record. Tick the option if you want to allow a user to run the product on multiple domains.
  • Allow IP Conflict - as above but for the IP address
  • Allow Directory Conflict - as above but for the directory
  • Support/Updates Addon - explained in detail below
  • Free Trial - This option can be ticked to prevent clients from using more than one licence of this product on the same domain. If a client tries to order a second copy of this product and use it on the same domain as a previous service, it will be automatically suspended with the reason 'Duplicate Free Trial Use'. Useful for limiting free trials to one per domain.

Downloads

Downloads are how your client receives the software product after purchase. These are configured using the existing digital download product release mechanism. For more information on this, refer to Product Downloads Distribution

Addons

Each product can be assigned multiple addon products which can be added at the time of initial ordering or at a later date. Uses for addons include extra value added services such as installation, configuration, upgrades, etc.. They allow you to charge additional fees for items which aren't required in order to utilise the actual product.

Support & Update Addons

If you enable these on your licensing product, then the client is required to have an active support & updates package in order to receive support & download the related product downloads. This means you can charge your users for the continued support and updates using any of the recurring terms available to you in WHMCS. For example we charge you annually for this service on an owned license.

Setting up a Support & Updates Addon Package

Debian generate ssh private key. The guide below explains how to create a support & updates package which is include free with the initial license purchase and then requires renewal once it expires.

  1. Ensure your licensing product is created first
  2. Then, go to Setup > Products/Services > Product Addons > Add New
  3. Enter the name, description, price and recurring cycle - leave the Show on Order setting unchecked
  4. Now tick the licensing product(s) in the applicable products section for the addon
  5. Now go back to the product configuration area and click the edit icon next to your licensing product
  6. On the Module Settings tab, choose the addon you just created in the 'Support/Updates Addon' field and save

And that's it! If you didn't want to include it free with the initial purchase, you would leave the setting on the Module Settings tab at None and tick the box for Show on Order in the addon configuration.

Module Commands

  • Create - Used to generate the license key for the product with status Reissued
  • Suspend - This will set the license status to Suspended
  • Unsuspend - This will set the license status back to Active
  • Terminate - This will set the license status to Expired
  • Reissue - Sets the license status to Reissued so the domain, IP & directory is saved on the next check
  • Revoke - This command will completely remove the license key and allow the number to be reused in future
  • Manage - This button takes you to where you can view & edit the allowed domain, IP & directory for the license

Managing Licenses

To manage licenses, go to Addons > Licenses Manager. From here you can browse through all the license keys that have been issued, search for license keys and make changes to the allowed domains, ips and directory for a license.

Integrating the Check Code

The code used to integrate the license check is included with the addon in the /modules/servers/licensing/check_sample_code.php file. The idea here is that you would have your user enter the license key they get issued during an install process or by simply pasting it into a file, and then you load that in your file before calling the check_license function to validate where the file is being run. For each successful check, a local key is returned which you then also store in your DB or a file to verify against locally on subsequent page loads.

The steps to integrate are described in more detail below:

  1. Copy & paste the code into the top of the file you want to protect
  2. Enter the URL to your WHMCS system root directory in the $whmcsurl variable
  3. Customise the $licensing_secret_key variable used to ensure your local keys are different from other licensing addon users
  4. Optionally change the $localkeydays & $allowcheckfaildays variables if you want to change how often a remote check is made
  5. Now retrieve the license key and local key from the database or file storage you have saved them in
  6. Then call the check_license function
  7. And then act on the result based on the sample code if statements
  8. You then store the local key that gets returned

Whmcs Starter License

Using Product Addons

If the licensing product has any ordered addons, the results from the licensing addon will include a pipe separated string called 'addons' with their details that can be processed and used for any number of purposes. For example: restricting access to certain features unless a particular addon has been ordered.

[addons] => name=Test Addon;nextduedate=2017-12-26;status=Active

License Key

This can be processed into a named array called $addons from the $results array returned by your check_license function. To do so, use the following code:

Using Configurable Options

If the licensing product has any ordered configurable options, the results from the licensing addon will include a pipe separated string called 'configoptions' with their details that can be processed and used for any number of purposes. For example: limiting usage of software to a particular number of clients or admin users.

[configoptions] => Test=0 Test 002=

This can be processed into a named array called $configoptions from the $results array returned by your check_license function. To do so, use the following code:

Frequently Asked Questions

What is the local key?

The local key is the thing that stops the license checking code having to call your server on every page load. It's basically just an encrypted version of the license check data, so that when it's present and valid, the licensing addon doesn't have to make a remote call which would slow down your application/code, thus improving performance. The local key will always be empty on the first check your client makes, but then with every successful remote check, a local key value is returned (sample code provided) which you then just need to store and pass into any future license check calls. We recommend storing into a database for ease of updating and retrieval, but flat files can work just as well.

Note:
The module create function of this module does not generate a username and password by design. Therefore the username/password fields will be blank under the client's Products/services tab.

Common Issues

Invalid Key

This generally indicates that the licensing checking code is not passing a license key back to the licensing addon. The code being used will need to be corrected to ensure that it is returning the full license key to WHMCS.

Remote Check Failed

Whmcs 5.1 License Key Generator Free

This suggests a connection problem between the user's server and the end client's server.

The first step will be to provide the user with a cURL test script that attempts to connect to your WHMCS installation and run it from their server, correcting any detected issues.

Whmcs License Key

If that all appears clear, it could be due to a SSL configuration issue on the user's server. As a workaround, you can potentially add the following into your licence checking code:

A new local key is being generated on every request

License Key Generator Online

This behaviour suggests that the local licence key returned by the license checking function after a successful check is not being stored. When no local licence key is stored and passed into the licensing checking function, a remote check has to be performed and a new local key is generated.

License Key Generator Free

Storing the local license key returned by the license checking function and passing it back into the checking function should resolve this. We recommend storing it in a way most appropriate for your particular software, for example in a flat file or in a database.