Skip to content
Impulse SoftwareDOCS
Get modules

ImpulsePlesk

Verified for ImpulsePlesk 1.9.2 ·

Plans & WHMCS products

Plan-based billing with per-plan feature flags. Define hosting plans in the addon (or import them from a Plesk service plan), map each to a WHMCS product, and toggle exactly which features it includes.

Open ImpulsePlesk → Plans & Products. You have two ways to create a plan:

  • Define one — give it a slug, a name, the exact Plesk service plan name, and limits (disk, bandwidth, domains, subdomains, aliases, mailboxes, databases), and tick the per-feature checkboxes it includes.
  • Import from a Plesk server — list the service plans on one of your registered servers and import one (name and limits), or type a plan’s exact name to import it directly.

Each hosting plan maps to a Plesk service plan name, which is what the module applies at provisioning and plan-change time; that Plesk service plan sets the quotas on the server. A plan with no Plesk service plan name can’t create subscriptions (see step 4). The module keeps its own copy of the limits for the client area — import the plan again (Update) to pick up limit changes made in Plesk. The limits live in the module, not in WHMCS configurable options.

Each plan carries a set of per-feature flags, one per client-area feature. A customer on the plan gets the feature’s tab and actions only when its box is ticked:

Flag What it turns on
Email, Databases, SSL / TLS, DNS editor, FTP accounts, Backups, Restore The tab of the same name (Restore: restoring a backup)
PHP settings, Scheduled tasks, Log rotation, Protected directories, Node.js The per-site tool of that name on the Websites tab (Scheduled tasks also needs Settings → Native Features → Scheduled tasks)
Applications The Apps tab’s Softaculous shop — see Applications & WordPress — with Settings → Native Features → Applications (Softaculous), on by default
WordPress The WordPress Toolkit section of the Apps tab
Git The Deploy tab — see Git deployment
SSH access; Full shell (bash) over SSH The SSH tab, with Operations → SSH access → Customers may turn on SSH access; the full shell as a choice on it — see SSH access. Max SSH addresses (default 3) caps the addresses a customer may allow
Cloudflare Tunnel The Cloudflare tab, with one of the two offers under Operations → Cloudflare Tunnel switched on — see Cloudflare protection. Max tunnel hostnames (default 5) caps what a customer may protect

SSH access, the full shell and Cloudflare Tunnel are off on an existing plan until you tick them; the two limits are set on the plan’s edit form. The flags decide what the client area offers; Plesk’s service plan decides what the subscription can use inside the control panel, so keep the two in step.

Which features you can offer at all is set by your ImpulseCore license tier:

Tier Key prefix What it enables
Licensed IPLSK- The full feature set — every plan feature flag can be offered. No server, plan or subscription limits.
Developer IPLSKDEV- Same features, capped for testing: 3 subscriptions — Create, Link Existing Subscription and Repair account relations all stop there, and suspended subscriptions and those in their termination grace count, but a failed Create doesn’t — 2 servers, and 3 plans added with + Add a hosting plan (imported plans count toward it, but importing isn’t capped). Each hosting account is capped too: 1 add-on domain, 2 subdomains, 1 domain alias, 2 mailboxes, 1 database and 30 DNS records. Developer keys aren’t sold with the module.
No key (Standard) — Adds no hosting accounts: Create, Link Existing Subscription and Repair account relations refuse, saying a license is needed, and an order waits until one is added. Subscriptions already under management keep working. Every client-area feature a plan flag controls stays off, and customers can’t add domains.

On a developer key, the client area counts the hosting account’s add-on domains, subdomains, aliases, mailboxes, databases or DNS records on the panel before each add, and refuses one past the limit: This hosting account has reached its limit of mailboxes. Nothing was added. (audited client.dev_limit_reached). A DNS zone import adds records up to the limit and says how many it didn’t add. When the panel’s count can’t be read, the add goes ahead (audited client.dev_limit_uncounted).

Set the key in ImpulseCore → Modules & Licensing → Licenses; ImpulsePlesk reads the cached tier from Core. See Installation & activation for entering the key.

Create a WHMCS product and point it at the module:

  1. Go to System Settings → Products/Services and create a product (or edit one).
  2. On the Module Settings tab, set Module: ImpulsePlesk.
  3. Pick the Hosting Plan from the dropdown — that single field carries the plan’s limits and feature flags. It lists your active plans, so create your plans first: with none, the dropdown offers only a placeholder Starter, and an order for that product then fails (hosting plan starter not found: …).
  4. Leave the product with no required server group. The module resolves the target Plesk server itself, so a WHMCS server group is not needed.

There is no default plan. Create, Retry Provision and Change Package take the plan from the product’s Hosting Plan, or — only when that’s empty — from a configurable option named Plan. With neither, they fail (no hosting plan: …); when the slug matches no plan, they fail with hosting plan … not found: …. A plan with no Plesk service plan name can’t create a subscription (hosting plan … has no Plesk service plan mapped: …), and Change Package refuses to move one onto it; Create still adopts a subscription of the client’s that already exists for the domain on the server it picks (see the next step).

Place a test order on the product and confirm the end-to-end flow:

  1. When WHMCS runs the module’s Create command (per the product’s auto-setup setting), the module picks a server. When a subscription for the order’s domain already exists there, it adopts it only when it’s provably this client’s (below); when there is none, it creates the client’s Plesk customer (named after the client, with their email address) unless that already exists, then creates the subscription on the plan’s Plesk service plan. It stores the generated FTP/system password in Core (only for a subscription it created) and attaches the service to the client’s Core Project.
  2. If Create fails, WHMCS shows the reason (for example no capacity in region … or hosting plan … not found: …), and the service’s page in WHMCS admin shows it as Last error (once a subscription exists, that page also shows its Hosting plan). Fix the cause, then run Retry Provision from the service’s Module Commands, or let the provision cron retry it (below).
  3. Open the service in the client area — the Managed Web Hosting dashboard should render scoped to the customer’s own domain and resources only.
  4. Walk suspend → unsuspend → terminate (a non-destructive fence) → day-7 purge to confirm the lifecycle.

Before it sends a Create, the module records the server it’s sending it to. If no answer comes back (a timeout, or an error from the server), the subscription may still have been made there, so a retry looks on that server first and adopts what it finds there when it’s the client’s; if it isn’t there, the retry places the service as usual. While that server can’t be checked, the service waits, its Last error reading an earlier attempt sent this subscription to server …, which couldn’t be checked for it now, so it was not created on another server …, and the service’s page in WHMCS admin shows the server as Create sent to. If that server is gone for good, tick Stop waiting for this server there and save the service: the next retry places it on another server. Check the old server first — a subscription the earlier Create made there would be left behind. A server removed from Infrastructure or deactivated isn’t waited for, and a Create the server refuses outright isn’t recorded as sent.

One attempt runs at a time per service: a Create, a retry, or a Change Package on a service whose subscription doesn’t exist yet, started while another is running, does nothing (another attempt to create this subscription is running now, so nothing was done …), and the service is retried after that one ends.

On a service whose Create never finished, Change Package creates the subscription instead of failing — but only while WHMCS has the service Active or Pending and it isn’t suspended or in its termination grace; otherwise it fails (service not provisioned yet, and not created now: …).

To bring in a subscription that already exists on one of your servers (created in Plesk, or migrated), create the WHMCS service with the subscription’s domain and run Link Existing Subscription from its Module Commands: it searches every active registered server for that domain and links the first match without creating anything. It goes by the domain alone — it doesn’t check who owns the subscription — so make sure it’s this client’s before you run it. Linking counts toward a developer key’s 3 subscriptions, like Create, and without a license it links nothing. It records the plan the order names for the subscription; when it names none, or a plan that doesn’t exist, the subscription is still linked, but with no plan — so every feature the license allows shows in the client area, and its quotas stay whatever its service plan in Plesk sets — and its Last error reads linked without a hosting plan: … Review this service., with Hosting plan showing none. Select the product’s Hosting Plan and run Change Package to put the subscription on it. A successful Change Package clears Last error; a successful suspend or unsuspend clears it too, except this flag.

Diagnostics → Plan Review lists the services whose hosting plan you should check by hand, and the Dashboard shows how many while there are any. The page only reads: nothing on it changes a service, and nothing is changed for you.

  • On the starter plan, while the product names another — earlier releases put a retried Create, Link Existing Subscription and Repair account relations on a plan called starter when they couldn’t read the plan from the order, and didn’t record where a service’s plan came from. So every service on starter whose WHMCS product names a different plan, or none, is listed — including one you put on starter on purpose.
  • Linked with no plan — subscriptions linked when the order named no plan, or one that isn’t on Plans & Products. With no plan to gate them, their customers see every feature your license allows; the Plesk service plan on the server still sets their limits.

To fix one, check the Hosting Plan in its product’s Module Settings, then run Change Package on the service: the subscription moves to that plan’s Plesk service plan, and the service leaves the list.