Skip to Content
Browse documentation

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 commandAPI operation
Create Accountcreateacct, with service identity, password, domain, client email, package and creation options.
Suspend / Unsuspend shared hostingsuspendacct / unsuspendacct.
Suspend / Unsuspend reseller hostingsuspendreseller / unsuspendreseller.
Terminate shared hostingremoveacct.
Terminate reseller hostingterminatereseller.
Change Passwordpasswd.
Change Packagechangepackage, with the selected package name.
RenewReturns 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

ActionResult
Server metadata refreshReads load/version and related server information.
Server Sync / account listingUses listaccts; review WHMCS matching/import choices before applying changes.
Service Sync DataReads accountsummary and updates the WHMCS service's stored account details.
Usage UpdateReads 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.