activa Posted April 2, 2016 Report Posted April 2, 2016 we have some trouble in registering new domain , the module retur a rror message https://httpapi.com/api/domains/register.json {"status":"ERROR","message":"Required parameter missing: reg-contact-id"} after a profound look ,we have found that logixbox reject adding contact with illegal caractere , the dresss contain "N°" . and logicbox only acept ascii caractere . no utf-8 caractere . https://httpapi.com/api/contacts/add.json {"status":"ERROR","message":"{address1\u003daddress1 contains invalid characters.}"} Quote
Blesta Addons Posted April 2, 2016 Report Posted April 2, 2016 you have remember me for this, in the module for v2 i have made some change . i will check it and back again to give you the solution . PauloV and ariq01 2 Quote
Blesta Addons Posted April 2, 2016 Report Posted April 2, 2016 logicbox does not support utf8 caractere . and the adress lenth maximum is 64 . so in logicbox module find elseif ($key == "address-line-1") $vars[$key] = $client->address1; replace it by elseif ($key == "address-line-1") { $client->address1 = str_replace("NÂ", "N", $client->address1); $client->address1 = str_replace("°", ":", $client->address1); $client->address1 = strtr($client->address1,utf8_decode("ÀÁÂÃÄÅàáâãäåÒÓÔÕÖØòóôõöøÈÉÊËèéêëÇçÌÍÎÏìíîïÙÚÛÜùúûüÿÑñ°º"),"aaaaaaaaaaaaooooooooooooeeeeeeeecciiiiiiiiuuuuuuuuynn::"); $vars[$key] = substr($client->address1, 0, 63); } ariq01, activa and PauloV 3 Quote
Blesta Addons Posted April 4, 2016 Report Posted April 4, 2016 logicbox also requiere consumer contant has a zipcode , empty value is not accepted . something like $vars[$key] = $client->zip != "" ? $client->zip : "00000"; ariq01 1 Quote
Blesta Addons Posted April 9, 2016 Report Posted April 9, 2016 this fix should be added to the core module . activa 1 Quote
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.