Skip to content

Latest commit

Β 

History

History
87 lines (60 loc) Β· 2.96 KB

File metadata and controls

87 lines (60 loc) Β· 2.96 KB

Hostinger WHMCS Module

Integrate Hostinger VPS/Cloud services directly into your WHMCS billing system. Automate provisioning, management, and billing with seamless API connectivity. πŸš€

✨ Features

  • Automated VPS provisioning - Purchase new VPS instances
  • Real-time management - Restart, reinstall, password changes
  • Usage tracking - Disk space and bandwidth monitoring
  • Backup & snapshots - Create, restore, and manage backups
  • DNS management - Set nameservers and PTR records
  • Client area integration - Full VPS control panel for end users

πŸ“‹ Requirements

  • WHMCS 8.0 or higher
  • PHP 8.1+
  • Hostinger account and API token

πŸš€ Getting Started

1. Get your Hostinger API token πŸ”‘

  1. Login to hPanel
  2. Navigate to Account Information section or click here
  3. Click on API menu item
  4. Click New token button
  5. Fill in information and click Generate button

Tip: Store the token securely. You’ll paste it in WHMCS as the server Password.

Security Note: Use dedicated API tokens for WHMCS integration. Rotate tokens regularly and revoke unused ones. πŸ”’

2. Installation πŸ“¦

  1. Download the latest release: https://github.com/hostinger/api-whmcs-plugin/releases
  2. Upload archive folder contents to your WHMCS installation root directory.
  3. Login to WHMCS admin panel.
  4. Navigate to Apps & Integrations
  5. Click Browse button and select VPS/Cloud or enter Hostinger in search field.
  6. Click Create New Server

3. Server Configuration βš™οΈ

Fill in the following fields:

  • Module: Hostinger
  • Hostname: developers.hostinger.com
  • Username: <leave empty>
  • Password <your API token>
  • Access Hash: <leave empty>

Click Test Connection to verify setup, then Save Changes.

4. Product Setup πŸ“‹

  1. Create a new product in WHMCS
  2. Set product type to Server / VPS
  3. Choose Hostinger as the module
  4. Configure the module settings:
    • Plan: Select from available VPS plans
    • Datacenter: Choose default location (optional)
    • OS Template: Set default operating system (optional)

Now you can add Hostinger VPS products. Refer to WHMCS documentation for more information.

πŸ“š Support

🀝 Contributing

We welcome contributions! Please:

  1. Fork the repository
  2. Create a feature branch
  3. Submit a pull request with clear description

πŸ“„ License

This module is provided under the MIT license. See LICENSE file for details.