Kumi
6e18fa423d
- Standardized the formatting across ISNICSync.php and eppClient.php for better consistency and readability, making future maintenance and debugging efforts more efficient. - Adjusted the use of whitespace and alignment in both files to follow best coding practices, enhancing code clarity and developer experience. - Simplified control structures for improved logic flow and reduced complexity in error handling and network communication processes. - Ensured that all modified functions and error messages remain functional with clearer, more standardized error handling to minimize runtime errors and facilitate easier error tracking. This refactor does not introduce any new features or significantly alter existing functionality but sets a solid foundation for more reliable and maintainable codebase. |
||
---|---|---|
eppClient.php | ||
ISNIC.php | ||
ISNICSync.php | ||
LICENSE | ||
README.md |
ISNIC EPP Module for FOSSBilling
This is a fork of the fossbilling-epp-rfc module that has been modified to work with ISNIC's EPP server.
The following instructions are from the original README.md file.
FOSSBilling Module Installation instructions
1. Download and Install FOSSBilling:
Start by downloading the latest version of FOSSBilling from the official website (https://fossbilling.org/). Follow the provided instructions to install it.
2. Installation and Configuration of Registrar Adapter:
First, download this repository which contains the epp.php file. After successfully downloading the repository, move the ISNIC.php file into the [FOSSBilling]/library/Registrar/Adapter
directory.
3. Addition of Synchronization Scripts:
There are two additional scripts in the repository: ISNICSync.php and eppClient.php. These need to be placed in the main [FOSSBilling]
directory.
4. Setting Up the Cron Job:
You need to set up a cron job that runs the sync module twice a day. Open crontab using the command crontab -e
in your terminal.
Add the following cron job (make sure to replace /var/www/html/ISNICSync.php
with the correct path to the ISNICSync.php file):
0 0,12 * * * php /var/www/html/ISNICSync.php
This command schedules the synchronization script to run once every 12 hours (at midnight and noon).
5. Activate the Domain Registrar Module:
Within FOSSBilling, go to System -> Domain Registration -> New Domain Registrar and activate the new domain registrar.
6. Registrar Configuration:
Next, head to the "Registrars" tab. Here, you'll need to enter your specific configuration details, including the path to your SSL certificate and key.
7. Adding a New TLD:
Finally, add the .is Top Level Domain (TLD) using at the "New Top Level Domain" tab. Make sure to configure all necessary details, such as pricing, within this tab.