Installation
With the Rabisu Reseller Module you sell Rabisu VPS from your own WHMCS. WHMCS 8 and 9 are supported.
Before you start
Open the Become a Reseller ("Bayi Ol") screen in the Rabisu customer panel. Get these three values:
- API Key
- API Secret
- Webhook Secret (shown only once, keep it safe)
1. Upload the files
- Download the latest version of the module: rabisu-bayi-whmcs-latest.zip
Extract the zip. It contains a
modulesfolder. - Upload both folders to your WHMCS root directory:
modules/servers/rabisumodules/addons/rabisu
The two folders work together. Upload both.
2. Activate the addon
- Open System Settings > Addon Modules.
- Click Activate on the Rabisu Bayi row.
- Click Configure, grant admin access and save.
3. Enter the API details
- Open Addons > Rabisu Bayi. Until the details are entered, WHMCS redirects you here after login and shows a warning on every page. The page opens the Settings form.
- Fill in the fields and click Save:
| Field | Value |
|---|---|
| Rabisu API URL | https://api.rabisu.com |
| API Key | Key from the Become a Reseller screen |
| API Secret | Secret from the Become a Reseller screen |
| Webhook Secret | Webhook secret from the Become a Reseller screen |
| Low Balance Threshold | Optional. 0 = off |
Saving tests the connection. The webhook URL is registered automatically. You can change the details later on the Settings tab of the same page.
4. Add a server
- Open System Settings > Servers > Add New Server.
- Enter a name, select Rabisu as the Module and save.
You do not need to enter the hostname, username or password. The module takes the API details from the addon settings and fills in the server entry itself.
5. Create a server group
- Click System Settings > Servers > Create New Group.
- Give it a name (for example "Rabisu").
- Add the Rabisu server to the group and save.
Create only one group. The module selects it automatically for imported products. Create the group before importing products.
6. Set up cron
Add the cron task that runs every 2 minutes. Details: Cron Setup.
7. Import products
Select and import products on the Addons > Rabisu Bayi > Catalog & Import tab. Details: Product Catalog.
Updating
The version button in the top bar of Addons > Rabisu Bayi shows when a new version is available. Click Update now. The module downloads the package, verifies its signature, backs up the current files and replaces them. Database steps run automatically.
- PHP must be able to write to
modules/addons/rabisuandmodules/servers/rabisu. If it cannot, the page lists the files without permission. - If an update stops halfway, the page shows Continue and Roll back buttons.
- Manual update: download the latest version, upload the
modulesfolder to the WHMCS root and overwrite.
Linking an existing service manually
The admin service page has a rabisuid box.
- Enter the Rabisu service ID in the box.
- Save.
The module validates the ID and writes the IP and password to the WHMCS service. Clear the box to remove the link.
If you accept an order with Run Module Create unchecked, nothing is sent to Rabisu. Link the service later with rabisuid.