Giter VIP home page Giter VIP logo

centralnic-registry-whmcs-plugin's Introduction

CentralNic Registry WHMCS Plugin

CI codecov

This repository contains a plugin for WHMCS that interacts with the CentralNic Registry EPP server. It should also work with any standards-compliant EPP server, although this is not guaranteed.

This plugin should not be confused with the CentralNic Reseller plugin for WHMCS.

Using this plugin with the SK-NIC and LANIC registries

The .LA and .SK TLDs use dedicated instances of the CentralNic system, so if you want to use this plugin for these TLDs, you need to tell the plugin to use a different EPP server.

To do this, create an environment variable called EPP_SERVER_NAME. Note that this will override the testMode config option.

Production & OT&E Servers

  • SK:
    • Production: epp.sk-nic.sk
    • OT&E: epp-ote.sk-nic.sk
  • LA:
    • Production: epp.lanic.la
    • OT&E ote.lanic.la

Examples

Native PHP

<?php
setenv('EPP_SERVER_NAME=epp.sk-nic.sk');

Apache

LoadModule env_module modules/mod_env.so

SetEnv EPP_SERVER_NAME epp.sk-nic.sk

Support

Please use the GitHub issues system to report any issues with this plugin.

Copyright

Copyright 2023 CentralNic Group PLC. All rights reserved.

centralnic-registry-whmcs-plugin's People

Contributors

gbxyz avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

centralnic-registry-whmcs-plugin's Issues

NIC-SK extension element is missing

Hello,

I configured this module for NIC-SK, the connection itself working, but domain registration not good:

2003 error: The {http://www.sk-nic.sk/xml/epp/sk-contact-ident-0.2} extension element is missing

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
  <response>
    <result code="2003">
      <msg>The {http://www.sk-nic.sk/xml/epp/sk-contact-ident-0.2} extension element is missing</msg>
    </result>
    <trID>
      <clTRID>xxxx</clTRID>
      <svTRID>SK-xxxx</svTRID>
    </trID>
  </response>
</epp>

This was the request, and as i see, the error message valid, its not usign the contact extension:

<?xml version="1.0" encoding="UTF-8"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
  <command>
    <create>
      <create xmlns="urn:ietf:params:xml:ns:contact-1.0">
        <id>xxx</id>
        <postalInfo type="int">
          <name>privage person</name>
          <org>company</org>
          <addr>
            <street>street 1</street>
            <street>street 2</street>
            <city>city</city>
            <sp>county</sp>
            <pc>zip</pc>
            <cc>HU</cc>
          </addr>
        </postalInfo>
        <voice>+36.1234</voice>
        <email>email address</email>
        <authInfo>
          <pw>xxxx</pw>
        </authInfo>
      </create>
    </create>
    <clTRID>xxxx</clTRID>
  </command>
</epp>

Clarification on configuration / settings

Hello,

New CentralNIC Registrar here. Long time user of WHMCS.

Unfortunately I can't seem to find the documentation related to the CentralNIC API anywhere on their website, only statements to request it if desired, so am waiting on that. In the mean time, what I -have- done is whitelist our WHMCS server's IP in our CentralNIC Registrar Control's Access List and double check that the account's EPP password was correct.

Despite whitelisting the WHMCS server and confirming that the password was in fact correct, we still receive the following error:

An Error Occurred
Invalid configuration: Error connecting to epp.centralnic.com:700: Network is unreachable (101)
Your changes have not been saved.

To confirm:

"Registrar ID" as defined by the module is in fact the same CentralNIC Registrar ID used to login to the console and is as what is displayed in the CentralNIC console in the top right corner as the "Logged in as" ID, correct?

The EPP password that the module requests is what would be set at https://registrar-console.centralnic.com/settings/passwords , correct?

Is the client-certificate and private key necessary to establish a connection? I assume this would be the existing production SSL used for our WHMCS install or...?

Thank you,
-Curtis

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.