Jump to content

OVH ".it" domain registration problem


Arkosoft

Recommended Posts

Hi to all,

I have an issue with OVH.

I want to sell ".it" domains with my OVH reseller account.

Every time I put a request to register a new ".it" domain, I've a problem with this code:

SoapFault exception: [soap:202] For corporation or association, code fiscal should be 11 characters long ; Missing corporationType ; Missing fiscal code ; Missing vat number in /homepages/23/d560752793/htdocs/securityhost.it/modules/registrars/ovh/ovh.php:0
Stack trace:
#0 /homepages/23/d560752793/htdocs/securityhost.it/modules/registrars/ovh/ovh.php(0): SoapClient->__call('nicCreate', Array)
#1 /homepages/23/d560752793/htdocs/securityhost.it/includes/classes/WHMCS/Module.php(0): ovh_RegisterDomain(Array)
#2 /homepages/23/d560752793/htdocs/securityhost.it/includes/classes/WHMCS/Module/Registrar.php(0): WHMCS_Module->call()
#3 /homepages/23/d560752793/htdocs/securityhost.it/includes/registrarfunctions.php(0): WHMCS_Module_Registrar->call()
#4 /homepages/23/d560752793/htdocs/securityhost.it/includes/registrarfunctions.php(0): RegCallFunction()
#5 /homepages/23/d560752793/htdocs/securityhost.it/admin/clientsdomainreg.php(0): RegRegisterDomain()
#6 {main}https://www.ovh.com/soapi/soapi-re-1.14.wsdl

I saw that "nicCreate" function is call, but it should call the "nicCreateIt" function in order to register an italian nicHandle.

Any of you had the same issue? Do you know a module that can solve this problem?

Thanks in advance to all!

Link to comment
Share on other sites

The reason why it's not working is written in your log file:

 

Code fiscal should be 11 characters long: Partita IVA aka VAT ID is missing

 

Missing corporationType (in bold):

1. Italian and foreign natural persons

2. Companies/one man companies

3. Freelance workers/professionals

4. non-profit organizations

5. public organizations

6. other subjects

7. foreigners who match 2-6.

 

Missing fiscal code: Codice Fiscale aka TAX ID is missing Missing

 

I think that you missed to include/add the necessary additional domain fields in your includes/additionaldomainfields.php

Link to comment
Share on other sites

Hi,

I'm sorry, but how can I add these fields?

I tryed with

$additionaldomainfields[".it"][] = array("Name" => "VAT ID", "LangVar" => "vat id", "Type" => "text", "Size" => "20", "Default" => "", "Required" => true,);

and I added a client Custom field named "Partita IVA" with the right code with 11 characters, but nothing.

Sorry, but I can't find anything on Google.

Link to comment
Share on other sites

Don't you have documentation? Anyway you shouldn't add "Partita IVA" as a Custom Field but as an Additional Domain Field. In this way only when a client is registering or transfering an .it domain the modulo will show the "VAT ID" field in your includes/additionadomainfields.php. Anyway once again you have to find all these informations in documentation.

Link to comment
Share on other sites

Don't you have documentation? Anyway you shouldn't add "Partita IVA" as a Custom Field but as an Additional Domain Field. In this way only when a client is registering or transfering an .it domain the modulo will show the "VAT ID" field in your includes/additionadomainfields.php. Anyway once again you have to find all these informations in documentation.

 

All I found is here: http://docs.whmcs.com/Domains_Configuration#TLD_Specific_Additional_Domain_Fields

No samples and no other resources in order to study better this.

Can you link me to a better documentation please? If you have anything, I'd like to read it..

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated