After configuring the integration, import tariff plans from the selling BILLmanager. To import tariff plans, to go Products → Tariff plans → Import.
For example, to import a tariff for the service "shared hosting", complete the steps below:
- Choose the processing module created earlier from the dropdown menu Processing module. The billing system will download the available tariff plans from that processing module. Press Next.
- Choose Product type for reselling, its Tariff plan and Provider. Press Finish.
When the tariffs are enabled, customers of the reselling billing will be able to order services under those tariff plans.
Other elements imported along with the tariff plan
- Tariff plan Resources.
- Enumerations. If the imported tariff has resources of "Enumeration" type, all enumeartions linked to the resources are imported.
- Operating system templates. Operating system templates available for the tariff are imported from the selling BILLmanager. Templates are only imported for those product types, which have the "Operating system" parameter with internal name of ostempl. In case of default system setup, it includes a virtual server, a dedicated server and a virtual data center. Since all templates in the reselling BILLmanager are linked to one processing module, OS templates allocation to tariff plans is configured additionally. To configure OS templates distribution across tariff plans, go to Products → Product types → Parameters → Operating system → Values.
Special features in tariff plans import
- A tariff, in which order periods in the selling and the reselling BILLmanager do not match, cannot be imported. After completion of import, new order periods can be created in the reselling BILLmanager. Periods correlation can be configured to provide correct operation. Read more about periods correlation in Step 3. Configuration of tariff plans.
- If the selling and the reselling BILLmanager use different currencies, the exchange rate must be set. This is required, because prices of the imported tariff are converted into the main currency of the reselling BILLmanager. If exchange rates are not set, conversion will be impossible and the prices will not be imported.
-
If in the selling BILLmanager the tariffs being imported use values that are not available in the reselling BILLmanager, create them and add them to the tariff. Enter Direcrories → Units of measure → Add.
For example, in the imported tariff the value "TB" is used to calculate the "Traffic" addon. It is not present by default in BILLmanager, so an error may occur after importing a tariff with such an addon. To solve it, in the reselling BILLmanager, you need to create a unit of measure "TB" and set it in the addon configuration.
The imported tariff is linked to the tariff of the selling BILLmanager through the "Internal name" field (intname in the table pricelist within the billing system database). Value in the form of 5-intname is saved in that field, where 5 is the tariff ID in the selling BILLmanager, and intname is its internal name. The field is filled automatically, do not set its value manually to ensure correct operation.