Subversion Repositories SmartDukaan

Rev

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

Rev 12694 Rev 12738
Line 157... Line 157...
157
				}
157
				}
158
				elseif(isset($authorized['isLoggedIn']) && empty($authorized['isLoggedIn'])) {
158
				elseif(isset($authorized['isLoggedIn']) && empty($authorized['isLoggedIn'])) {
159
					$_POST['isLoggedIn'] = 'false';
159
					$_POST['isLoggedIn'] = 'false';
160
				}
160
				}
161
			}
161
			}
-
 
162
			$fosauthorized = $this->session->userdata('fosauthorized');
-
 
163
error_log("fosauthorized ".print_r($fosauthorized,1));
-
 
164
			$_POST['fos'] = $fosauthorized['Id'];
162
			$addressId = $this->session->userdata('addressId');
165
			$addressId = $this->session->userdata('addressId');
163
			$_POST['addressid'] = $addressId;
166
			$_POST['addressid'] = $addressId;
164
			$_POST['payment_option'] = $_POST['payoption'];
167
			$_POST['payment_option'] = $_POST['payoption'];
165
			$data['response']=$this->checkout_model->getCheckoutDetails($this->input->get(),$this->input->post(),$paymentconfig);
168
			$data['response']=$this->checkout_model->getCheckoutDetails($this->input->get(),$this->input->post(),$paymentconfig);
166
			if(isset($data['response']['response']['payment_submit'][0]) && !empty($data['response']['response']['payment_submit'][0])){
169
			if(isset($data['response']['response']['payment_submit'][0]) && !empty($data['response']['response']['payment_submit'][0])){
Line 632... Line 635...
632
 
635
 
633
}
636
}
634
 
637
 
635
 
638
 
636
/* End of file welcome.php */
639
/* End of file welcome.php */
637
/* Location: ./application/controllers/welcome.php */
-
 
638
640
/* Location: ./application/controllers/welcome.php */
-
 
641