That's because your config file is wrong. You should have entered your panel URL, NOT your billing URL:
PHP Code:
<?php
/**
* API connection settings for xBilling
* Version : 1.2.0
* @author Aderemi Adewale (modpluz @ Sentora Forums)
* Email : goremmy@gmail.com
* @desc This allows front-end billing package interact with the backend module
*/
// Config;
$cfg = array();
$cfg['api_key'] = 'your API key here';
$cfg['panel_url'] = 'http://panel.domain.com';
$cfg['zpx_uid'] = 1;
if(strpos($cfg['panel_url'], 'http') === false){
$cfg['panel_url'] = 'http://'.$cfg['panel_url'];
}
?>