| Line 397... |
Line 397... |
| 397 |
$response = $this->mcurl->execute($url);
|
397 |
$response = $this->mcurl->execute($url);
|
| 398 |
$data['response'] = $response['ebs']['response'];
|
398 |
$data['response'] = $response['ebs']['response'];
|
| 399 |
$response = $this->magento_model->payment_submit($data);
|
399 |
$response = $this->magento_model->payment_submit($data);
|
| 400 |
if(isset($response) && !empty($response)){
|
400 |
if(isset($response) && !empty($response)){
|
| 401 |
$ebs = $response[0]->response;
|
401 |
$ebs = $response[0]->response;
|
| - |
|
402 |
$image = './assets/images/loading.gif';
|
| 402 |
$return_url = base_url().'ebs-pay-processing/?DR={DR}';
|
403 |
$return_url = base_url().'ebs-pay-processing/?DR={DR}';
|
| 403 |
echo '<html>
|
404 |
echo '<html>
|
| 404 |
<head>
|
405 |
<head>
|
| 405 |
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
406 |
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
| 406 |
<title>m.saholic.com: Redirecting to EBS Payment Page</title>
|
407 |
<title>m.saholic.com: Redirecting to EBS Payment Page</title>
|
| 407 |
</head>
|
408 |
</head>
|
| 408 |
<body>
|
409 |
<body>
|
| 409 |
<div style="text-align:center; margin-top:200px;">Please wait while we redirect you to the Payment Gateway.</div>
|
410 |
<div style="text-align:center; margin-top:200px;">Please wait while we redirect you to the Payment Gateway.</div>
|
| 410 |
<div align="center" class="img">
|
411 |
<div align="center" class="img">
|
| 411 |
<img title="loading" alt="loading" src="'.base_url().'assets/images/loading.gif">
|
412 |
<img title="loading" alt="loading" src="'.$image.'">
|
| 412 |
</div>
|
413 |
</div>
|
| 413 |
<div style="display:none">
|
414 |
<div style="display:none">
|
| 414 |
<form method="post" action="'.$ebs->postAction.'" name="frmTransaction" id="frmTransaction">
|
415 |
<form method="post" action="'.$ebs->postAction.'" name="frmTransaction" id="frmTransaction">
|
| 415 |
<!-- Account Id -->
|
416 |
<!-- Account Id -->
|
| 416 |
<input name="account_id" type="hidden" value="'.$ebs->account_id.'" />
|
417 |
<input name="account_id" type="hidden" value="'.$ebs->account_id.'" />
|