Installation and Configuration of Oneprovider Server Automation for WHMCS
Downloading and Uploading to WHMCS
- Download the module from client area at https://secure.whmcsmodule.net/
- Extract the module into your local instance and upload the modules folder into your WHMCS instance
Activating Oneprovider Server Automation Module in WHMCS
- First go to Configuration > System Settings > Addon Modules
- Next to Oneprovider Server Automation
- Activate – Click on Activate to activate the module
- Configure – Now click on configure for module configurations
- Module License – Provide license key that we get during module download
- Access Control – Provide access control based on your requirement whereas Administrator is a mandatory Access control.
- Provide API Key and CLIENT key obtained from Oneprovider (https://panel.op-net.com/api)
- Enable OS Installation/ Rescue Mode - Tick it if you wanted your customer to reinstall the OS
- Disable Windows OS - Since Windows OS are paid OS hence select this to disable the same
- Auto Payment Ordered Invoice – Enable it if you have enough Credit balance in your OneProvider account else whenever an order is placed you need to manually pay the invoice, this is required to make the process of server automated.
Module Configuration – Adding Oneprovider Servers as WHMCS Products/Services
This is required if you wanted to add any specific packages into WHMCS for selling:
- Go to Addons > Oneprovider Servers
- Now click on Server Configs Menu – This will list down all the packages across all the location
- Click on the cart icon () to place the order using Oneprovider website.
- Click on the plus icon () to import the Oneprovider servers into WHMCS as product
- When you click plus icon () a pop-up will appear:
- where you need to select the group where you wanted to add this package
- you need to provide a product name that you wanted for the product
- you need to provide selling percentage, lets say we wanted the Atom server to be sold in Netherlands region at a percentage of 10, then the price would be 11.99 * 10% of it + 11.99 = 13.189 Euro where as the WHMCS price will be automatically converted into your base currency say if base/ default currency is EURO it will be 13.189 Euro else it will be respective USD value.
OP Account Info: This will show you, your Oneprovider account information.
View Invoices: This will show you, your all invoices and upon click on will redirect to you to Oneprovider invoice page where you required to login to do the further action.
Assigning Order Server to your customers:
Please note: If you do have enough balance in your Oneprovider account and you had enabled the auto setup then module will assign and pay the invoice automatically, whereas you can do so manually.
If you ware assigning for the first time:
- You need to load the Home page within addon page located at (Addons > Oneprovider Servers)
- Click on the + icon () which will open a pop-up and here you need to select the user who owns the server and submit it to auto assign the product.
- Once the user is assigned you will see that the user details shown in the addon page
- When you click on assigned user link under “Assigned to” it will take you to user’s product services tab and the page where you can perform various actions:
Configuration of Product/Services
- In order to create a product, we need to first Navigate into Configuration > System Settings > Product/Services
- Now let’s create a product group, click on Create Product Group
- In next page provide a Product Group name and adjust all other things based on your requirement then click on Save Changes
- Now Create a New Product
- In the next you need to configure below details
- Product Type – Server/VPS or Other, we recommended to select type as Other, because during order process your customer will not promoted to provide Hostname, Password, NS1 & NS2 prefix. If Sever/VPS selected then your customer will be prompted to provide these details.
- Product Group – Select the product group that we created
- Product Name – Provide your product name
- Module – Oneprovider Server Automation
- Create as Hidden – Off
- Save Change - Once the above required filed is set click on Save changes
- In next page
- Verify – Product Type
- Welcome Email – Select “Oneprovider Dedicated Server Order” Welcome Email or any custom template in case you wish to provide Windows VM
- Module Settings – Select Module Settings Tab
- In Modules Settings Tab select below required details
- Plan ID – You can get it from Addon Module page (Which gets automated added) or if you open https://oneprovider.com/dedicated-servers/1gbps (say) and copy the link of any plan (Configure) which became https://oneprovider.com/configure/dediconf/2833 and the value 2833 is the Plan ID
- Custom Fields – You can verify but not required to do any changes
Error Encountered – Any other error, Enable Module logging and share the log over ticket.
How to change the language
- Rename/Copy "whmcsdir/modules/addons/Oneprovider/lang/Your_Lang.php" file to "whmcsdir/modules/addons/ Oneprovider /lang/dutch.php"
- Rename/Copy "whmcsdir/modules/servers/ Oneprovider /lang/ Your_Lang.php" file to "whmcsdir/modules/servers/ Oneprovider /lang/dutch.php"
- Now translate content of the PHP files based on your language
Upgrading from previous version
As we do not have lot of changes please follow below steps, if upgrading from previous version:
- Download the module zip file from our website and extract into your WHMCS or check the installation step or simply replace
- Navigate to System Settings > Addon Modules > Done
Look and Feel – Custom template adjustment
If you find any look and feel adjustment required, we can do it but it will be an addon service and chargeable. If you do not want to pay then you free to adjust within the given template (tpl) and CSS files to make it feel good with your template.