Commit 1b2adc02 by Jansa Jose

payment

parent 0967ed0a
......@@ -1147,7 +1147,7 @@ else
//print_r($create_customer);echo"<br>";exit();
$request = load_curl('https://api.iugu.com/v1/customers',$create_customer);
$customer = json_decode($request);
print_r($customer); echo "<pre><br>";
//print_r($customer); echo "<pre><br>";
$this->Patient_model->update_profile($patient_data['patientid'],array('customer_id' => $customer->id ));
$patient_data['pt_customer_id'] = $customer->id;
}
......
......@@ -535,8 +535,8 @@ function update_profile($id,$data)
$result = array('status' => 'error');
}
echo $this->db->last_query();
print_r($result);exit();
//echo $this->db->last_query();
//print_r($result);exit();
return $result;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment