---
title: "WHMCS Proxmox and Pterodactyl Modules from PLN 999 | VulCode"
description: "WHMCS provisioning modules and hooks for VPS and game server hosting with Proxmox and Pterodactyl from PLN 999. Usually done in 2-3 days."
url: "https://vulcode.com/en/services/integrations/whmcs"
lang: "en"
---

[Home](https://vulcode.com/en) [Services](https://vulcode.com/en/services) [Integrations](https://vulcode.com/en/services/integrations)

# WHMCS modules for Proxmox, Pterodactyl and custom panels

A WHMCS module from VulCode means provisioning and hooks for VPS and game server hosts: Proxmox, Pterodactyl and custom panels. It costs from PLN 999 (about EUR 220) and usually takes 2-3 days. Once an order is paid, the VPS or game server is created on its own, and an overdue one gets suspended. When WHMCS stops being enough, we tell you about the Flaem panel.

[Free quote](https://vulcode.com/en/quote) [Full pricing](https://vulcode.com/en/services/pricing)

## How a provisioning module works

A module is a PHP file in /modules/servers/ with functions WHMCS calls at set points in a service's life.

- The seven core functions are create, suspend, unsuspend, terminate, renew, change password and change package. Each must return exactly the word success or an error message that staff will see.

- WHMCS decides when a function runs: create after the order is paid, suspend by the cron job when overdue, unsuspend once the overdue invoice is paid. The module only handles talking to the panel or hypervisor.

- **On success**: WHMCS changes the service status itself, and after creation sends the client a welcome email.
- **Up to 24 settings**: A product passes settings configoption1 to configoption24 to the module, e.g. node and template.

## From payment to a running VPS

The run with a Proxmox module: from payment to the email with access data.

**Client****WHMCS****Module****Proxmox VE**

Client → WHMCS

pays the order

WHMCS → Module

CreateAccount with the product's parameters

Module → Proxmox VE

clone the VM template

API token in the header

Proxmox VE → Module

a UPID task id

Module → WHMCS

success

status Active

Module → Proxmox VE

once the task ends: configure and start

WHMCS → Client

welcome email and access details

- **Long operations**: Proxmox returns a task id and the clone runs in the background. The module stores it, and a job that checks the status finishes the work.

## Module functions and panel calls

The same WHMCS function is a different call in each panel.

| WHMCS function | Proxmox VE | Pterodactyl |
| --- | --- | --- |
| CreateAccount | POST .../qemu/{vmid}/clone, then start | POST /api/application/servers |
| SuspendAccount | POST .../status/stop or suspend | POST /servers/{id}/suspend |
| UnsuspendAccount | POST .../status/start | POST /servers/{id}/unsuspend |
| ChangePackage | PUT .../config and .../resize | PATCH /servers/{id}/build |
| TerminateAccount | DELETE .../qemu/{vmid} | DELETE /servers/{id} |

Proxmox paths start with /api2/json/nodes/{node}.

## Proxmox and Pterodactyl from the module side

The two most common WHMCS module targets at hosting companies.

|  | Proxmox VEVPS and LXC containers | Pterodactylgame servers |
| --- | --- | --- |
| Authentication | an API token with its own permissions and expiry | a Bearer application key |
| Creating a service | a background task with a UPID | the server at once in the panel, installed by Wings |
| Duplicate protection | a fixed VMID from the service id | the external_id field |
| Official WHMCS module | none published, we write one | Yes |

## What we watch out for with WHMCS

Details from the docs that decide whether automation leaves services half-done.

- Module
  ### Exactly success
  WHMCS treats a function as successful only on that word. Anything else is an error staff will see.

- ### Secrets out of the log
  logModuleCall gets a list of values to scrub, so passwords and tokens never land in the Module Log.

- ### An alert on failure
  The AfterModuleCreateFailed hook passes the failure reason. We send it straight to the support channel.

- ### API access by IP
  The WHMCS API accepts requests only from allowed IPs by default. An outside integration needs an entry or an access key.

- ### Hooks in a module
  The hooks.php file is detected when the module is activated. One added later needs the product settings saved again.

## Example: VPS hosting on Proxmox with WHMCS

The rollout, step by step.

- **Company**: A small VPS host with a Proxmox VE cluster
- **Today**: VMs set up by hand after every payment
- **Goal**: A VPS ready minutes after payment, with no one involved

- ### Templates and products
  Each OS gets a VM template, and WHMCS products point to the template, node and resources.

- ### A narrowly scoped token
  The module gets a Proxmox API token with rights only to the nodes and VMs it needs, with an expiry date.

- ### Module and completion job
  CreateAccount clones the template, and a background job waits for the clone, sets the password and starts the VM.

- ### Buttons in the client area
  VM start, stop and restart as custom module functions, shown with the service in the WHMCS client area.

Order, payment, VM and an access email with no manual work, and overdue accounts end in automatic suspension.

## WHMCS with modules or Flaem

Flaem is a panel for hosting companies. WHMCS with a good module is often enough.

A provisioning module, hooks and SSO to the panel, in your current WHMCS.

A panel with provisioning on your nodes, with the store and wallet built in.

- 01 WHMCS with modules

- 02 Flaem

When

- You already run WHMCS with clients, invoices and payments.

- You only lack automation for one or two panels.

- You want one panel for the store, billing and servers.

- You are launching a new host and want one panel from day one.

### WHMCS with modules

When

- You already run WHMCS with clients, invoices and payments.

- You only lack automation for one or two panels.

A provisioning module, hooks and SSO to the panel, in your current WHMCS.

### Flaem

When

- You want one panel for the store, billing and servers.

- You are launching a new host and want one panel from day one.

A panel with provisioning on your nodes, with the store and wallet built in.

## WHMCS and provisioning glossary

Terms from this page: module, hook, provisioning and related ones.

- **Provisioning**: Setting up a service automatically after an order: an account, VM or game server.
- **Server module**: A PHP file in /modules/servers/ through which WHMCS talks to the panel.
- **Hook**: A function called on a WHMCS event, e.g. after a failed service creation.
- **UPID**: A Proxmox task id used to check whether an operation has finished.

## Common questions about WHMCS

The main questions about WHMCS modules: fixes, nodes, sign-in, cost and code.

**Our ready module misbehaves. Can you fix it?**

If its licence allows code changes, yes. If not, we write our own module with the same scope.

**How long does it take?**

Usually 2-3 days. The exact dated schedule comes with the free quote, and if anything is going to move, you know in advance.

**How much does a WHMCS module for Proxmox or Pterodactyl cost?**

A WHMCS module costs from PLN 999 (about EUR 220) under our [API and integrations](https://vulcode.com/en/services/api-integrations) service and usually takes 2-3 days. The figure depends on the panel (Proxmox, Pterodactyl, custom), the number of module functions and what should happen on an overdue account. The quote is free and comes back within an hour.

**Will the module handle several Proxmox nodes?**

Yes. The node comes from the product or a rule, e.g. the least loaded node in a location.

**Can the client get into the panel without a second password?**

Yes, if the panel allows it. WHMCS has a single sign-on function for modules.

**Will the WHMCS module code be mine?**

Yes. Once the work is accepted and paid in full, the economic copyright in the module code passes to you and you get the repository with run instructions. Open source libraries keep their own licences.

**How do you check a WHMCS module before launch?**

On a test WHMCS installation and a test node. We run an order, a payment, service creation, suspension for an overdue account, unsuspension and removal, and only then switch the module on in production.

**What if the WHMCS module stops working?**

The integration logs every operation and retries the ones that failed by itself. When the problem does not go away you get a notification, and bugs that come from our work are fixed free of charge within the 90 days of support after launch.

**What if WHMCS, Proxmox or Pterodactyl changes its API?**

We adjust the integration to the provider's changes: within the 90 days of support included after launch, later under a [maintenance](https://vulcode.com/en/services/website-maintenance) plan or as a separate short order. We follow the provider's change notices and tell you in advance what needs fixing.

## Sources

Technical details come from the WHMCS and Proxmox VE documentation.

- [WHMCS: supported module functions](https://developers.whmcs.com/provisioning-modules/supported-functions/)

- [WHMCS: module parameters](https://developers.whmcs.com/provisioning-modules/module-parameters/)

- [WHMCS: module logging](https://developers.whmcs.com/provisioning-modules/module-logging/)

- [WHMCS: API access control](https://developers.whmcs.com/api/access-control/)

- [Proxmox VE API](https://pve.proxmox.com/wiki/Proxmox_VE_API)

## Related pages

Other integrations for hosting and game servers.

- [**Pterodactyl** Panel setup and the Application API.](https://vulcode.com/en/services/integrations/pterodactyl)

- [**Discord** Roles and notifications after a purchase.](https://vulcode.com/en/services/integrations/discord)

- [**Servers and DevOps** Servers, backups and monitoring.](https://vulcode.com/en/services/servers-and-devops)

- [**Panels and dashboards** A custom client panel.](https://vulcode.com/en/services/client-portals-and-crm)

## Describe your project.

A free quote comes back within an hour during working hours.

### Rather skip the form?

Ask in the chat or write to us directly.

Open the chat

- **Email**: [hello@vulcode.com](mailto:hello@vulcode.com)
- **Phone**: [+48 576 043 920](tel:+48576043920)
- **Discord**: [discord.gg/vulcode](https://discord.gg/vulcode)

## More on this in our blog

- [WHMCS alternatives: what to check before you switch your hosting billing system WHMCS prices its licence by active clients and by default moves you up a plan once you pass the limit. We set it against Blesta, Paymenter and FOSSBilling and list what to check before a host moves its clients, services and invoices.](https://vulcode.com/en/blog/whmcs-alternatives)
