Gyro reseller module for WHMCS, WISECP and other panels
1. What does the module do?
When your customer orders and pays in your panel, the module opens the same service on your Gyro reseller account. Everything afterwards follows automatically:
| Your panel | On Gyro |
|---|---|
| Create | The order is paid from your balance, the service is opened and assigned to your reseller customer record |
| Suspend / Unsuspend | The service is suspended / unsuspended |
| Upgrade | The service moves to the higher plan |
| Renew | The Gyro renewal invoice is paid from your balance |
| Terminate | The service is deleted at once or a cancellation request is filed (your choice) |
| Login to panel | One-click login when the service has a control panel |
- Your customer never sees Gyro; you invoice them and you set the price.
- Your reseller discount applies to every Gyro order and renewal automatically.
- The client area only shows the service status, name and address/IP; your Gyro price, invoices and dates are never shown.
2. Before you start
- Make sure your reseller account is approved. To apply, see the Reseller program guide.
- Complete your billing address (country, state, city) in your account details; without it Gyro orders are refused.
- Top up your balance. Orders and renewals placed by the module are paid from the balance; if it is not enough the action fails and is written to your panel's module log.
Keep your balance a little above one month of sales so that renewals arriving together at night never stop halfway.
3. Create an API key
- Open API Credentials in the Gyro client area and create a new key. See First steps with the Gyro API for details.
- Give the key only these permissions:
Module:Addons/GyroAPI/*,Orders/*,Products/*,Services/*,Invoices/*,Balance/*. - Enter the IP address of the server your panel runs on as the IP restriction.
- Copy the key when it is shown once and enter it only in your panel's server record.
This key places orders and pays from your balance. Do not use it anywhere else and never send it by e-mail.
4. Install the module and test the connection
Download the module package (free, open source):
| Panel | Package |
|---|---|
| WHMCS 8.x | gyro-whmcs-1.0.0.zip |
| WISECP v5 | gyro-wisecp-1.0.0.zip |
You can check the files with SHA256SUMS. Source code and release notes are on GitHub.
WHMCS
- Copy
modules/servers/gyrofrom the module package tomodules/servers/in your WHMCS root. - On System Settings > Servers > Add New Server choose the module Gyro Hosting (Reseller), enter
www.gyrohosting.comas hostname and your API key as the password. - Press Test Connection; it must succeed.
WISECP
- Copy
coremio/modules/Servers/GyroBayifrom the module package tocoremio/modules/Servers/in your WISECP root. - In the admin panel, add a new server on the Servers page: type Gyro Hosting (Reseller), hostname
www.gyrohosting.com, your API key as the access hash. - Press Test connection; it must succeed.
not_reseller means the account is not an approved reseller yet. HTTP 401 means the key is wrong or disabled.
5. Map your products to Gyro products
Fill these fields in the module settings of every product you sell:
| Field | What to choose |
|---|---|
| Gyro product | The Gyro product you sell; the list comes from your own Gyro account |
| Gyro billing cycle | Usually the cycle you sell (monthly) |
| On renewal | Pay the open Gyro invoice from balance (recommended), renew on Gyro and pay, or do nothing |
| On termination | Delete now (service and data deleted, billing stops) or cancellation request |
| Send customer name to Gyro | Off is recommended; Gyro's reseller report only shows your panel's client number |
| Extra order fields | Only needed for products that ask questions at order time |
Set the product to be set up automatically when payment is received. To offer upgrades, add your other Gyro products as upgrade options.
6. Day-to-day operation
- New order: Your customer pays, your panel sets up the service, the service opens on Gyro. A retried setup never opens a second Gyro order.
- Unpaid invoice: Your panel suspends the service and the Gyro service is suspended too. When your customer pays, both are unsuspended.
- Renewal: When your customer pays the renewal, the Gyro renewal invoice is paid from your balance. The same period is never paid twice.
- Upgrade: Only moving to a higher plan is automatic. Open a ticket for downgrades.
- Termination: Depending on your choice the service is deleted at once or a cancellation request is filed. A suspended service is always deleted at once.
7. Common situations
| Error | Meaning | Fix |
|---|---|---|
checkout_blocked |
No billing address on the Gyro account | Add an address to your account details |
insufficient_balance |
Not enough balance | Top up and run the action again from your panel |
suspended_by_provider / overdue_invoice |
Gyro suspended the service because a Gyro invoice is unpaid | Pay the Gyro invoice first, then unsuspend |
not_upgradeable |
The chosen product is not an upgrade option of this service | Open a ticket |
sso_not_supported |
The service has no control panel | Expected; the panel login button does not apply to this product |
8. Other panels: Blesta, HostBill, FOSSBilling, ClientExec
The same module is ready for these four billing panels too. Setup works the same way: API key (Section 3) → a Gyro server in your panel → map the product to a Gyro product. Every package contains an installation guide in English and Turkish.
| Panel | Download | Extract into | Product mapping |
|---|---|---|---|
| Blesta 5.x / 6.x | gyro-blesta-1.0.0.zip | components/modules/gyro_reseller |
Package > Module: Gyro product from the list |
| HostBill | gyro-hostbill-1.0.0.zip | includes/modules/Hosting/gyroreseller |
Product > Connect with App: Gyro product from the list |
| FOSSBilling 0.8+ | gyro-fossbilling-1.0.0.zip | library/Server/Manager/GyroReseller + modules/Gyroreseller |
Hosting plan custom value gyro_product |
| ClientExec 6 | gyro-clientexec-1.0.0.zip | plugins/server/gyroreseller |
Product > Plugin settings: Gyro product number |
A .sha256 checksum file sits next to every zip.
In FOSSBilling, activate the bundled Gyro Hosting (Reseller) renewals extension (Extensions) so renewals reach Gyro. In HostBill and ClientExec, keep "On renewal" on pay_open and turn on balance auto-pay in the Gyro client area, or use the admin "Renew" / "Pay open Gyro invoice" action, so the Gyro side is paid when your renewal invoice is paid.
HostBill and ClientExec are licensed panels, so these two modules were tested against the Gyro API through a compatibility layer that reproduces the panels' official module structure. Verify them with a test order on a staging panel before going live. The Blesta and FOSSBilling modules were tested end to end on real panel installations.
9. Frequently asked questions
Will my customer see Gyro?
No. The client area only shows the service status, name and address/IP. Your Gyro price, invoices and dates are never shown.
Can I link a service I opened on Gyro earlier?
Yes. In WHMCS, enter the number in the "Gyro service no." field on the service page. Only services on your own reseller account can be linked.
What happens if my balance runs out?
The order or renewal being processed at that moment fails and is written to your panel's module log. Top up and run the action again from your panel.
Is my API key safe?
The key is stored only in your panel's server record; it is never in the module files or the logs. We recommend restricting it to your server's IP address.
Where do I get the module package?
Download it free from the GitHub releases page: WHMCS and WISECP; the Blesta, HostBill, FOSSBilling and ClientExec packages are in the table in Section 8. New versions are published on the same page.
Thanks for your feedback!
