BILLmanager is integrated with Namecheap, one of the popular domain name registrars.
The integration module supports the following features:
Integration setup
Integration is configured in the process of creating a service processing module in BILLmanager.
To create a service processing module, enter Integration → Processing modules → click Add. The processing module adding wizard consists of the following steps:
- Product type: select "Domains".
- Processing module: select "Namecheap".
- Integration settings. Specify the data for integration:
Complete the form using the details of an existing client in the handler's system:
- Username — username in Namecheap system;
- API user — username for access to API;
- API key — key for access to API;
- BILLmanager IP — IP-address from where requests to Namecheap will be sent;
- Sandbox — use testing access for test requests;
- Check domain status via API — select this check box to determine the availability of a domain via domain registrar’s API rather than WHOIS.
- Processing module parameters. Configure internal (within BILLmanager) parameters of the service processing module:
- Name — specify the name of the processing module to be displayed in the BILLmanager interface.
- Department — select the department to which tasks from the processing module will be assigned.
- Sort — specify the processing module’s priority. If more than one processing module is connected to a tariff plan, the processing module with the lowest priority is selected first when creating the service.
- Processing module minimal balance — specify the minimum amount on the personal account in the system to purchase services. For more information, see Processing Module Balance.
Connection test
On the last step, BILLmanager tries to connect to the registrar with the data you have specified.
If connection ends up with the error: Cannot connect to the processing module, we recommend to check that:
- connection data is correct;
- The URL address of the registrar is accessible from the server with BILLmanager;
- you can execute API calls from the IP address of BILLmanager from your account in the registrar system.
Logging
Log of interaction between Namecheap and the billing platform is recorded in file /usr/local/mgr5/var/pmnamecheapdomain.log.
You can add string "pmnamecheap.* 9" to file /usr/local/mgr5/etc/debug.conf to display more information in the log.