Subversion Repositories SmartDukaan

Rev

Rev 22465 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 22465 Rev 22466
Line 502... Line 502...
502
					$next = $redirecturl;					
502
					$next = $redirecturl;					
503
					$redirectUrl = $this->getBigUtsavAutoLoginUrl($userId,$next);
503
					$redirectUrl = $this->getBigUtsavAutoLoginUrl($userId,$next);
504
					$redirectToCart = true;
504
					$redirectToCart = true;
505
					$this->log($redirectUrl,'headers');
505
					$this->log($redirectUrl,'headers');
506
					$this->set(compact('redirectUrl','next','redirectToCart'));
506
					$this->set(compact('redirectUrl','next','redirectToCart'));
507
				}else{
-
 
508
					$totalSkus= intval($dataGiven->totalSkus);
-
 
509
					setcookie('txn_comp', 'no', -1, '/');
-
 
510
					$this->layout = 'innerpages';
-
 
511
					$next = "payment1?cq=".$totalSkus.'&addressid='.$addressid;
-
 
512
					if(isset($walletUsed)) {
-
 
513
						$next .= '&walletUsed='.$walletUsed;
-
 
514
					}					
-
 
515
					$redirectUrl = $this->getBigUtsavAutoLoginUrl($userId,$next);
-
 
516
					$this->log($redirectUrl,'headers');
-
 
517
					$this->set(compact('redirectUrl','next'));
-
 
518
				}
507
				}
519
			}
508
			}
520
		} else {
509
		} else {
521
			if($tokenValidated == 0){
510
			if($tokenValidated == 0){
522
				$url = '/special/native/login';
511
				$url = '/special/native/login';