niyo Posted January 11, 2016 Report Posted January 11, 2016 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 Quote
0 Michael Posted January 11, 2016 Report Posted January 11, 2016 Sounds like it can't get the customer-id from Logicboxes or the database please check the logs and post them here. Tools > Logs > Modules > Logixboxes: click row Quote
0 Tyson Posted January 12, 2016 Report Posted January 12, 2016 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. Michael 1 Quote
0 niyo Posted January 12, 2016 Author Report Posted January 12, 2016 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? Quote
0 Nelsa Posted January 12, 2016 Report Posted January 12, 2016 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 Quote
0 Nelsa Posted January 12, 2016 Report Posted January 12, 2016 Well I was wrong Blesta use ISO-3166-2 and GB for United Kindgdom Quote
0 Michael Posted January 12, 2016 Report Posted January 12, 2016 Well I was wrong Blesta use ISO-3166-2 and GB for United Kindgdom Yeah in the UK we're GB, not sure why but the only time we use UK is on letters. Same with our pound it's GBP. Quote
0 activa Posted January 12, 2016 Report Posted January 12, 2016 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 ? Quote
0 Tyson Posted January 12, 2016 Report Posted January 12, 2016 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. Michael 1 Quote
0 Blesta Addons Posted January 13, 2016 Report Posted January 13, 2016 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 . Quote
0 Tyson Posted January 13, 2016 Report Posted January 13, 2016 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. Blesta Addons and Michael 2 Quote
0 Blesta Addons Posted January 13, 2016 Report Posted January 13, 2016 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 . Quote
Question
niyo
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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.