The BILLmanager integration module is used when both providers for sale use BILLmanager. Using the integration module "BILLmanager" you can resell the following types of services:

  • Ispmanager licenses

  • SSL certificates

  • Module licenses

How reselling works

When a service is ordered, a new operation is created in the reselling BILLmanager and a new task is linked to that operation. The operation status is available in ToolsRunning operations. The task status is displayed in ToolsTasks. Reselling operations and tasks must specify the number of Products/Services

Do not take any actions with reselling operations or tasks in ToolsRunning operations and ToolsTasks. BILLmanager will process them automatically.

An operation to enable or extend the service involves sending a corresponding request to setup the service in the selling BILLmanager. After the service has been processed by the selling billing system, the reselling BILLmanager will be informed by means of the event mechanism:

Cron job

## BILLmanager get item events from remote BILLmanager
*/5 * * * *	/usr/local/mgr5/sbin/mgrctl -m billmgr checkevent >/dev/null 2>&1
CODE

If automatic processing of operations failed, the job will not be created. Check the account balance in the selling BILLmanager and make sure it is available to the reselling billing system. When these problems have been solved, restart the reselling operation: ToolsRunning operationsStart

All changes made to the service in the selling BILLmanager are translated via the event mechanism: change in parameters, resources, service enabling/disabling etc. Therefore, the reselling BILLmanager will always have up-to-date information on the services.

License as a separate service


You can resell licenses as a separate service just like any other service. Read more in Integration with the BILLmanager.

During setup of the processing module, choose ispmanager licenses and enter the address of ispmanager BILLmanager in URL field: https://api.ispmanager.com. For integration, use the account of the customer, who will be able to buy licenses, in the selling BILLmanager.

License bundled with the tariff


"Control panel" addon can be enabled for tariff plans of "VPS" and "Dedicated server" type. A license for the user selected control panel can be ordered automatically when a service with such addon is being processed.

To resell ispmanager licenses, you need to set up a processing module of "BILLmanager" type.

License reselling is implemented through a special processing module configured for integration with ispmanager BILLmanager. This processing module is linked as a license server to other processing modules governing integration with DCImanager/VMmanager.

You can resell licenses only for predefined tariff plans in ispmanager. To link the reselling BILLmanager to these tariff plans, use a special entity - enumeration. For addition to "Control Panel" use the enumeration "Server Control Panel".

Enumerations

Navigate to Products Enumerations ValuesAdd.

In the Internal names field enter the id of the license tariff plan from the licensing server (BILLmanager).

The following internal names are used for ordering software licenses in ispmanager BILLmanager:

Version

pricelist

Ispmanager 6 Trial

55239

Ispmanager 6 Business Trial

55240

Ispmanager 6 Lite

55227

Ispmanager 6 Pro

55228

Ispmanager 6 Host

55229

Ispmanager 6 Business

55230

The configured enumeration is linked to the "Control panel" addon of the tariff plan. Now the customer can specify the desired control panel when ordering, and the license will be allocated automatically when the order is processed.

To configure DCImanager/VMmanager processing modules, choose the "BILLmanager 5" processing module created earlier in License server.

The tariff needs to have a "Control panel" type addon, value type — "Enumeration", and must be linked to the enumeration "Control panel" created earlier. Prices must be set for each enumeration value.