Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 01/09/2015 in all areas

  1. 1) start with an empty Blesta installation again. 2) unzip NOC-PS module to Blesta 3) create a file blesta/plugins/import_manager/components/migrators/whmcs/5.2/config/nocprovisioning.php with the contents: <?php Configure::set("nocprovisioning.map", array( 'module' => "nocprovisioning", 'module_row_key' => "ipaddress", 'module_row_meta' => array( (object)array('key' => "host_name", 'value' => (object)array('module' => "ipaddress"), 'serialized' => 0, 'encrypted' => 0), (object)array('key' => "user_name", 'value' => (object)array('module' => "username"), 'serialized' => 0, 'encrypted' => 1), (object)array('key' => "password", 'value' => (object)array('module' => "password"), 'serialized' => 0, 'encrypted' => 1), (object)array('key' => "notes", 'value' => "Imported from WHMCS", 'serialized' => 0, 'encrypted' => 0), (object)array('key' => "server_name", 'value' => (object)array('module' => "name"), 'serialized' => 0, 'encrypted' => 0), ), 'package_meta' => array( (object)array('key' => "producttype", 'value' => "dedicated-manual", 'serialized' => 0, 'encrypted' => 0), (object)array('key' => "rebootmethod", 'value' => "auto", 'serialized' => 0, 'encrypted' => 0), (object)array('key' => "enable_provisioning", 'value' => (object)array('package' => "configoption1"), 'serialized' => 0, 'encrypted' => 0), (object)array('key' => "enable_power", 'value' => (object)array('package' => "configoption2"), 'serialized' => 0, 'encrypted' => 0), (object)array('key' => "enable_datatraffic", 'value' => (object)array('package' => "configoption3"), 'serialized' => 0, 'encrypted' => 0), (object)array('key' => "enable_console", 'value' => "on", 'serialized' => 0, 'encrypted' => 0), (object)array('key' => "enable_sensors", 'value' => "on", 'serialized' => 0, 'encrypted' => 0), (object)array('key' => "powerdown_on_suspend", 'value' => "", 'serialized' => 0, 'encrypted' => 0), (object)array('key' => "powerdown_on_delete", 'value' => "", 'serialized' => 0, 'encrypted' => 0), (object)array('key' => "deletevps_on_delete", 'value' => "", 'serialized' => 0, 'encrypted' => 0), ), 'service_fields' => array( 'dedicatedip' => (object)array('key' => "ip", 'serialized' => 0, 'encrypted' => 0) ) )); 4) try WHMCS import again.
    1 point
  2. Yup, cancel the recurring item, then edit the invoice and delete the line item. All the other line items will remain linked to their respective services, should the invoice remain unpaid they will be suspended.
    1 point
  3. How would that work? If you had a value of 1 and a client mistyped their CC number when submitting a payment, they're going to be frustrated that they can't fix it and pay. Then they might fail to pay an invoice on time, say it's not their fault because the system didn't let them pay... and chaos may ensue afterward. Seems like it could be a hassle for legitimate customers.
    1 point
  4. I think most APIs have their own reference ID, and most modules simply store and use that ID where necessary. I don't think you need to go out of your way to match them to service IDs in Blesta. That ID should be a back-end ID anyway, which no one would see (except admins, if you allowed them to add an existing TCAdmin account into Blesta without provisioning it).
    1 point
×
×
  • Create New...