WHMCS Hooks and Automation
Custom hooks that act on WHMCS events: staff alerts, order review, ticket routing and rules your team now does by hand.
Shahid Malla · Top Rated on Fiverr and Upwork
600+ Fiverr reviews, 4.9 average · 13+ years · 900+ projects
PHPWHMCS HooksAutomation
About this package
This package writes custom WHMCS hooks that act on events in your billing system, such as staff alerts for large orders, checkout rules, ticket routing or nightly tasks, so the steps your team repeats by hand run on their own. It is for teams who open WHMCS every morning to do the same handful of clicks.
How a hook works
A hook is a small PHP function registered with add_hook for one of the events WHMCS fires: AcceptOrder when an order is accepted, InvoicePaid when a payment lands, TicketOpen for a new ticket, DailyCronJob for scheduled work, or ShoppingCartValidateCheckout to block a checkout that breaks a rule. Inside, it can read data and call the local WHMCS API, so it changes records the same way an admin would.
- A Slack, Discord or Telegram message when an order above your threshold arrives.
- New signups from risky countries or disposable email domains held for review.
- A credit applied automatically when a service meets a condition you define.
- A notice in the client area for clients with an overdue invoice or an expiring domain.
Choosing the right size
Starter is one hook for one event, tested on your install. Business covers up to five hooks, including chat alerts, client area notices and daily cron tasks, each writing to the activity log and tested on a staging copy first. Premium goes to twelve hooks and adds an admin page where you edit thresholds and rules without code, order and fraud review automation, ticket routing by product or keyword, and scheduled email reports.
Kept readable
Every hook lives in its own clearly named, commented file in includes/hooks, so anyone can see what runs and switch it off by removing a single file. External calls use short timeouts, so a slow chat service never holds up a client's checkout. Larger automation that needs its own module is covered on the API and automation page.
Compare packages
| Package | Starter$99 | Business$299 | Premium$699 |
|---|---|---|---|
| Hooks | 1 | Up to 5 | Up to 12 |
| Commented PHP source | |||
| Chat alerts | – | ||
| Client area notices | – | ||
| Daily cron tasks | – | ||
| Staging test | – | ||
| Rules editable in admin | – | – | |
| Order and fraud review | – | – | |
| Ticket routing | – | – | |
| Delivery time | 2 days | 5 days | 9 days |
| Revisions | 2 | 3 | 5 |
What I need from you
After you pay, a project opens for your order. Send these there and the delivery clock starts.
- WHMCS admin access and file access to includes/hooks
- Each rule in plain words: when, under what condition, what action
- Slack, Discord or Telegram webhook URLs or bot tokens, for alerts
- Your WHMCS version
- A list of hooks or addons already installed
About the developer
Shahid Malla
AI agent and AI chat developer, full-stack developer
Top Rated on Fiverr and Upwork
- Based in
- Kashmir, India
- Experience
- 13+ years
- Projects
- 900+ delivered
- Languages
- English, Hindi
I have built websites, WHMCS modules and web apps for clients since before AI coding tools existed. Today I build with AI-assisted tools and review every change myself, which is why fixed prices here are lower than an agency's for the same scope. I work while the US, Canada and Australia sleep, so each morning there is progress on your staging link.
Read my 600+ Fiverr reviews · Upwork profile · Portfolio · About me
Questions about this package
Can a hook slow down my WHMCS?
It can if it makes slow outside calls on a page clients are waiting for. I keep client-facing hooks light, set short timeouts on external requests, and move heavy work to the cron, so checkout and the client area stay as fast as they were.
What if two hooks act on the same event?
WHMCS runs them in order of the priority number each one sets. I check what is already registered on that event before adding mine, give each a deliberate priority, and test them together so one does not undo the other.
Can a hook stop an order at checkout?
Yes. A checkout validation hook can refuse an order with a clear message, for example when a required phone number is missing or an email domain is on your block list. It cannot change core billing rules; it works alongside them.
How ordering a package works
-
1
Choose a plan
Pick Starter, Business or Premium and pay once by card, PayPal or crypto. The price on the page is the price.
-
2
Send your content
A project opens for your order. Send your text, logo, photos and any logins I need there.
-
3
I build it
I build on a private staging link you can open on your phone, with updates as I go.
-
4
Launch and handover
After your approval the site goes live on your domain, and every login is yours.
One-time price, no monthly fee from me
You pay for the build once. Your domain and hosting are registered in your name and renewed with your hosting provider, who bills you directly. I add nothing on top, and the site keeps running whether or not you hire me again.
What I do not build
Gambling and adult websites, and sites that sell content without the rights to it. Need something not listed? Ask for a custom quote.
More whmcs services
- Custom WHMCS Module DevelopmentA provisioning, addon or registrar module that lets WHMCS create, manage and bill a product it does not support out of the box.Starting at $99 · 3 days
- WHMCS Payment Gateway ModuleA gateway module for a payment provider WHMCS does not include, with verified callbacks that mark invoices paid.Starting at $99 · 3 days
- WHMCS Theme CustomizationRestyle the WHMCS login, client area, cart, invoices and emails in your brand, kept in a child theme so updates leave it alone.Starting at $99 · 3 days