Coupon Client

Coupon Client

Developed By ArkHost

Compatible with WHMCS v9.0

Coupon Client for WHMCS

Auto-apply coupon codes to assigned clients. Keep discounts exclusive with Locked coupons, or allow normal manual use with Unlocked coupons.

What It Does

Links clients to coupon codes. When that client views their cart, the coupon applies automatically.

Use cases:

  • VIP client discounts
  • Partner pricing
  • Corporate contracts
  • Loyalty programs

Requirements

  • WHMCS 8.9+
  • PHP 8.1–8.4 with a compatible ionCube Loader
  • License key from ArkHost

Installation

  1. Upload modules folder to WHMCS root
  2. Setup > Addon Modules
  3. Activate "Coupon Client"
  4. Enter license key

Database table creates automatically. Hooks load from module directory.

Configuration

Auto-Apply Mode

  • Silent: No notification (default)
  • Notification: Shows message when applied

Priority Mode

  • Client First: Auto-coupon overrides manual entry (default)
  • Manual First: Manual entry wins

Locked and Unlocked Coupons

Choose a policy when assigning a coupon, or change it in the association list. The policy belongs to the coupon and applies to every client assigned to it.

  • Locked (default): coupons with active assignments can only be redeemed by the actively assigned clients. Guests and other clients cannot use them.
  • Unlocked: coupons still auto-apply to assigned clients, while guests and other clients can enter them manually under normal WHMCS promotion rules.
  • Existing coupons and assignments remain Locked after updating. Inactive assignments do not grant access to Locked coupons.
  • Expiry dates, usage limits, product restrictions and other WHMCS promotion rules remain unchanged.

Policy is separate from priority. In Client First mode, the assigned coupon still overrides another manually entered code; choose Manual First if manual entry should take priority.

Usage

Creating Associations

  1. Addons > Coupon Client
  2. Search client (name, email, company)
  3. Select coupon and its Locked/Unlocked policy
  4. Add notes (optional)
  5. Click Add

One active coupon per client. Create multiple associations but only activate one.

Managing

Search/Filter:

  • By client name, email, or coupon code
  • By status (all/active/inactive)
  • 25 per page

Actions:

  • Activate/Deactivate
  • Change the coupon policy for all its assignments
  • Delete
  • View details

Validation:

  • Warns on expired coupons
  • Warns on usage limits
  • Blocks duplicates
  • Prevents multiple active coupons

How It Works

  1. Client views cart → hook fires
  2. Module checks for active association
  3. Validates coupon (expiry, limits)
  4. Applies based on priority mode
  5. Logs action

Client must be logged in. Anonymous users can't have auto-coupons.

Updating

Back up the module files and database, replace the module directory, then open Addons > Coupon Client to initialize the policy table automatically. Do not deactivate the module or delete assignments. Existing assignments remain Locked.

Database

Module-owned tables: mod_coupon_client and mod_coupon_client_policy.

 

There are no reviews yet!

Be the first to review Coupon Client.

Version Compatibility


Compatible with WHMCS v9.0

Full Version Compatibility


  • Selected versions of WHMCS v9.0
        9.0.0 - 9.0.3
  • Selected versions of WHMCS v8.13
        8.13.0 - 8.13.2
  • All versions of WHMCS v8.12
  • All versions of WHMCS v8.11
  • Selected versions of WHMCS v8.10
        8.10.0
  • Selected versions of WHMCS v8.9
        8.9.0

Support for this product

The best place to start if you need help with a specific product is to contact the developer. All WHMCS Marketplace developers have both a website and support URL listed.

Developed By ArkHost

Changelog

v1.3 Released October 17th, 2026

Latest Version


  • Added a per-coupon Locked/Unlocked policy, shared across all clients assigned to that coupon.
  • Unlocked coupons still auto-apply to assigned clients and can also be entered manually by guests and other clients, subject to normal WHMCS promotion rules.
  • Added policy selectors to the assignment form and association list, with translated labels and guidance in all six supported languages.
  • Existing coupons and assignments remain Locked after updating. Cart and checkout validation and coupon-priority settings are preserved.
  • Added automatic, idempotent initialization of the module-owned policy table for existing installations.
  • Protected assignment and policy saves with administrator security tokens and transactional initial writes.

 

Previous Versions


v1.1 Released November 6th, 2025

View/hide detailed changelog

Coupon restriction system:

  • Coupons with active associations restricted to assigned clients only
  • Real-time validation removes unauthorized coupons from cart
  • Multiple clients can share same restricted coupon
  • Non-logged-in users blocked from restricted coupons
  • Validation on cart load, calculations, and checkout
  • Red error notification when restricted coupon rejected
  • Activity log tracks rejections with authorized client list
  • Admin shows "Restricted" badge on active associations
  • Info panel explains restriction behavior
  • Error messages added to all 6 languages

Bug fixes:

  • Fixed validation only checking first client association (now checks all authorized clients)

 

v1.0 Released October 15th, 2025

View/hide detailed changelog

  • Automatic coupon application
  • Client-coupon association management
  • AJAX client search
  • Search and filter functionality
  • Validation (expired, limits, duplicates)
  • One active coupon per client enforcement
  • Priority modes (Client First / Manual First)
  • Optional notifications
  • Statistics dashboard
  • Client profile integration
  • Multi-language support (6 languages)
  • Activity logging
  • License validation
  • Pagination (25 per page)
  • Bootstrap UI
  • Select2 integration

 

See also

Accept Bitcoin and cryptocurrency payments - CoinGate for WHMCS

Easily accept Bitcoin, Tether, Ethereum and many other crypto payments on your WHMCS website

Free
Account Statements Module

Send account statements to customers

Free
GST WHMCS Module For India

As WHMCS does provide tax rules options where you can configure your GST tax but we have some extra features in our module that makes it stand out and necessary to use.

Commercial
Handling Fees

A handling fee are the costs that business owners incur when processing payments from customers.

Free
Free Opensource Gateway Fees

Gateway no fees Addon

Free