Fleio WHMCS module¶
Install Fleio WHMCS module¶
After installing Fleio backend and frontend, we need to integrate with our WHMCS platform.
Let’s assume that your WHMCS instance is installed in
tar xf fleio-whmcs.tar.gz
mv fleio-whmcs /var/www/yourdomain/client/modules/servers/fleio
cp /var/www/yourdomain/client/modules/servers/fleio/fleioaddcredit.php /var/www/yourdomain/client/
We need now to create an authentication token that will be used by Fleio WHMCS module.
We will do that from Django Admin panel that we configured in Fleio Installation section
http://myadmin/backend/admin/ and login with your admin user.
After logging in click on
Tokens under Auth Token section, then on ADD Token from top right corner, select your admin user and click Save.
Under Key column you will notice that a token was issued, for example
455a8ae06a4de0960f095c44dc2d3d0a7c101c956f. We will need this Token in the next section.
Configure Fleio WHMCS module¶
Login to WHMCS as admin and create a new product from: Setup -> Product/Services -> Product/Services -> Create New Product
Under Module Settings on the new product page, select the Fleio module
Specify in Fleio Token field the token that we have generated earlier, in our case is
Frontend URL is the url of the frontend for client, in our case we have configured it to
Frontend admin URL is the url of the frontend for staff only, in our case we have configured it to
Backend admin URL is the url of the backend API for staff API, in our case we have configured it to
Set the Maximum and Minimum amounts (these are used to limit the amount a user can pay for this service)