St3ix Docs

Billing

Connect WHMCS or Paymenter. Invoices, services and due dates in the panel, automatic suspension, credit and revenue.

Stratum talks to WHMCS or Paymenter through their API. Customers see their invoices and due dates where their servers are; staff see customer details on the admin user page.

Connect

Open the settings

Stratum → Billing → Settings. Pick WHMCS or Paymenter and enter the address of your billing system.

Add the API access

  • WHMCS: API identifier and secret (Setup → Staff Management → API Credentials). An access key is optional and only needed when your WHMCS limits the API to certain IPs.
  • Paymenter: an API token with access to users, invoices, services and credit.

Keys are stored encrypted and never shown again; the page only says whether one is set.

Test

Test connection shows whether the panel reaches the billing system.

How accounts are matched

  • Users are linked by email address. Turn on Auto link and a user is linked the first time they open a billing page. You can also link by hand on the admin user page (tab Billing).
  • Servers are linked by their external ID. The Pterodactyl modules of WHMCS and Paymenter set it when they create a server. You can also set the service by hand on the server's billing tab.

What users see

Each part has its own switch under Settings:

  • Invoices: list, status, pay link, and the invoice as PDF or Word (see Invoices).
  • Services: what they rent and when it renews.
  • Credit: their balance.
  • Due date on the server: a small notice on the server page before it runs out.
  • Sign in to the billing area: one click to the customer area (WHMCS only; Paymenter users land on the page and sign in there).

Automation

  • Sync expiry: the service's due date becomes the server's expiry date.
  • Suspend overdue: a server whose invoice is overdue is suspended, and unsuspended once it is paid. Also on cancel suspends cancelled or terminated services too.
  • The sync runs at the interval you set (default 15 minutes). The Overview tab shows the last run.

For staff

  • Admin user page → Billing: customer, invoices, services, credit.
  • Create invoices and give credit from there.
  • Billing → Overview: revenue and open invoices of all customers.

Each of these has a permission, so billing staff do not need full admin.

Suggestions

Connect, press Test connection, then open one test user on the admin side and check that the right customer shows up before you turn on Suspend overdue.

On this page