Services

Active client services, status, provisioning

What it is

Services are active client subscriptions created when an order is approved and paid. Each service represents one hosting account, domain, or other provisioned item. Services have a status (active, suspended, cancelled), next due date, and server/domain details.

Database table: services

ColumnPurpose
idPrimary key
client_idOwning client
order_idSource order
product_idProduct type
statusactive, suspended, cancelled, pending
domainDomain or username for hosting
usernamecPanel/hosting username
server_idAssigned server (if hosting)
next_due_dateNext billing date
billing_cyclemonthly, annually, etc.

Provisioning flow

  1. Order is paid and approved.
  2. System creates a service record.
  3. If product has a server module (e.g. cPanel), the module's create action is called with domain, username, password, package.
  4. Service status becomes active on success.

How to set up

Services are created automatically. Ensure products have server/registrar modules assigned so provisioning runs. Clients view services in Client Area → Services.

Was this helpful?