- Package
- vpn_dashboard_woocommerce.zip
- Install in
wp-content/plugins/vpn-dashboard- Provider key
woocommerce
01
Install the files
- Obtain the package matched to your dashboard version before installing.
- Upload the plugin in WordPress, or copy vpn-dashboard into wp-content/plugins.
- Activate VPN Dashboard for WooCommerce and open WooCommerce, VPN Dashboard.
The package and dashboard must support the same billing and customer sign-in contract.
02
Add the dashboard connection
- In VPN Dashboard, open Settings → Billing integrations, save a connection for woocommerce, then generate its API token and SSO secret. Use a separate webhook signing secret.
- Enter the HTTPS address of your dashboard.
- Enter the billing API token, SSO signing secret and webhook signing secret from the matching billing connection in VPN Dashboard.
- Keep the provider key as woocommerce, add the WordPress server public IP to the billing API allow-list and use Test connection.
Use woocommerce for the module, billing connection and customer sign-in settings.
03
Configure the VPN product
- Edit a simple or variable product, open Product data and enable VPN Dashboard product.
- Set Profiles per unit and choose shared or dedicated server access. Each variation can keep or replace the parent product’s values.
- For recurring access, use an official Woo Subscriptions product. The integration keeps the same VPN service through renewals instead of creating another one.
04
Add customer sign-in
When enabled, WooCommerce My Account shows a VPN service link that opens the customer VPN area through a signed URL. 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 settings6 fields
Product settings5 fields
Where the settings are stored
WooCommerce and the dashboard keep separate responsibilities.
- Product or variation
- Marks an item as a VPN product and sets profiles per unit. A variation can replace its parent values.
- Order line item
- Represents one purchased VPN product. For one-off orders, the module saves the VPN Dashboard service ID with the item and multiplies profiles per unit by quantity.
- Subscription item
- Represents recurring access when Woo Subscriptions is active. It keeps one VPN Dashboard service across its initial order, renewals and switches.
What WooCommerce does automatically
When the service changes in WooCommerce, the module makes the same change in VPN Dashboard.
- Order processing or completed
- Creates or updates one-off access. Orders containing a subscription are left to the subscription hooks to avoid duplicate services.
- Order on-hold or failed
- Suspends one-off access while payment is unresolved.
- Order cancelled or refunded
- Cancels one-off access for the affected line items.
- Subscription active or on-hold
- Creates or restores access when active, and suspends it when on-hold.
- Subscription cancelled or expired
- Cancels recurring access. A pending-cancel subscription remains active until Woo Subscriptions changes it to cancelled or expired.
- Completed subscription switch
- Reconciles changed products, quantities and variations against the existing subscription service.
Test a WooCommerce order before launch
Test the exact platform version and product settings you intend to use.
- Buy a one-off VPN product and confirm its processing order creates one service per eligible line item.
- Buy more than one unit and confirm the profile limit equals Profiles per unit multiplied by the ordered quantity.
- Set different values on a variation and confirm they are used instead of the parent product’s values.
- With Woo Subscriptions, test active, on-hold and active again against the same subscription service.
- Cancel a test subscription and confirm access remains during pending-cancel, then ends when Woo marks it cancelled or expired.
- 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.
- Order creates no access
- Check that VPN Dashboard product is enabled on the purchased product or variation and that the order reached processing or completed.
- Subscription creates duplicate access
- Confirm Woo Subscriptions is active and the order contains a recognised subscription; subscription orders are deliberately handled by subscription hooks.
- Account setup failed
- Read the order note, correct the connection or product value, then select Retry VPN Dashboard provisioning from the order actions.
WooCommerce notes
- Quantity multiplies Profiles per unit. The total per order or subscription item must not exceed 10,000.
- Automatic renewals, suspensions and cancellations require Woo Subscriptions.
- A failed account setup is shown in the order notes and can be tried again from the WooCommerce order actions.
- Credentials belong to this provider connection. Do not reuse another platform’s API token or signing secrets.