FluxBilling

VirtFusion Billing Setup: Connect VirtFusion to FluxBilling

Connect VirtFusion to FluxBilling with the free plugin: create an API token, map packages to products, and automate provision, suspend and terminate. Lite starts at €4.95 a month, with a 14-day refund.

Mario MarinMario Marin13 min read

If you run VirtFusion as the control panel for your KVM hypervisors, billing is a separate job: products, invoices, payments, and what happens to a virtual server when an invoice is paid, overdue or cancelled. This guide sets that up with FluxBilling’s free VirtFusion plugin.

VirtFusion describes itself as virtualization management software for hosting providers. Its documentation lists official billing integrations for WHMCS, Blesta, Clientexec, HostBill, Paymenter, Upmind and BillingServ. FluxBilling is another option: a hosting billing, DCIM and provisioning platform that talks to your existing control server. Your VirtFusion licence and hypervisors stay as they are. The plugin is free on every FluxBilling tier, with no per-node fee for servers you sell through it.

You still need a billing system for invoices and non-payment. VirtFusion’s features pages also describe its own self-service billing, including hourly credit balances and resource packs. A separate biller earns its place when you also sell dedicated servers, web hosting, domains or game servers, or want one client area. VirtFusion’s self-service guide (checked 20 November 2026) says no third-party billing integrations are currently available for hourly billing — only resource packs, and only with WHMCS. FluxBilling’s marketplace also includes free plugins for Proxmox VE, Virtualizor, SolusVM 2, Pterodactyl, cPanel/WHM, CloudStack, OpenStack, Plesk and Webuzo. There is no LibreNMS, Tenantos or DirectAdmin plugin.

The steps follow the official VirtFusion Integration Setup Guide (plugin version 1.2.2, which needs FluxBilling 0.0.1572 or newer, updated 16 November 2026). VirtFusion facts come from its own documentation and pricing page.

What you need before you start

From the setup guide: a VirtFusion control server reachable over HTTPS, for example https://vf.example.com; at least one enabled package (CPU, memory, disk and traffic); at least one enabled hypervisor group with hypervisors and free IPv4 addresses — in FluxBilling, each group is a location; the OS templates you want to sell, already available to the package; and network access from your FluxBilling panel to that control server.

The one-click Console and Control Panel buttons need a commercial VirtFusion licence for login tokens, and those tokens work for regular users only, not administrators. The plugin creates regular users for your customers. VirtFusion activates a fully featured 30-day evaluation licence on first install (licensing, evaluation). Plugin problems go to contact@fluxbilling.app or fluxbilling.app/contact; questions about VirtFusion itself go to VirtFusion support.

Step 1: Create a VirtFusion API token

The plugin sends a VirtFusion admin API token with every request. FluxBilling recommends a dedicated token. VirtFusion’s WHMCS integration guide describes the same screen:

  1. Sign in to VirtFusion as an administrator and open System → API. Some versions of the VirtFusion documentation call this Configuration → API. Click Create Token.
  2. Enter a Name, for example FluxBilling.
  3. Access is optional. If you enter the public IP address your FluxBilling panel connects from, VirtFusion accepts the token only from that address. Leave it empty if you are not sure.
  4. Choose the permissions, then click Create and copy the token. VirtFusion tokens allow every operation except a short list of sensitive ones, which you tick one by one. The plugin needs these seven: Create Server, Build Server, Change Server Package, Delete Server, Reset Server Password, Create User and Authenticate User. Without one of them, VirtFusion refuses the matching action.

Step 2: Install the plugin and connect it

In the FluxBilling admin panel, open Settings (the gear icon), then Integrations → Marketplace, and stay on the Browse tab. Open the VirtFusion card and click Get for Free. FluxBilling confirms with Plugin "VirtFusion" installed and ready to use. The plugin is switched on immediately and appears under Settings → Integrations → Plugins as VirtFusion Provider, marked Active. It installs on every tier.

Click Configure and save these fields:

  • VirtFusion Panel URL — the control server’s HTTPS address, without /api/v1 and without a trailing slash, for example https://vf.example.com. A port and a self-signed certificate are accepted.
  • API Token — the token from step 1 (stored encrypted).
  • Customer Link (External Relation ID) — Customer ID (VirtFusion 6.1+) sends the FluxBilling customer ID as VirtFusion’s relational identifier. Numeric (legacy, pre-6.1) is for older panels. Choose once, before the first server is built, and do not change it afterwards: users created under one mode are not found under the other.
  • Link an existing VirtFusion user with the same email — for a first order when VirtFusion already has an unlinked user with that email, for example one created by WHMCS. This needs VirtFusion 7.1 or newer, never links an administrator, and should be on only if client emails are verified.
  • Let VirtFusion Email Customers — off by default, so customers get FluxBilling’s welcome email rather than two.
  • Termination Grace (minutes) — how long VirtFusion waits before deleting a terminated server (0 is immediate, up to 43,799 minutes, about 30 days).

On the Connections tab, click Test connection. You should see Connected to VirtFusion, or Test failed with VirtFusion’s reason (HTTP 401 for a wrong token). Place one test order with the Customer Link mode you chose before you sell.

Step 3: Create a category and map each package to a product

Open Products, switch to the Categories tab and click Add Category. When asked what the category sells, choose Plugins — not VPS, which is FluxBilling’s own KVM module. Enter a name, under How paid orders are fulfilled click VirtFusion Provider, set Availability to Unlisted while you test or Live, and click Create Category.

Then create one FluxBilling product per VirtFusion package you want to sell. On Configuration, set the Package (CPU, memory, disk and traffic come from it), the Available Locations (hypervisor groups) and the Available OS Images (templates available to that package; end-of-life templates are marked [EOL]). An optional Hostname Template generates the hostname from the service number (vps-{{id}}.example.com); leave it empty to let the customer enter one. Assign IPv6 attaches an IPv6 range at build time if the group has a block. Swap is from 256 MB to 8 GB, or None. The order form always asks for location and operating system. Prices, cycles, taxes, add-ons and location surcharges are set on Pricing.

Customers can only move between products you link on the Upgrade Paths tab. A paid upgrade or downgrade moves the server to the new product’s VirtFusion package. CPU, memory, primary disk size, disk speed limits, traffic allowance and network speeds follow the new package; the backup plan is left as it is. Some changes only take effect after a restart. If VirtFusion refuses, the upgrade is marked as failed. Try this on a test server first, especially a downgrade to a smaller disk.

To sell extra IPv4 addresses, create an option whose slug is additional_ips — VirtFusion Provider, add one choice per total address count (1 is the main address only), leave IPAM allocation unset, and attach it to each VirtFusion product. A different slug is ignored. The add-on applies only at build time; later admin changes update the price, and you add or remove the addresses in VirtFusion yourself.

The invoice drives the server

The rules live under Settings → Billing → Automation:

  • Auto Provisioning builds the server when the first invoice is paid. When it is off, the paid service waits as Pending until staff provision it.
  • Auto Suspension with Suspension Grace: an invoice still unpaid that many days after its due date suspends the server in VirtFusion. Paying it unsuspends the server, once no earlier renewal invoice for that service is still unpaid. A suspension for abuse is not lifted by payment.
  • Auto Termination with Termination Grace: a server still suspended for non-payment that many days later is terminated, which deletes it in VirtFusion.

Termination also runs when a customer’s cancellation takes effect or staff terminate the service. VirtFusion then waits the plugin’s Termination Grace (minutes) before it actually deletes the server; after that it cannot be undone. The customer’s VirtFusion user is kept.

When Auto Provisioning is on and an invoice is paid, the plugin finds or creates a VirtFusion user with the customer’s name and email, creates a server from the product’s package in the chosen hypervisor group, and asks VirtFusion to build it with the chosen operating system, hostname, swap size and, if switched on, an IPv6 range. If the build is refused, the plugin deletes the server it just created, so nothing is left unbilled. FluxBilling then saves the server ID, main IP and the generated root password, marks the service Active, and — with the default templates — emails the IP address and password (Administrator on Windows, otherwise root). The service page shows the server as pending until the OS install finishes. FluxBilling does not rely on callbacks from VirtFusion, so you do not need webhook URLs.

What the customer can do

The FluxBilling service page is filled from VirtFusion: status, hostname, operating system, location, addresses, network details and usage against the package. Disk use inside the guest is shown only when VirtFusion gets it from the guest agent; otherwise that tile is a dash, not zero.

The customer can start, stop, restart or force stop the server, reinstall from an allowed template, reset the root (or Administrator) password, and set or clear PTR records. Backups use VirtFusion’s Backup Manager — list, create and restore — not snapshots, which the plugin does not offer. Console and Control Panel sign the customer into VirtFusion with a 60-second login link, after the plugin checks ownership. Staff can run the same actions. While a service is suspended, those actions and cards are hidden.

IPv4 and IPv6 addresses come from VirtFusion’s own IP blocks, not from FluxBilling IPAM. Each FluxBilling panel connects to one VirtFusion control server.

Test the path before you sell it

Place an order for each product before you sell it, from a test client account on your own FluxBilling tenant, against your own VirtFusion control server. That is the check the official setup guide describes. The order form asks for location, operating system and, unless you set a hostname template, a hostname. It does not ask for a root password: VirtFusion generates it during the build.

If a build fails, the service stays Pending and the error appears in the Automations menu. FluxBilling retries up to two more times; after that, use Retry Provisioning, then Resend Welcome (a retry does not email the customer). Usual causes are a wrong or restricted token (HTTP 401 or 403), no enabled package, an unlinked user with the same email, and not enough free IPv4 addresses or capacity in the chosen group.

To look around FluxBilling first, open the public live demo. It opens the admin and client panels with sample data and no signup, and is not a substitute for a test order on your own tenant.

How this compares with VirtFusion’s official WHMCS module

VirtFusion’s WHMCS Direct Provisioning module (version 2.5, released 8 August 2026, requiring VirtFusion 6.0 or higher) can create, terminate, suspend and unsuspend servers and offers a login bridge into VirtFusion. Its documented order flow is different: the customer orders and pays in WHMCS, then logs in to VirtFusion to set the server up. FluxBilling’s plugin collects location, operating system and hostname at checkout, builds the server when the invoice is paid, and puts power, backups, reverse DNS, usage and a one-click VirtFusion login on the FluxBilling service page.

Neither approach is universally better. If your staff and customers already live in VirtFusion’s own setup screens, or you depend on a WHMCS-only workflow, the official module is the documented path. FluxBilling is the better fit when you want the invoice, the client area and the server lifecycle in one product, or when you also want racks and IPAM in the same database as those invoices.

For a three-way look at the billers that work with VirtFusion, see VirtFusion billing software: FluxBilling vs WHMCS vs Blesta. For FluxBilling against other billers in general, compare FluxBilling with WHMCS, Blesta and other billers, or go straight to FluxBilling vs WHMCS or FluxBilling vs Blesta.

VirtFusion licensing, in brief

VirtFusion’s pricing and licensing pages, read on 20 November 2026 (Europe/Bucharest), describe a per-cluster commercial licence: one key covers the hypervisors you configure on it. Published commercial list prices are monthly, per hypervisor: $1.50 for 1 server, $10.00 for 5, $15.00 for 35, and $18.00 for unlimited servers on that hypervisor. The pricing page also states automatic discounts over the monthly rate of approximately 5% for quarterly, 10% for six-monthly and 15% for yearly terms; it does not publish a separate quarterly price table. Local and standard centralized or distributed storage are listed as free; HA / autoscale storage is $1.00 per TB per month. Non-commercial licences (personal, non-revenue use only) are listed at $50.00 per year or $30.00 per six months. Branding removal is a licence option; we did not read a public price for it. Check the vendor before you buy.

FluxBilling does not replace that licence. Lite starts at €4.95 a month ($5.95) for 10 clients and 5 bare-metal servers, with a 14-day refund, and the plugin is free on every tier.

Frequently asked questions

Do I still need billing software if I use VirtFusion?

Yes, if you invoice customers and suspend servers for non-payment. Official modules exist for several billers; FluxBilling ships one as a free marketplace plugin. VirtFusion also documents self-service billing of its own, including hourly credit balances and resource packs, which may be enough if you only sell VirtFusion resources that way. Its self-service guide currently says third-party billing integrations are not available for hourly billing (resource packs only, and only with WHMCS).

What does the FluxBilling VirtFusion plugin cost?

Nothing. It is free on the marketplace and installs on every tier. Your FluxBilling plan is priced by clients, and by bare-metal servers if you sell those, not by the virtual servers VirtFusion runs. FluxBilling’s own VPS and game-server hosting is a separate €6 ($7) per node per month; that charge does not apply to plugin-provisioned servers. Features and requirements are on the FluxBilling VirtFusion plugin page.

Which VirtFusion version do I need?

The default Customer ID link uses VirtFusion’s relational identifier, added in 6.1. Older panels can use Numeric (legacy) mode. Linking an existing user by email needs 7.1 or newer. VirtFusion listed 7.x as the current stable version on 20 November 2026. One-click login tokens need a commercial licence.

Can I move from a WHMCS + VirtFusion setup?

You can connect FluxBilling to the same VirtFusion control server. If WHMCS already created VirtFusion users, turn on Link an existing VirtFusion user with the same email only after client emails are verified, or link users by hand, and test first. FluxBilling also ships a WHMCS importer for clients, services, invoices, payments and products. It is a one-way, read-only cutover of billing data, not a sync of existing VirtFusion servers.

Try the panel, then test against your own VirtFusion

The live demo opens the admin and client panels with sample data and no signup. To sell VirtFusion packages, pick a tier — Lite is €4.95 a month ($5.95) — connect your control server with the free plugin, and place a test order on your own tenant. If it is not the right fit, the subscription is refundable for 14 days.

VirtFusion is a trademark of VirtFusion Ltd. FluxBilling is not affiliated with VirtFusion Ltd.; the name is used only to say which software the plugin connects to.

Tagged
virtfusion billing setupconnect virtfusion to fluxbillingvirtfusion billing modulefluxbilling virtfusion pluginvirtfusion api token
Written by
Mario Marin
Mario Marin
View all posts →