public function getOrderPlaceRedirectUrl()
 {
     $session = Mage::getSingleton('checkout/session');
     if (isset($_POST[$this->_code . '_BPE_Issuer'])) {
         $session->setData('additionalFields', array('Issuer' => $_POST['buckaroo3extended_ideal_BPE_Issuer']));
     }
     return parent::getOrderPlaceRedirectUrl();
 }
 public function validate()
 {
     $postData = Mage::app()->getRequest()->getPost();
     if (!array_key_exists('buckaroo3extended_paymentguarantee_bpe_terms_and_conditions', $postData) || $postData['buckaroo3extended_paymentguarantee_bpe_terms_and_conditions'] != 'checked') {
         Mage::throwException(Mage::helper('buckaroo3extended')->__('Please accept the terms and conditions.'));
     }
     $this->getInfoInstance()->setAdditionalInformation('checked_terms_and_conditions', true);
     return parent::validate();
 }
 public function getOrderPlaceRedirectUrl()
 {
     $session = Mage::getSingleton('checkout/session');
     if (isset($_POST['payment'])) {
         $accountNumber = $_POST['payment']['account_number'];
         $session->setData('additionalFields', array('accountOwner' => $_POST['payment']['account_owner'], 'accountNumber' => $this->filterAccount($accountNumber), 'bankNumber' => $_POST['payment']['bank_number']));
     }
     return parent::getOrderPlaceRedirectUrl();
 }
 public function getOrderPlaceRedirectUrl()
 {
     $session = Mage::getSingleton('checkout/session');
     $post = Mage::app()->getRequest()->getPost();
     $customerBirthDate = date('Y-m-d', strtotime($post['payment'][$this->_code]['year'] . '-' . $post['payment'][$this->_code]['month'] . '-' . $post['payment'][$this->_code]['day']));
     if (isset($_POST[$this->_code . '_BPE_Customergender'])) {
         $session->setData('additionalFields', array('BPE_Customergender' => $_POST[$this->_code . '_BPE_Customergender'], 'BPE_Customermail' => $_POST[$this->_code . '_BPE_Customermail'], 'BPE_customerbirthdate' => $customerBirthDate));
     }
     return parent::getOrderPlaceRedirectUrl();
 }
 public function assignData($data)
 {
     if (!Mage::helper('buckaroo3extended')->isAdmin()) {
         $session = Mage::getSingleton('checkout/session');
     } else {
         $session = Mage::getSingleton('core/session');
     }
     $session->setData('additionalFields', array('gender' => $_POST['buckaroo3extended_onlinegiro_BPE_Customergender'], 'firstname' => $_POST['buckaroo3extended_onlinegiro_BPE_Customerfirstname'], 'lastname' => $_POST['buckaroo3extended_onlinegiro_BPE_Customerlastname'], 'mail' => $_POST['buckaroo3extended_onlinegiro_BPE_Customermail']));
     return parent::assignData($data);
 }
 public function getOrderPlaceRedirectUrl()
 {
     return parent::getOrderPlaceRedirectUrl();
 }