WHMCS Reseller Module Automation
Understand EenosReseller account commands, reseller-wide actions, synchronization, usage updates and panel login behavior.
WHMCS invokes EenosReseller according to your product, staff, order/payment and cron configuration. Operations use the API with the authenticated reseller's ownership, package permissions and resource limits.
Account commands
| WHMCS command | API operation |
|---|---|
| Create Account | createacct, with service identity, password, domain, client email, package and creation options. |
| Suspend / Unsuspend shared hosting | suspendacct / unsuspendacct. |
| Suspend / Unsuspend reseller hosting | suspendreseller / unsuspendreseller. |
| Terminate shared hosting | removeacct. |
| Terminate reseller hosting | terminatereseller. |
| Change Password | passwd. |
| Change Package | changepackage, with the selected package name. |
| Renew | Returns success for an already-active service; otherwise requests account/reseller unsuspension according to product type. |
Check reseller-wide actions
Reseller suspension and termination can affect multiple accounts. Confirm the service identity, product type and API scope before issuing these commands. Termination is destructive; a billing record is not a backup.
Synchronization
| Action | Result |
|---|---|
| Server metadata refresh | Reads load/version and related server information. |
| Server Sync / account listing | Uses listaccts; review WHMCS matching/import choices before applying changes. |
| Service Sync Data | Reads accountsummary and updates the WHMCS service's stored account details. |
| Usage Update | Reads usagestatistics and updates usage/limits for matching services on the configured server. |
These actions are distinct. Usage depends on WHMCS invoking its callback and Eenos collectors having current data. WHMCS can store an unlimited limit as zero; that storage convention does not make zero an unlimited module input. Sync actions can modify WHMCS records.
Panel login actions
The administrator server-login callback uses adminsso for the authenticated reseller’s RAPP access. Service/client actions use uappsso or rappsso according to the selected panel and product type. Restrict administrator SSO to intended staff roles and do not share temporary login URLs.
The current server-side adminsso failure branch can reference an undefined variable. See the Reseller adminsso reference when that login action fails. This does not imply all provisioning operations are unavailable.
Packaged WHMCS module hooks add client navigation and panel links. They are separate from Eenos server-side Hooks.
Confirm outcomes
A timeout does not prove that an operation failed: compare the actual account/package/ownership with WHMCS before retrying Create or Terminate. Use Eenos logs and this module's troubleshooting guide for diagnosis.