Troubleshooting WHMCS Integration
Symptoms
When creating an order in WHMCS, error messages appear stating "curl:String could not be parsed as XML" or "Error executing module command: Cannot find preset!".
Causes
- A version of WHMCS below 8.0 is used.
- The user has two-step authentication enabled in ispmanager
- The user has IP address restriction enabled in ispmanager
- SSL connection is configured incorrectly
- Connection to the standard
1500
port is restricted. Proxying via a domain (website) is used to access the panel. - Difference between template names in ispmanager and in WHMCS
- The integration is created via "ispmanager reseller" module in the lite, pro and host panel versions.
- WHMCS connection settings contain both IP address and domain name (Valid for module versions released before 02.02.2024)
- User template is not created in the ispmanager panel
Solution
A version of WHMCS below 8.0 is used
The integration module was tested with the 8.x WHMCS version. Make sure that WHMCS version is not below 8.0. We recommend using the current minor release version.
The user has two-step authentication enabled in ispmanager
Go to the user settings in the ispmanager panel under the user that integration is configured for. Disable the two-step authentication.
The user has IP address restriction enabled in ispmanager
Go to the user settings in the ispmanager panel under the user that integration is configured for. Add the IP address of the WHMCS server to the list of allowed IP addresses or disable IP restrictions completely.
SSL connection is configured incorrectly
In the WHMCS connection settings, in the "Servers" section, activate the "Enable SSL connection" option.
Connection to the 1500 port is limited, proxy is used to access the panel
In case proxying via a domain (website) is configured to access the panel, specify port 443
in the WHMCS connection settings in the "Servers" section.
Difference between template names in ispmanager and in WHMCS
Make sure that tariff names in WHMCS in the "Products/Services" section match user template names in the ispmanager panel in the "Users" - "Templates" section. It's also possible to configure only WHMCS tariffs without creating templates in the ispmanager panel.
Integration via the "ispmanager reseller" module for lite, pro, host panel versions
Currently, the "ispmanager reseller" module works in the business version only. It's required to use the "ispmanager reseller" module only in the business panel version. The "ispmanager" module can be used in any version of the panel.
WHMCS connection settings contain both IP address and domain name
Valid for module versions released before 02.02.2024. In the WHMCS connection settings, in the "Servers" section, remove the IP address and leave only the domain name. The integration will work in any case, but it is best to specify only the domain if it exists to facilitate correct operation of the HTTPS connection.
User template is not created in ispmanager
First, create a user template in the panel. Then, specify its name in the "Package name" field in the tariff settings.