| Line 152... |
Line 152... |
| 152 |
$data['title'] = 'Saholic';
|
152 |
$data['title'] = 'Saholic';
|
| 153 |
$data['response']=$this->checkout_model->getCheckoutDetails($this->input->get(),'',$paymentconfig);
|
153 |
$data['response']=$this->checkout_model->getCheckoutDetails($this->input->get(),'',$paymentconfig);
|
| 154 |
if(isset($data['response']['response']['payment_process1'])){
|
154 |
if(isset($data['response']['response']['payment_process1'])){
|
| 155 |
$result = json_decode($data['response']['response']['payment_process1'][0]);
|
155 |
$result = json_decode($data['response']['response']['payment_process1'][0]);
|
| 156 |
if(isset($_GET['walletUsed'])) {
|
156 |
if(isset($_GET['walletUsed'])) {
|
| 157 |
$walletUsed = float($_GET['walletUsed']);
|
157 |
$walletUsed = (int)($_GET['walletUsed']);
|
| 158 |
}
|
158 |
}
|
| 159 |
$result->results->totalAmount -= $walletUsed;
|
159 |
$result->results->totalAmount -= $walletUsed;
|
| 160 |
$this->session->set_userdata('walletUsed',$walletUsed);
|
160 |
$this->session->set_userdata('walletUsed',$walletUsed);
|
| 161 |
$this->layout->view('checkout/checkout_view',$data);
|
161 |
$this->layout->view('checkout/checkout_view',$data);
|
| 162 |
}
|
162 |
}
|