| Line 364... |
Line 364... |
| 364 |
$data = array();
|
364 |
$data = array();
|
| 365 |
$data['response']=$this->recharge_model->getList($this->input->get(),$this->input->post(),$rechargeConfig);
|
365 |
$data['response']=$this->recharge_model->getList($this->input->get(),$this->input->post(),$rechargeConfig);
|
| 366 |
if(isset($data['response']['response']['recharge_paymentSubmit'][0]) && !empty($data['response']['response']['recharge_paymentSubmit'][0])){
|
366 |
if(isset($data['response']['response']['recharge_paymentSubmit'][0]) && !empty($data['response']['response']['recharge_paymentSubmit'][0])){
|
| 367 |
$paymentSubmit = $data['response']['response']['recharge_paymentSubmit'][0];
|
367 |
$paymentSubmit = $data['response']['response']['recharge_paymentSubmit'][0];
|
| 368 |
if(isset($paymentSubmit->response->isPaymentRedirect) && $paymentSubmit->response->isPaymentRedirect == 1){
|
368 |
if(isset($paymentSubmit->response->isPaymentRedirect) && $paymentSubmit->response->isPaymentRedirect == 1){
|
| 369 |
$image = base_url().'/images/loading.gif';
|
369 |
$image = base_url().'assets/images/loading.gif';
|
| 370 |
$location = $paymentSubmit->response->redirectUrl;
|
370 |
$location = $paymentSubmit->response->redirectUrl;
|
| 371 |
echo '<html><head><meta http-equiv="refresh" content="2;url='.$paymentSubmit->response->redirectUrl.'">
|
371 |
echo '<html><head><meta http-equiv="refresh" content="2;url='.$paymentSubmit->response->redirectUrl.'">
|
| - |
|
372 |
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
| 372 |
<title>Saholic Mobile Site: Redirecting to <'.$paymentSubmit->response->gatewayName.'> Payment Gateway</title>
|
373 |
<title>Saholic Mobile Site: Redirecting to <'.$paymentSubmit->response->gatewayName.'> Payment Gateway</title>
|
| 373 |
</head>
|
374 |
</head>
|
| 374 |
<body>
|
375 |
<body>
|
| 375 |
<div style="text-align:center; margin-top:200px;">Please wait while we redirect you to the Payment Gateway.</div>
|
376 |
<div style="text-align:center; margin-top:200px;">Please wait while we redirect you to the Payment Gateway.</div>
|
| 376 |
<div align="center" class="img">
|
377 |
<div align="center" class="img">
|
| Line 399... |
Line 400... |
| 399 |
if(isset($response) && !empty($response)){
|
400 |
if(isset($response) && !empty($response)){
|
| 400 |
$ebs = $response[0]->response;
|
401 |
$ebs = $response[0]->response;
|
| 401 |
$return_url = base_url().'ebs-pay-processing/?DR={DR}';
|
402 |
$return_url = base_url().'ebs-pay-processing/?DR={DR}';
|
| 402 |
echo '<html>
|
403 |
echo '<html>
|
| 403 |
<head>
|
404 |
<head>
|
| - |
|
405 |
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
| 404 |
<title>m.saholic.com: Redirecting to EBS Payment Page</title>
|
406 |
<title>m.saholic.com: Redirecting to EBS Payment Page</title>
|
| 405 |
</head>
|
407 |
</head>
|
| 406 |
<body>
|
408 |
<body>
|
| 407 |
<div style="text-align:center; margin-top:200px;">Please wait while we redirect you to the Payment Gateway.</div>
|
409 |
<div style="text-align:center; margin-top:200px;">Please wait while we redirect you to the Payment Gateway.</div>
|
| 408 |
<div align="center" class="img">
|
410 |
<div align="center" class="img">
|