HostModules Docs

License Setup

HmSingleOrderAddon requires a valid license key to operate. This page explains how to obtain your key, enter it in the addon settings, and troubleshoot license validation issues.

Obtaining Your License Key

Your license key is issued when you purchase HmSingleOrderAddon:

  1. Go to hostmodules.com and complete your purchase
  2. Your license key is emailed to you immediately after payment clears
  3. You can also find it in your client portal under My Products → HmSingleOrderAddon → View Details

License keys follow this format:

HMSO-XXXX-XXXX-XXXX-XXXX

Entering Your License Key

  1. Go to Addon Modules

    In your WHMCS admin panel: System Settings → Addon Modules

  2. Click Configure on HmSingleOrderAddon

    Click the Configure button (gear icon) next to HmSingleOrderAddon.

  3. Enter the license key

    Paste your license key into the License Key field and click Save Changes.

  4. Verify validation

    After saving, the addon validates your license against HostModules’ license server. If valid, the addon becomes fully functional.

License Validation

The addon validates your license on each checkout page load (with server-side caching to prevent excessive requests). Validation checks:

  • The license key format
  • The key is active in the HostModules license database
  • The key is authorized for your WHMCS installation domain

License caching

Successful license validations are cached for 24 hours to prevent repeated remote calls. The cache is stored in the addon’s database table.

Staging & Development Domains

Your license is registered to your live domain. If you want to use the addon on a staging environment:

  1. Log in to your HostModules client portal
  2. Go to My Products → HmSingleOrderAddon → Manage
  3. Add your staging domain as an allowed domain

Alternatively, contact support@hostmodules.com with your staging domain.

License Errors

ErrorCauseSolution
License key not foundThe key doesn’t exist in the systemVerify you copied the key correctly
Domain not authorizedYour domain isn’t registered for this keyContact support to update the authorization
License expiredYour subscription has lapsedRenew your license in the client portal
License inactiveThe license was manually deactivatedContact support
Unable to connect to license serverOutbound HTTP from your server is blockedAllow api.hostmodules.com in your firewall

Firewall requirements

The addon makes outbound HTTP requests to https://api.hostmodules.com for license validation. If your server’s outbound traffic is restricted, you must whitelist this domain.

Transferring to a New Domain

If you migrate your WHMCS installation to a new domain, update your license registration:

  1. Log in to your client portal
  2. Update the Allowed Domain for your license key to the new domain
  3. Clear the license cache: go to WHMCS admin → Utilities → Clear Cache, or deactivate and reactivate the addon module

Allow a few minutes for the change to propagate before testing.