UDF2&3 UBAME&MOBILENO ADDED
This commit is contained in:
parent
4e05443747
commit
d8c46567bd
@ -37,6 +37,7 @@ class iobpay extends REST_Controller
|
||||
public function generateIOBPayToken_post()
|
||||
{
|
||||
$records = $this->post('records');
|
||||
|
||||
|
||||
$merchant_id = $this->config->item('merchant_id');
|
||||
$merchant_sub_id = $this->config->item('merchant_sub_id');
|
||||
@ -52,10 +53,14 @@ class iobpay extends REST_Controller
|
||||
|
||||
$merchanttxnid = "";
|
||||
$user_id = $records['user_id'];
|
||||
//get User Name and User MObile no by user ID
|
||||
$user_details = $this->user_management_model->selectCustomRecords(array('name','mobile'),array('id' => $user_id),CSR_USER);
|
||||
// print_r($user_details);
|
||||
$con_id = $records['con_id'];
|
||||
$udf1 = $records['udf1'];
|
||||
$udf2 = $records['udf2'];
|
||||
$udf3 = $records['udf3'];
|
||||
$udf2 = count($user_details) && $user_details[0]['name'] ? $user_details[0]['name'] : 'NONE';
|
||||
$udf3 = count($user_details) && $user_details[0]['mobile'] ? $user_details[0]['mobile'] : 'NONE';
|
||||
//print_r($udf2);die();
|
||||
|
||||
//echo $encryption_key.$encryption_iv.$sign_key,$merchant_id.$merchant_sub_id.$token_generation_url.$totalamt.$feetype.$merchantreplyurl;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user