Michael Posted July 25, 2014 Report Posted July 25, 2014 Tyson mate if there a way to make the logicboxes provision them without using the module. At the moment it tries to get the order-ID / etc for the database but is there a way we can by-pass that feature and make it make empty rows. So Service-id = whatever key= Null? Thank you Quote
0 Blesta Addons Posted July 25, 2014 Report Posted July 25, 2014 you can use my module .... it not need to fetch the oder-id from database Michael 1 Quote
0 Tyson Posted July 25, 2014 Report Posted July 25, 2014 Are you adding it through the admin interface? If so, you could change the service status to pending first. But when you go to edit the service and make it active, it will fetch the order-id anyway. So I guess it depends on what you're trying to do here. Quote
0 Michael Posted July 25, 2014 Author Report Posted July 25, 2014 Are you adding it through the admin interface? If so, you could change the service status to pending first. But when you go to edit the service and make it active, it will fetch the order-id anyway. So I guess it depends on what you're trying to do here. Yes we added it via the admin area and put it pending not using the module but it just spits an error out "Website not found for...." The domains itself aren't with a Logicbox provider yet but they will be transferred when they are being renewed mate. so at the moment it's making a lot of callbacks to Resellerclub every 5 minutes. Quote
0 Tyson Posted July 25, 2014 Report Posted July 25, 2014 Well, the behavior is to fetch the order-id if it's missing, and your cron is trying to activate the service without it. And an active service should have all of the fields set. Are you creating an invoice for those services? Simply not paying them would resolve the API errors--it won't attempt to activate an unpaid service. Quote
0 Michael Posted July 25, 2014 Author Report Posted July 25, 2014 Well, the behavior is to fetch the order-id if it's missing, and your cron is trying to activate the service without it. And an active service should have all of the fields set. Are you creating an invoice for those services? Simply not paying them would resolve the API errors--it won't attempt to activate an unpaid service. Is there a way to fall back to have empty order-id's if there isn't one on Logicboxes if the "use module" box is unticked? And there's no invoices for these as they are paid services but with GoDaddy and Wild West domains mate. Quote
0 Blesta Addons Posted July 25, 2014 Report Posted July 25, 2014 Is there a way to fall back to have empty order-id's if there isn't one on Logicboxes if the "use module" box is unticked? And there's no invoices for these as they are paid services but with GoDaddy and Wild West domains mate. i remeber in a old thread , i have talked about the interest of adding order-id in database . as the logicbox API has a function to get it using the Domaine name . the same for NS entries , no need to store them in database , as we can get them via API . Quote
0 Tyson Posted July 26, 2014 Report Posted July 26, 2014 Unfortunately, you couldn't do it without negating the changes added in CORE-611 and CORE-1262 which were to automatically set the order-id on add/edit, respectively. You could, at least temporarily, update the module to not attempt to fetch an order-id. I haven't tested this, but you could try to update /components/modules/logicboxes/logicboxes.php (around line 318) from elseif ($status == "active") { if ($package->meta->type == "domain") { $api->loadCommand("logicboxes_domains"); $domains = new LogicboxesDomains($api); $order = array_intersect_key($vars, array('domain-name' => "")); $response = $domains->orderid($order); $this->processResponse($api, $response); if ($this->Input->errors()) return; $order_id = null; if ($response->response()) $order_id = $response->response(); return array( array('key' => "domain-name", 'value' => $vars['domain-name'], 'encrypted' => 0), array('key' => "order-id", 'value' => $order_id, 'encrypted' => 0) ); } } to /* elseif ($status == "active") { if ($package->meta->type == "domain") { $api->loadCommand("logicboxes_domains"); $domains = new LogicboxesDomains($api); $order = array_intersect_key($vars, array('domain-name' => "")); $response = $domains->orderid($order); $this->processResponse($api, $response); if ($this->Input->errors()) return; $order_id = null; if ($response->response()) $order_id = $response->response(); return array( array('key' => "domain-name", 'value' => $vars['domain-name'], 'encrypted' => 0), array('key' => "order-id", 'value' => $order_id, 'encrypted' => 0) ); } } */ Michael 1 Quote
0 activa Posted March 22, 2016 Report Posted March 22, 2016 regarding to this thread about order-id . i think blesta staff should stop working with order-id in the logicbox module . anyone has imported domains from whmcs can't manage module anymore in blesta . and can give confuse to any new client . logicbox already has a option to fetch the order-id for any given domain , so this will not take a huge modification in the module . i found some thread talking about the same probleme and i ask why blesta staff has not updated the module to correct this behavior . i have found a module by Naja that worked ; but i prefer to see in in a supported core module . Blesta Addons 1 Quote
0 Blesta Addons Posted March 23, 2016 Report Posted March 23, 2016 soon i will release a new version for this module, if blesta staff want to merge the two module , no probleme for me , i give him the full right to do it . i also see usig the order-id to identify the domain is a big mistake . the domain should be identified by the domain not by a number !!!! niyo 1 Quote
Question
Michael
Tyson mate if there a way to make the logicboxes provision them without using the module.
At the moment it tries to get the order-ID / etc for the database but is there a way we can by-pass that feature and make it make empty rows.
So Service-id = whatever key= Null?
Thank you
9 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.