Arkosoft Posted September 3, 2015 Share Posted September 3, 2015 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! 0 Quote Link to comment Share on other sites More sharing options...
Kian Posted September 3, 2015 Share Posted September 3, 2015 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 0 Quote Link to comment Share on other sites More sharing options...
Arkosoft Posted September 3, 2015 Author Share Posted September 3, 2015 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. 0 Quote Link to comment Share on other sites More sharing options...
Kian Posted September 3, 2015 Share Posted September 3, 2015 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. 0 Quote Link to comment Share on other sites More sharing options...
Arkosoft Posted September 3, 2015 Author Share Posted September 3, 2015 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.. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.