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
| Column | Purpose |
|---|---|
id | Primary key |
client_id | Owning client |
order_id | Source order |
product_id | Product type |
status | active, suspended, cancelled, pending |
domain | Domain or username for hosting |
username | cPanel/hosting username |
server_id | Assigned server (if hosting) |
next_due_date | Next billing date |
billing_cycle | monthly, annually, etc. |
Provisioning flow
- Order is paid and approved.
- System creates a service record.
- If product has a server module (e.g. cPanel), the module's
createaction is called with domain, username, password, package. - Service status becomes
activeon 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?