AccelerateWP Addon for WHMCS automatically configures "Configurable options" that can be linked to the Product/Service.
When a client orders/upgrade a configurable option, a request will be sent to the server to set the Allowed/Default status for AccelerateWP Premium features.
wget -q https://repo.cloudlinux.com/plugins/whmcs-awp-plugin-latest.zip
<whmcs_root>/modules/addons
folderunzip whmcs-awp-plugin-latest.zip -d <whmcs_root>/modules/addons
<whmcs_root>/modules/addons/acceleratewp
During addon activation, "Configurable options" AccelerateWP are created automatically (System settings/Configurable Option/Group name "AccelerateWP")
Notes
Don't change the name of the group, options and sub-options!
In the AccelerateWP group settings, you need to configure:
In the option price settings, there are two options, On and Off. Adjust prices as you see fit.
Set up your service to work with "Configurable options" in the "System settings/Products/Services".
In case the configurable options "AccelerateWP" were accidentally removed, you can re-install them on the AccelerateWP addon settings page.
The table shows the queue and history of requests to the servers for which the AccelerateWP status change will be applied.
Note
Deactivating the addon will delete the table with the history of AccelerateWP activity on the servers.
Column | Description |
---|---|
Service | What customer service does the zarpos refer to. |
Suite | For which product the status will be changed. * Last status: previous status * Current status: current service status * Will set status: What status will be set. Depending on the selected configurable option "AccelerateWP" and the status of the users's service, the status may differ. |
Message | The last message about the operation. A detailed error may be displayed. |
Queue | Availability of a queue for executing a cron request |
Action | Send request manually |
An example of a request that will be executed by cron
An example of a request that failed
Example of a successful request
The addon tracks the change in the order and services of the client.
For those client services that have the configurable options "AccelerateWP", a request is sent to the server to change the status of AccelerateWP products.
Requests are sent by cron once at the beginning of every minute. If the request fails, there will be a retry after 3 seconds.
Information about the servers to which requests were sent can be viewed on the addon page.
If an error occurs, you will be able to retry the request on the addon page.
The AccelerateWP module enters the "Allowed" status when the client service's status is set to "Active" and the configurable options "On" is selected. In other cases, the status will be set to "Default" and the feature will be turned off for user.
Parameters can be used to determine the billing account of the user in order to display proper page. WHMCS plugin already has automatic redirect to upgrade page, there is only needed to set upgrade-url to the root of your WHMCS instance.
https://your.whmcs.com/?m=acceleratewp&action=provisioning&username=democom&domain=demo.com&server_ip=10.51.0.10
Parameter | Value | Description |
---|---|---|
m | acceleratewp | Constant. |
action | provisioning | Constant. |
username | democom | Customer's account name. |
domain | demo.com | Customer's account primary domain. |
server_ip | 10.51.0.10 | Primary IP of the server where AccelerateWP is installed |
The extension adds the ability to execute the accelerate-wp-admin set-suite
command to the Plesk XML API.
Do not install it if you are not using AccelerateWP WHMCS billing integration.
Note
Requires Plesk version 17.0 or higher
The Plesk extension is available since accelerate-wp-1.3-2 version
/usr/sbin/plesk bin extension -i /usr/share/cloudlinux/plesk-accelerate-wp-latest.zip
/usr/sbin/plesk bin extension --enable accelerate-wp
/usr/sbin/plesk bin extension -u accelerate-wp