getpinga / whmcs-epp-rfc

EPP Registrar Module for WHMCS (Generic RFC EPP)
MIT License
12 stars 4 forks source link

Getting error on validation #3

Closed anantsparrow closed 1 year ago

anantsparrow commented 1 year ago

XML schema validation failed: Element '{urn:ietf:params:xml:ns:epp-1.0}pw': [facet 'maxLength'] The value has a length of '18'; this exceeds the allowed maximum length of '16'.

the error

getpinga commented 1 year ago

XML schema validation failed: Element '{urn:ietf:params:xml:ns:epp-1.0}pw': [facet 'maxLength'] The value has a length of '18'; this exceeds the allowed maximum length of '16'.

the error

Thank you for noticing that, what registry (TLD) are you using? I'll check their specifications.

anantsparrow commented 1 year ago

We are using centralnic registry for .in.net tld and .pw

getpinga commented 1 year ago

I've implemented a small fix, can you re-download the module and test again?

anantsparrow commented 1 year ago

still same error

getpinga commented 1 year ago

Then please comment out this line https://github.com/getpinga/whmcs-epp-rfc/blob/main/epp.php#L2057 , try again and send me to tk@getpinga.com the epp.log file from the module directory.

anantsparrow commented 1 year ago

done

getpinga commented 1 year ago

Thank you, seen the problem. It fails on the login because your centralnic registrar password is 18 characters, you need to change it to 16 and try again.

getpinga commented 1 year ago

It is a limit in the Centralnic server.

anantsparrow commented 1 year ago

hi, sorry for the issue, there was some password misconfiguration in mine, solved it and working fine now.

transfer domain is working with your module?

getpinga commented 1 year ago

Yes, both transfer request and transfer sync are working.

anantsparrow commented 1 year ago

great, does your this module support https://github.com/GoDaddyRegistry/registrar-toolkit ?

getpinga commented 1 year ago

Not yes, I'll have a look at it. Thanks.

anantsparrow commented 1 year ago

hmm sure, cause this supports lots of tlds like .in etc

getpinga commented 1 year ago

This is to confirm that the module has been tested with GoDaddy and supports all their TLDs.

anantsparrow commented 1 year ago

how will i use this module for different tlds from different registry. like centralnic or godaddy. i will have different ssl files for both registry then?

getpinga commented 1 year ago
  1. Put them in different folders, named centralnic and godaddy
  2. Rename the PHP file inside to centralnic.php or godaddy.php
  3. In whmcs.json change name: epp to name: centralnic or name: godaddy
  4. In the php file, search and replace epp to centralnic or godaddy_ . Be careful not to replace it twice on epp_epp_client
  5. After that activate and setup the modules.

Let me know if you experience any issues. There is no multiple support in WHMCS unfortunately, to have all this in one module.