Log in backgreound
This commit is contained in:
@@ -116,8 +116,14 @@ class Bkotransaction extends Bko_Controller {
|
||||
break;
|
||||
|
||||
case 'TRANSMIT':
|
||||
//echo 'complete 1';
|
||||
// url: "/bkotransaction/smprocess?proc=COMPLETE&sendmoney_id="+link_id+'&tcode='+tcode+'&tref='+tref
|
||||
/*
|
||||
|
||||
|
||||
This is te place to call the Fluuerwve API for testing
|
||||
|
||||
|
||||
|
||||
*/
|
||||
$data["trans_code"] = $this->input->get('tcode');
|
||||
$data["trans_tref"] = $this->input->get('tref');
|
||||
$data["sendmoney_id"] = $sendmoney_id;
|
||||
@@ -125,11 +131,8 @@ class Bkotransaction extends Bko_Controller {
|
||||
$data['action_mode'] = SMONEY_PROCC_INTERSWITCH;
|
||||
$this->load->model('backend_model');
|
||||
$out = array();
|
||||
$this->backend_model->wrenchboard_api($data, $out);
|
||||
$this->backend_model->wrenchboard_api($data, $out); //THis calls he backend - dont worry about it for now.
|
||||
echo $out['status'];
|
||||
|
||||
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -144,7 +147,7 @@ class Bkotransaction extends Bko_Controller {
|
||||
$myTable .="<tr><td style='width:100px;'><b>Recipient</b></td><td>" . $out['recipient'] . "</td></tr>";
|
||||
$myTable .="<tr><td style='width:100px;'><b>Amount</b></td><td>" . $out['amount'] . "</td></tr>";
|
||||
$myTable .="<tr><td style='width:100px;'><b>Fee</b></td><td>" . $out['fee'] . "</td></tr>";
|
||||
|
||||
$myTable .="<tr><td style='width:100px;'><b>Channel</b></td><td><b>Flutterwave </b></td></tr>";
|
||||
$myTable .="<tr><td style='width:100px;'><b></b></td><td><div id='btump" . $out['id'] . "'><input type=submit id=\"acmp" . $out['id'] . "\" onclick=\"return smoneyProcessComplete('" . $out['id'] . "')\" name=\"manage\" class=\"btn btn-info btn-sm\" value=\"Complete\"></div></td></tr>";
|
||||
$myTable .="</table></form> [another tabble]";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user