Jump to content
  • 0

Question

Posted

Hi I get the following error when attempting to order a .co.uk domain using logicboxes and resell.biz:
 
Required parameter missing: customer-id
 
Any help appreciated.
 
Thanks

11 answers to this question

Recommended Posts

  • 0
Posted

Your issue sounds similar to another thread. Usually the problem is that some required contact information is not set on the client's account in Blesta and is thus not filled in when automatically sent to Logicboxes. As Licensecart mentioned, you may find out which field is missing by looking through raw output from the request on the Module Logs page.

  • 0
Posted

So I ended up manually adding the user and order in resell.biz and placing the order manually there and then activating the pending service without using the module and it works fine i.e. can update service from blesta, so I'm guessing the initial issue is on resell.biz end?
 

Input: https://httpapi.com/api/customers/search.json
a:5:{s:8:"username";s:21:"email@address.com";s:13:"no-of-records";i:10;s:7:"page-no";i:1;s:11:"auth-userid";s:6:"550721";s:7:"api-key";s:32:"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";}
Output: https://httpapi.com/api/customers/search.json
{"recsonpage":"0","recsindb":"0"}
Input: https://httpapi.com/api/customers/signup.json
a:16:{s:4:"name";s:12:"Customer Name";s:7:"company";s:10:"Company Name";s:5:"email";s:21:"email@address.com";s:14:"address-line-1";s:21:"1 Place Road";s:14:"address-line-2";N;s:4:"city";s:7:"Place";s:5:"state";s:2:"NY";s:7:"zipcode";s:7:"a11 1aa";s:7:"country";s:2:"UK";s:8:"phone-cc";s:2:"44";s:5:"phone";s:7:"1111111";s:8:"username";s:21:"email@address.com";s:6:"passwd";s:15:"password";s:9:"lang-pref";s:2:"en";s:11:"auth-userid";s:6:"550721";s:7:"api-key";s:32:"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";}
Output: https://httpapi.com/api/customers/signup.json
{"status":"ERROR","message":"{country\u003dCountry is invalid.}"}
Input: https://httpapi.com/api/contacts/add.json
a:15:{s:4:"name";s:12:"Customer Name";s:7:"company";s:10:"Company Name";s:5:"email";s:21:"email@address.com";s:14:"address-line-1";s:21:"1 Place Road";s:14:"address-line-2";N;s:4:"city";s:7:"Place";s:5:"state";s:2:"NY";s:7:"zipcode";s:7:"a11 1aa";s:7:"country";s:2:"UK";s:8:"phone-cc";s:2:"44";s:5:"phone";s:7:"1111111";s:4:"type";s:9:"UkContact";s:11:"customer-id";N;s:11:"auth-userid";s:6:"550721";s:7:"api-key";s:32:"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";}
Output: https://httpapi.com/api/contacts/add.json
{"status":"ERROR","message":"Required parameter missing: customer-id"} 

And then it continues outputting that error with each subsequent input.

 

Ok so looking at it i guess it was unable to create the customer due to the country. i think i may have messed with country codes at some point not 100% sure though. is uk default blesta or is it gb? if its gb then could this change be what caused the error?

  • 0
Posted

As I know Blesta use UK for United Kingdom as country code..but I may be wrong.. GB is used also,I sow one of Blesta staff post once which country code sistem use blesta in other thread but I can't rember which

  • 0
Posted

So I ended up manually adding the user and order in resell.biz and placing the order manually there and then activating the pending service without using the module and it works fine i.e. can update service from blesta, so I'm guessing the initial issue is on resell.biz end?

 

Input: https://httpapi.com/api/customers/search.json
a:5:{s:8:"username";s:21:"email@address.com";s:13:"no-of-records";i:10;s:7:"page-no";i:1;s:11:"auth-userid";s:6:"550721";s:7:"api-key";s:32:"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";}
Output: https://httpapi.com/api/customers/search.json
{"recsonpage":"0","recsindb":"0"}
Input: https://httpapi.com/api/customers/signup.json
a:16:{s:4:"name";s:12:"Customer Name";s:7:"company";s:10:"Company Name";s:5:"email";s:21:"email@address.com";s:14:"address-line-1";s:21:"1 Place Road";s:14:"address-line-2";N;s:4:"city";s:7:"Place";s:5:"state";s:2:"NY";s:7:"zipcode";s:7:"a11 1aa";s:7:"country";s:2:"UK";s:8:"phone-cc";s:2:"44";s:5:"phone";s:7:"1111111";s:8:"username";s:21:"email@address.com";s:6:"passwd";s:15:"password";s:9:"lang-pref";s:2:"en";s:11:"auth-userid";s:6:"550721";s:7:"api-key";s:32:"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";}
Output: https://httpapi.com/api/customers/signup.json
{"status":"ERROR","message":"{country\u003dCountry is invalid.}"}
Input: https://httpapi.com/api/contacts/add.json
a:15:{s:4:"name";s:12:"Customer Name";s:7:"company";s:10:"Company Name";s:5:"email";s:21:"email@address.com";s:14:"address-line-1";s:21:"1 Place Road";s:14:"address-line-2";N;s:4:"city";s:7:"Place";s:5:"state";s:2:"NY";s:7:"zipcode";s:7:"a11 1aa";s:7:"country";s:2:"UK";s:8:"phone-cc";s:2:"44";s:5:"phone";s:7:"1111111";s:4:"type";s:9:"UkContact";s:11:"customer-id";N;s:11:"auth-userid";s:6:"550721";s:7:"api-key";s:32:"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";}
Output: https://httpapi.com/api/contacts/add.json
{"status":"ERROR","message":"Required parameter missing: customer-id"} 

And then it continues outputting that error with each subsequent input.

 

Ok so looking at it i guess it was unable to create the customer due to the country. i think i may have messed with country codes at some point not 100% sure though. is uk default blesta or is it gb? if its gb then could this change be what caused the error?

 

 

when you activating the service in blesta without using the module , can you change the dns and edit the domain from blesta ?

  • 0
Posted

Logicboxes expects the ISO 3166-1 country code. So it seems "GB" is the country that should be set rather than "UK", which explains the error.

 

logicbox module should then have a array countries conversion from blesta .

 

when you activating the service in blesta without using the module , can you change the dns and edit the domain from blesta ?

 

i think he will get a invalid response due to mised order-id .

 

already i have talked about this subject . logicbox , should wonly store domain-name , and get the order-id from the logicbox API query .

  • 0
Posted

 logicbox module should then have a array countries conversion from blesta .

 

Why would a module contain a list of country conversions? Blesta already uses the ISO 3166-1 country code that Logicboxes expects. The OP thinks he may have changed some country codes in Blesta, which would make sense because "UK" is not an ISO 3166-1 alpha2 country code.

  • 0
Posted

Why would a module contain a list of country conversions? Blesta already uses the ISO 3166-1 country code that Logicboxes expects. The OP thinks he may have changed some country codes in Blesta, which would make sense because "UK" is not an ISO 3166-1 alpha2 country code.

 

i have understand that blesta & logicboxes has a different countries list format .

Join the conversation

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

Guest
Answer this question...

×   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.

Loading...
×
×
  • Create New...