Integrating with your site
From ISPWiki
BILLmanager provides a large number of methods for integration with your web-site.
- 1. Place special links on your web-site site to redirect a user to the billing system.
By specifying different parameters, you can add more operation that your users may perform in the billing panel. For example
https://my.exmaple.ru/manager/billmgr?func=register&welcomfunc=vds.order&welcomparam=price=114
This will redirect a user to the billing registration form, open a VPS order form, and offer to select a package with code 114.
- 2. Сreate a custom skin for your control panel to look like your web-site (alternatively, you can paint our skin into your colors)
- 3. Your scripts can perform simple operations for calling billing functions.
- 4. Use a custom authorization form. Examples of the HTML code can be found at http://forum.ispsystem.com/ru/showthread.php?t=6675
For example, if you do not like our registration form, you may write your scripts to create a new interface. Once the user fills out the registration form, your script will transfer authorization data to the billing, process the results (errors) and display them to the user.
Using the same procedure you can create a wizard for ordering services. Write scripts for all steps the user must follow (such as domain verification) and call required functions from the billing (ordering hosting or domain, etc.) on the last step.
For more information on how to call BILLmanager functions using your scripts, please read How to work with API
Functions and parameters
To learn a function and parameters you must to call, perform a required action and view the log ( /usr/local/ispmgr/var/billmgr.log ) to see the request that must be executed to perform this operation. All parameters have comprehensive names, however if you find it difficult to interpret them, please, go to our forum http://forum.ispsystem.com/. For a Setup Wizard call the last step, which contains all parameters and executes all actions.
Thus, you will be able to help your user to easily get started with the billing system and provide him with a more detailed interface for his account management. Our software product will facilitate accounting and automation and its user-friendly interface can be used by both advanced users and your administrators.
