refine-logowith

Enable API access in OpenAdmin

First make sure that API access is enabled by going to OpenAdmin > API or by running opencli config get api from the terminal.
InstructionsWhitelist on Firewall

FOSSBilling server needs to be able to connect to OpenAdmin on port 2087, whitelist both servers: csf -a SERVER_IP.
InstructionsInstall OpenPanel Server Manager

SSH to your WHMCS server and inside the directory where FOSSBilling is installed run this command to download the module: wget -O library/Server/Manager/OpenPanel.php https://raw.githubusercontent.com/stefanpejcic/FOSSBilling-OpenPanel/main/OpenPanel.php.
InstructionsSetup Server

From FOSSBilling System > Hosting Plans click on New Server and under server manager select openpanel then add server IP, username and password for the OpenAdmin.
InstructionsCreate Hosting Plans

From FOSSBilling System > Hosting plans and servers click on New hosting plan and set the plan name to match that from OpenAdmin.
InstructionsAssign Server to Product

From FOSSBilling Products > Products & Services click on Edit for a plan and set it to match plan on openadmin.
InstructionsTest

Create a new order on FOSSBilling to test if the OpenAdmin API account provisioning is functioning properly.
InstructionsSupported Billing Integrations