W H M C S M O D U L E
N E T W O R K S

WELCOMES YOU!!

WHMCSModule Networks - Documents

Category - Oneprovider Modules

Installation and Configuration of Oneprovider Server Automation for WHMCS

Downloading and Uploading to WHMCS

  1. Download the module from client area at https://secure.whmcsmodule.net/
  2. Extract the module into your local instance and upload the modules folder into your WHMCS instance

Activating Oneprovider Server Automation Module in WHMCS

  1. First go to Configuration > System Settings > Addon Modules
  2. 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:

  1. Go to Addons > Oneprovider Servers
  2. Now click on Server Configs Menu – This will list down all the packages across all the location
  3. Click on the cart icon () to place the order using Oneprovider website.
  4. Click on the plus icon () to import the Oneprovider servers into WHMCS as product
  5. 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:

  1. You need to load the Home page within addon page located at (Addons > Oneprovider Servers)
  2. 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.
  3. Once the user is assigned you will see that the user details shown in the addon page
  4. 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

  1. In order to create a product, we need to first Navigate into Configuration > System Settings > Product/Services
  2. Now let’s create a product group, click on Create Product Group
  3. In next page provide a Product Group name and adjust all other things based on your requirement then click on Save Changes
  4. Now Create a New Product
  5. 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
  6. 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
  7. In Modules Settings Tab select below required details
  8. 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

  1. Rename/Copy "whmcsdir/modules/addons/Oneprovider/lang/Your_Lang.php" file to "whmcsdir/modules/addons/ Oneprovider /lang/dutch.php"
  2. Rename/Copy "whmcsdir/modules/servers/ Oneprovider /lang/ Your_Lang.php" file to "whmcsdir/modules/servers/ Oneprovider /lang/dutch.php"
  3. 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:

  1. Download the module zip file from our website and extract into your WHMCS or check the installation step or simply replace
  2. 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.