← Clientexec integration

Customer billing · Setup guide

Set up Clientexec

Install the server plugin, add the connection and attach it to a Clientexec package.

Ask for the matching package →
Package
vpn_dashboard_clientexec.zip
Install in
plugins/server/vpndashboard
Provider key
clientexec

01

Install the files

  1. Obtain the package matched to your dashboard version before installing.
  2. Extract it and copy vpndashboard into plugins/server in your Clientexec installation.
  3. Add a server using the VPN Dashboard server plugin.

The package and dashboard must support the same billing and customer sign-in contract.

02

Add the dashboard connection

  1. In VPN Dashboard, open Settings → Billing integrations, save a connection for clientexec, then generate its API token and SSO secret. Use a separate webhook signing secret.
  2. Enter the HTTPS address of your dashboard.
  3. Enter the billing API token, SSO signing secret and webhook signing secret from the matching billing connection in VPN Dashboard.
  4. Set the provider key to clientexec, run Test Connection and add the Clientexec server public IP to the billing API allow-list.

Use clientexec for the module, billing connection and customer sign-in settings.

03

Configure the VPN product

  1. Create or edit a Clientexec package, select the VPN Dashboard server plugin and assign the configured server.
  2. Set Default Profiles, Minimum Profiles, Maximum Profiles and Server Access Type in the plugin’s package settings.
  3. If the order form lets customers choose the number of profiles, use profile_limit, vpn_profiles, profiles or profile_count so the plugin can read it from the user package.

04

Add customer sign-in

Clientexec exposes a direct customer action that opens the customer VPN area through a signed link. The link expires after five minutes and can be used once. The customer must already have a provisioned billing account and an active service; no separate dashboard password is issued.

Keep the SSO signing secret private. Change it in both systems if it is ever exposed.

Connection and product settings

Connection settings apply to the module. Product settings apply to each plan.

Connection settings5 fields
Dashboard URLRequired HTTPS address
The address of your VPN Dashboard installation, without an API path.
Billing API tokenRequired secret
Copy the token from the matching billing connection in VPN Dashboard.
SSO signing secretRequired, at least 32 characters
Signs the short-lived link that takes a customer from their billing account to the VPN area.
Webhook signing secretBlank or at least 32 characters
Signs write requests from the module. Leave it blank only when the billing server IP is enforced through the API allow-list.
Provider keyclientexec
Must match the provider key on the billing connection and customer sign-in settings.
Product settings5 fields
Default profiles50 by default
Used when the order does not supply a custom quantity.
Minimum profiles1 by default
The lowest profile quantity the plugin accepts.
Maximum profiles10,000 by default
The highest profile quantity the plugin accepts.
Server accessShared or dedicated; shared by default
Dedicated services wait for dedicated VPN server capacity.
Order-form quantityOptional profile quantity
Clientexec can supply the quantity through a recognised field such as profile_limit or vpn_profiles.

Where the settings are stored

Clientexec and the dashboard keep separate responsibilities.

Server plugin
Holds the protected VPN Dashboard connection and advertises the Create, Update, Suspend, UnSuspend and Delete actions to Clientexec.
Package settings
Define the default and permitted profile limits plus shared or dedicated access for every customer who buys the package.
User package
Is the customer’s service. Its ID links the package to the same service in VPN Dashboard and is used for direct customer sign-in.

What Clientexec does automatically

When the service changes in Clientexec, the module makes the same change in VPN Dashboard.

Create
Creates active VPN access and stores the dashboard service reference on the user package.
Update
Sends the current user-package values and status to the same VPN Dashboard service.
Suspend or UnSuspend
Changes access on the existing VPN service.
Delete
Cancels VPN access before Clientexec removes the package service.
Direct link
Generates a fresh signed customer-area URL; the plugin exposes the same action to customers and administrators.

Test a Clientexec order before launch

Test the exact platform version and product settings you intend to use.

  1. Run Test Connection on the server plugin and confirm Clientexec saves its token and signing secrets as encrypted values.
  2. Create a user package and confirm the Create action links VPN access to that package ID.
  3. Supply a recognised order-form quantity and confirm it replaces Default Profiles within the package bounds.
  4. Use Update after changing the package profile limit, then test Suspend and UnSuspend against the same service.
  5. Open the direct customer action and confirm Delete cancels access when the user package is removed.
  6. Open a fresh customer sign-in link and verify that it reaches the correct account after activation.

When an account change does not reach VPN Dashboard

Start with the order or service that should have sent the change.

Create is the only available action
Check the user package status. Pending services offer Create; the other actions become available after activation.
Custom quantity is ignored
Confirm the value is present on the user package under profile_limit, vpn_profiles, profiles or profile_count.
Plugin does not create access
Confirm Clientexec supports encrypted plugin password fields. The module will not send credentials unless it can verify that Clientexec stores them securely.

Clientexec notes

  • Clientexec must support encryptable server-plugin password fields.
  • The plugin uses the package service ID to find the same service in VPN Dashboard.
  • Available module actions change with the user package status: pending packages offer Create, active packages offer Update, Suspend and Delete, and suspended packages offer Update, UnSuspend and Delete.
  • Credentials belong to this provider connection. Do not reuse another platform’s API token or signing secrets.