Reselling ISPsystem software via BILLmanager
From ISPWiki
BILLmanager 4.0.40 or later is required for ISPsystem software reselling.
1. Go to the Features module to enable "ISPsystem software".
2. Go to the Item types module to select the "Server required" check box for the Software type .
3.Go to the Server management module to add a new server. Type in BILLmanager(cpbillmgr) as a control panel. Enter a username who may order licenses on my.ispsystem.com, provide my.ispsystem.com as an IP-address.
4. Once completed, check whether it is possible to edit a server through the control panel menu. You will see the following lines in the "Configuration" tab:
Preset 5-ISPmanager Lite Preset 9-ISPmanager Pro
5. Add packages:
Let's consider reselling of ISPmanager Lite (with support) Item type - Software Internal name - 5-ISPmanager Lite Billing type - by ordered period Agreement - Strongly recommended. Otherwise errors may occur when ordering.
6. For a newly created package provide an associated server that has been added on the 3d step.
7. You should add periods for the newly created server. They must correspond to the periods specified in ISPsystem, or some of they may be missing. Those missing in ISPsystem, won't work.
ISPmanager Lite and ISPmanager Pro: trial period - 14 days. 1 month 3 months 1 year lifetime ISPmanager Lite (without support) and ISPmanager Pro (without support): trial period - 14 days. 1 month lifetime
Change of the package is currently not supported.
8. Add a cron job
5 * * * * /usr/local/ispmgr/sbin/cpbillmgr checkevent
9. BILLmanager 4.0.50 now supports order periods that do not correspond to those specified in ISPsystem. For example, if you wish to purchase a 1 month license in your billing, you will be able to purchase a lifetime license in the ISPsystem billing.
To do that you need to create a file [path to the BILLmanager folder (/usr/local/ispmgr)]/etc/cpbillmgr.conf is used by dafault)
File format:
Period[space][Order period in your billing][Space][Period ID in the ISPsystem billing][end of line]
Example:
Period 2 9 Period 3 10
Order period Ids in the ISPsystem billing can be found in the article Ordering ISPsystem software licenses through BILLmanager API
