| Line 70... |
Line 70... |
| 70 |
// $this->session->unset_userdata('billing');
|
70 |
// $this->session->unset_userdata('billing');
|
| 71 |
// $this->session->unset_userdata('shoppingId');
|
71 |
// $this->session->unset_userdata('shoppingId');
|
| 72 |
$this->session->unset_userdata(array('hotspotId','addressId'));
|
72 |
$this->session->unset_userdata(array('hotspotId','addressId'));
|
| 73 |
$this->layout->view('checkout/checkout_view',$data);
|
73 |
$this->layout->view('checkout/checkout_view',$data);
|
| 74 |
}
|
74 |
}
|
| - |
|
75 |
public function orderconfirmation1()
|
| - |
|
76 |
{
|
| - |
|
77 |
$this->layout->setlayout('layout/layout_bigutsav');
|
| - |
|
78 |
$authorized = $this->session->userdata('authorized');
|
| - |
|
79 |
if(isset($authorized) && !empty($authorized)){
|
| - |
|
80 |
$_GET['userId'] = $authorized['Id'];
|
| - |
|
81 |
$_GET['Id'] = $authorized['cartId'];
|
| - |
|
82 |
if($authorized['isLoggedIn'] == 1){
|
| - |
|
83 |
$_GET['isLoggedIn'] = 'true';
|
| - |
|
84 |
}
|
| - |
|
85 |
elseif(isset($authorized['isLoggedIn']) && empty($authorized['isLoggedIn'])) {
|
| - |
|
86 |
$_GET['isLoggedIn'] = 'false';
|
| - |
|
87 |
}
|
| - |
|
88 |
$newValues = $authorized;
|
| - |
|
89 |
$newValues['totalItems'] = 0;
|
| - |
|
90 |
$this->session->userdata['authorized'] = $newValues;
|
| - |
|
91 |
}
|
| - |
|
92 |
//die();
|
| - |
|
93 |
$this->lessphp->object()->ccompile('assets/css/shipping.less','assets/css/shipping.css');
|
| - |
|
94 |
$data['stylesheet'] = 'shipping.css';
|
| - |
|
95 |
$data['response']=$this->checkout_model->getCheckoutDetails($this->input->get(),$this->input->post(),$this->config->item('orderconfirmation1'));
|
| - |
|
96 |
// $this->session->unset_userdata('shipping');
|
| - |
|
97 |
// $this->session->unset_userdata('billing');
|
| - |
|
98 |
// $this->session->unset_userdata('shoppingId');
|
| - |
|
99 |
$this->session->unset_userdata(array('hotspotId','addressId'));
|
| - |
|
100 |
$this->layout->view('checkout/checkout_view',$data);
|
| - |
|
101 |
}
|
| 75 |
public function payment1()
|
102 |
public function payment1()
|
| 76 |
{
|
103 |
{
|
| 77 |
$this->layout->setlayout('layout/layout_bigutsav');
|
104 |
$this->layout->setlayout('layout/layout_bigutsav');
|
| 78 |
//standard array
|
105 |
//standard array
|
| 79 |
if (!empty($_GET['cq'])) {
|
106 |
if (!empty($_GET['cq'])) {
|
| Line 310... |
Line 337... |
| 310 |
<input name="surl" value="<?php echo rtrim(base_url(), "/").$payu->surl; ?>" />
|
337 |
<input name="surl" value="<?php echo rtrim(base_url(), "/").$payu->surl; ?>" />
|
| 311 |
<input name="furl" value="<?php echo rtrim(base_url(), "/").$payu->furl; ?>" />
|
338 |
<input name="furl" value="<?php echo rtrim(base_url(), "/").$payu->furl; ?>" />
|
| 312 |
<input name="bankcode" value="<?php echo $payu->bankcode; ?>" />
|
339 |
<input name="bankcode" value="<?php echo $payu->bankcode; ?>" />
|
| 313 |
<input name="pg" value="<?php echo $payu->pg; ?>" />
|
340 |
<input name="pg" value="<?php echo $payu->pg; ?>" />
|
| 314 |
<input name="curl" value="<?php echo rtrim(base_url(), "/").$payu->curl; ?>" />
|
341 |
<input name="curl" value="<?php echo rtrim(base_url(), "/").$payu->curl; ?>" />
|
| - |
|
342 |
<input type="hidden" name="service_provider" value="payu_paisa" />
|
| 315 |
<input type="submit" value="Submit" />
|
343 |
<input type="submit" value="Submit" />
|
| 316 |
</form>
|
344 |
</form>
|
| 317 |
</div>
|
345 |
</div>
|
| 318 |
<script type="text/javascript">
|
346 |
<script type="text/javascript">
|
| 319 |
document.getElementById("payuForm").submit();
|
347 |
document.getElementById("payuForm").submit();
|
| Line 566... |
Line 594... |
| 566 |
<input name="productinfo" value="<?php echo $payu->productinfo; ?>" />
|
594 |
<input name="productinfo" value="<?php echo $payu->productinfo; ?>" />
|
| 567 |
<input name="surl" value="<?php echo rtrim(base_url(), "/").$payu->surl; ?>" />
|
595 |
<input name="surl" value="<?php echo rtrim(base_url(), "/").$payu->surl; ?>" />
|
| 568 |
<input name="furl" value="<?php echo rtrim(base_url(), "/").$payu->furl; ?>" />
|
596 |
<input name="furl" value="<?php echo rtrim(base_url(), "/").$payu->furl; ?>" />
|
| 569 |
<input name="bankcode" value="<?php echo $payu->bankcode; ?>" />
|
597 |
<input name="bankcode" value="<?php echo $payu->bankcode; ?>" />
|
| 570 |
<input name="pg" value="<?php echo $payu->pg; ?>" />
|
598 |
<input name="pg" value="<?php echo $payu->pg; ?>" />
|
| - |
|
599 |
<input type="hidden" name="service_provider" value="payu_paisa" />
|
| 571 |
<input name="curl" value="<?php echo rtrim(base_url(), "/").$payu->curl; ?>" />
|
600 |
<input name="curl" value="<?php echo rtrim(base_url(), "/").$payu->curl; ?>" />
|
| 572 |
<input type="submit" value="Submit" />
|
601 |
<input type="submit" value="Submit" />
|
| 573 |
</form>
|
602 |
</form>
|
| 574 |
</div>
|
603 |
</div>
|
| 575 |
<script type="text/javascript">
|
604 |
<script type="text/javascript">
|