A HostBill provisioning module that integrates with hitechcloudpartner VHI (Virtual Hosting Infrastructure) to manage user account status and synchronization.
| Property | Value |
|---|---|
| Module Type | Hosting/Provisioning |
| Version | 1.0.0 |
| Author | Atul Mahankal |
| Base Class | HostingModule |
| Feature | Status | Description |
|---|---|---|
| Test Connection | ✅ Working | Verify API connectivity with hitechcloudpartner VHI |
| Account Suspension | ✅ Working | Suspend user accounts on hitechcloudpartner (status=2) |
| Account Unsuspension | ✅ Working | Reactivate suspended accounts (status=1) |
| Status Synchronization | ✅ Working | Sync account status from hitechcloudpartner to HostBill |
| Account Creation | Returns success without API call (manual linking required) | |
| Account Termination | Returns success without API call |
- hitechcloudpartner user accounts must be created manually on hitechcloudpartner VHI
- Each HostBill client must have their hitechcloudpartner User ID stored in the
hitechcloudpartneridcustom field - The module manages status (suspend/unsuspend/sync) for pre-existing hitechcloudpartner accounts
- HostBill (any recent version)
- hitechcloudpartner VHI instance with API access
- Valid App ID and Session credentials from hitechcloudpartner
-
Copy the
hitechcloudpartnerfolder to your HostBill installation:/path/to/hostbill/includes/modules/Hosting/hitechcloudpartner/ -
The folder should contain:
hitechcloudpartner/ └── class.hitechcloudpartner.php -
Go to HostBill Admin → Settings → Modules → Hosting Modules
-
Activate the "hitechcloudpartner" module
Go to Settings → Apps → Add New App and configure:
| Field | Description |
|---|---|
| Host URL | hitechcloudpartner VHI API base URL (e.g., https://api.hitechcloudpartner.example.com) |
| App Id | Your hitechcloudpartner application identifier |
| Session | hitechcloudpartner session token for API authentication |
- Go to Settings → Products → Add/Edit Product
- Select "hitechcloudpartner" as the provisioning module
- Link to the configured App (server)
This module requires a custom client field hitechcloudpartnerid to link HostBill clients to hitechcloudpartner users.
Settings → Client Custom Fields → Add Field
| Property | Value |
|---|---|
| Field Name | hitechcloudpartnerid |
| Field Type | Text Input |
| Description | hitechcloudpartner User ID |
- Create hitechcloudpartner user manually on hitechcloudpartner VHI
- Add client in HostBill and set the
hitechcloudpartneridcustom field to the hitechcloudpartner User ID - Create order/account in HostBill - the module marks it as created (no API call)
- Suspend/Unsuspend - module calls hitechcloudpartner API to change account status
- Synchronize - module fetches status from hitechcloudpartner and updates HostBill
| Action | Endpoint | Method |
|---|---|---|
| Test Connection | marketplace/app/rest/getchecksum |
GET |
| Get Accounts | billing/account/rest/getaccounts |
GET |
| Set Account Status | billing/account/rest/setaccountstatus |
GET |
See docs/WORKFLOW.md for detailed workflow documentation.
See docs/IMPLEMENTATION.md for technical implementation details.
- Verify the Host URL is correct and accessible
- Check App ID and Session credentials
- Ensure hitechcloudpartner API is responding
- Verify the client has a valid
hitechcloudpartneridcustom field value - Ensure the hitechcloudpartner user exists with that ID
- Check HostBill system logs for API errors
- Confirm
hitechcloudpartneridis set for the client - Check if hitechcloudpartner API returns data for that user ID
- Review logs for API response errors
The module logs to HostBill's system log with the tag "hitechcloudpartner Module". Check logs at:
Reports → Logs → System Log
- Account creation is not automated - hitechcloudpartner users must be created manually
- Account termination does not delete users from hitechcloudpartner
- Requires manual linking of HostBill clients to hitechcloudpartner users via
hitechcloudpartnerid
Proprietary - All rights reserved.