Subversion Repositories SmartDukaan

Rev

Rev 22466 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 22466 Rev 22707
Line 430... Line 430...
430
							
430
							
431
						}					
431
						}					
432
					}
432
					}
433
				}
433
				}
434
				$this->layout = 'innerpages';
434
				$this->layout = 'innerpages';
435
				$redirecturl = str_replace("pay-success","pay-success1", $redirecturl);
435
				//$redirecturl = str_replace("pay-success","pay-success1", $redirecturl);
436
				$next = $redirecturl;					
436
				$next = $redirecturl;					
437
				$redirectUrl = $this->getBigUtsavAutoLoginUrl($userId,$next);
437
				$redirectUrl = $this->getAutoLoginUrl($userId,$next);
438
				$this->log($redirectUrl,'headers');
438
				$this->log($redirectUrl,'headers');
439
				$this->set(compact('redirectUrl','next'));
439
				$this->set(compact('redirectUrl','next'));
440
			}else{
440
			}else{
441
				$dataGiven = json_decode($this->request->data['cart_details']);
441
				$dataGiven = json_decode($this->request->data['cart_details']);
442
				if($walletUsed==$this->Session->read('totalPayable')){
442
				if($walletUsed==$this->Session->read('totalPayable')){
Line 498... Line 498...
498
							}					
498
							}					
499
						}
499
						}
500
					}
500
					}
501
					$this->layout = 'innerpages';
501
					$this->layout = 'innerpages';
502
					$next = $redirecturl;					
502
					$next = $redirecturl;					
503
					$redirectUrl = $this->getBigUtsavAutoLoginUrl($userId,$next);
503
					$redirectUrl = $this->getAutoLoginUrl($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
				}
507
				}
508
			}
508
			}