Plesk is an excellent control panel, but it does not bill anyone. If you sell hosting on Plesk without a billing system connected to it, every new client means creating a subscription by hand, every unpaid invoice means remembering to suspend it, and every cancellation means someone eventually deleting it. That works for ten clients. At a hundred, things start slipping.
This guide explains what Plesk billing automation does, how the connection works, and how to set it up so it runs without you.
What "automation" should cover
A billing system connected to Plesk should handle the whole lifecycle of a subscription, not just its creation:
| Billing event | What happens in Plesk |
|---|---|
| Order paid | Customer and subscription created on the right server, with the service plan and domain |
| Invoice overdue past your grace period | Subscription suspended |
| Overdue invoice paid | Subscription unsuspended |
| Upgrade or downgrade | Service plan changed |
| Password reset from the client portal | Password changed in Plesk |
| Cancellation or long non-payment | Subscription removed |
If any of these still needs a person, you have partial automation and a to-do list.
How the connection works
Plesk exposes an API for creating customers, subscriptions and domains. The billing system holds an API key for each Plesk server and calls it when a billing event happens.
The reliable way to do this is through a queue, not a direct call. When Stripe or PayPal confirms a payment, the billing system records it and puts a provisioning job on a queue. A worker then talks to Plesk. If the server is slow or unreachable, the job retries with increasing delays instead of failing the checkout. Every attempt is logged, so when something does fail you can see why and run it again.
We explain the full flow in From paid invoice to live hosting account.
Setting it up in Hostinvo
Hostinvo has a native Plesk driver. The setup takes a few steps:
- Create an API key on the Plesk server. As root, run
plesk bin secret_key --create -description "Hostinvo"and copy the key it prints. - Add the server under Servers, choose Plesk API Key as the sign-in method, paste the key and click Test Connection. You should see "Connection succeeded".
- Link your products to the server and a Plesk service plan. Hostinvo can also create service plans on the server for you.
- Set your billing rules: invoice generation days, grace period, when to suspend and when to terminate.
- Place a test order with a test payment, then watch the job in the provisioning log and check the subscription in Plesk.
From then on, payment confirmations, overdue invoices and cancellations drive Plesk without anyone opening the panel. Every lifecycle action is also a button on the service page, so you can still act by hand when you need to.
The step-by-step server guide is in the documentation.
Five things to check before going live
- Service plan names match. The most common failure is a product pointing at a plan name that does not exist on that server.
- The API key has the rights it needs to create customers and subscriptions, and is not tied to a user who might be removed.
- Your grace period is what you want. Suspending a client a day after the due date is legal but rarely good business.
- Emails are on. The client should receive their login details the moment the account exists.
- Failures are visible. Someone should look at failed jobs daily until you trust the setup.
Moving existing Plesk clients
If you already have clients on Plesk, you do not need to recreate their subscriptions. Import or create the client and service records in the billing system, then link each service to its existing subscription on the server. From the next renewal, billing and Plesk stay in step.
Moving from WHMCS? The WHMCS importer brings clients, products, services and invoices across; you then link the imported services to your Plesk servers.
Why this matters for a small host
Automation is not only about saving time. It removes the errors that cost money: the client who was never suspended and stopped paying months ago, the new client who waited until morning for an account, the cancelled site still using disk space. For a provider with a few hundred clients, those add up to more than any software licence.
Hostinvo is built Plesk-first, runs on your own server and costs from $14 a month. You can start a free trial and connect a Plesk server in a few minutes. cPanel/WHM automation is in testing and will follow.
Plesk is a trademark of WebPros. Hostinvo is independent and not affiliated with Plesk.
