← Paymenter integration

Customer billing · Setup guide

Set up Paymenter

Add the server extension, configure a product and choose whether customers select a quantity.

Ask for the matching package →
Package
vpn_dashboard_paymenter.zip
Install in
extensions/Servers/VpnDashboard
Provider key
paymenter

01

Install the files

  1. Obtain the package matched to your dashboard version before installing.
  2. Extract it and copy VpnDashboard into extensions/Servers in your Paymenter installation.
  3. Create a Paymenter server using the VPN Dashboard extension.

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 paymenter, 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 paymenter, run the extension connection check and add the Paymenter server public IP to the billing API allow-list.

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

03

Configure the VPN product

  1. Open the product Server tab, select the VPN Dashboard server and save the extension settings for that product.
  2. Set the default, minimum and maximum profiles. Enable Let customers choose quantity only when checkout should display the module’s profile field.
  3. Choose protocols and shared or dedicated access. Monthly traffic, WireGuard key rotation, support tier and dedicated server count are also set on the product.

04

Add customer sign-in

An active Paymenter service includes an action that opens the customer VPN area using a five-minute signed link. The link 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 keypaymenter
Must match the provider key on the billing connection and customer sign-in settings.
Product settings10 fields
Default profiles50 by default
Used when checkout does not supply a profile quantity.
Minimum profiles1 by default
The lowest quantity accepted from checkout.
Maximum profiles10,000 by default
The highest quantity accepted from checkout.
Let customers choose quantityOff by default
Adds a profile quantity field to Paymenter checkout.
Server accessShared or dedicated; shared by default
Controls whether the service uses your shared VPN server pool or waits for dedicated capacity.
Dedicated servers1 by default
Used only when Server access is set to dedicated.
VPN protocolsBoth, WireGuard only or OpenVPN only
Sets which profile types the customer can create. Both protocols are enabled by default.
Monthly traffic (GB)Optional
Optional allowance in GB. Blank omits the limit and keeps any existing allowance; configured dashboard product mappings take precedence.
Profile rotation (days)Optional
The plan’s WireGuard key rotation interval. Customers must import the new configuration; OpenVPN credentials are not rotated by this setting.
Support tierstandard by default
A lowercase plan key sent with the service. Change it only when matching tiers exist in your dashboard.

Where the settings are stored

Paymenter and the dashboard keep separate responsibilities.

Server
Is Paymenter’s connection to VPN Dashboard. It stores the dashboard address and credentials and can be shared by several products.
Product Server settings
Come from the extension’s product configuration and define the default profile limit and plan restrictions.
Checkout configuration
Is generated by the extension only when Let customers choose quantity is enabled. The submitted value becomes a service property and is bounded by the product minimum and maximum.
Service
Is the product bought by the customer. Its Paymenter service ID ensures that creation, upgrades, suspension and cancellation update the same VPN service.

What Paymenter does automatically

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

Create service
Paymenter calls createServer when the order is ready. The extension creates the VPN service and saves its state.
Upgrade service
upgradeServer sends the current product settings and service properties to update the same VPN service.
Suspend or unsuspend service
Paymenter calls the matching server-extension method and the integration changes access on the existing service.
Terminate service
terminateServer cancels VPN access for the Paymenter service.

Test a Paymenter order before launch

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

  1. Run the connection check on the Paymenter server before selecting it on a product.
  2. Order a product with the fixed default and confirm the resulting service has that profile limit.
  3. Enable Let customers choose quantity, place another order and test both ends of the allowed range.
  4. Change a product or service property and confirm Paymenter’s upgrade action updates the same service.
  5. Run suspend, unsuspend and terminate from Paymenter and verify each state in VPN Dashboard.
  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.

Server is not available on the product
Confirm the extension directory name is VpnDashboard, the extension is loaded and a VPN Dashboard server record has been created under Products, Servers.
Checkout does not show a profile field
Open the product Server tab and enable Let customers choose quantity. Paymenter’s general quantity toggle is a different setting.
Upgrade keeps the old profile limit
Check the service properties saved at checkout and make sure Paymenter ran the extension’s upgrade action.

Paymenter notes

  • A dedicated service can request one or more dedicated servers and remain pending until capacity is assigned.
  • The checkout quantity field is only added when Let customers choose quantity is enabled.
  • Paymenter’s general Allow Quantity setting changes cart quantity; the module’s Let customers choose quantity setting controls the VPN profile field.
  • Credentials belong to this provider connection. Do not reuse another platform’s API token or signing secrets.