diff --git a/.env b/.env index b32db67..4a1bb77 100644 --- a/.env +++ b/.env @@ -1 +1,6 @@ UID=1000 +# $arr["host"] = "10.10.10.23"; +# $arr["name"] = "wrenchboard"; +# $arr["user"] = "wrenchboard"; +# $arr["pass"] = "wrenchboard"; +# $arr["port"] = 5432; diff --git a/application/controllers/Bkotransaction.php b/application/controllers/Bkotransaction.php index 76d579f..db739c9 100644 --- a/application/controllers/Bkotransaction.php +++ b/application/controllers/Bkotransaction.php @@ -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 .="