protected function _prepareLayout() { if (!$this->helper('sagepaysuite')->creatingAdminOrder()) { $this->setChild('token.cards.li', $this->getLayout()->createBlock('sagepaysuite/form_tokenList', 'token.cards.li')->setCanUseToken($this->canUseToken())->setPaymentMethodCode('sagepayserver')); } return parent::_prepareLayout(); }
protected function _prepareLayout() { if (Mage::helper('sagepaysuite')->surchargesModuleEnabled() == true) { if (!$this->helper('sagepaysuite')->creatingAdminOrder()) { $this->setChild('surcharges.list', $this->getLayout()->createBlock('sagepaysurcharges/checkout_surchargesList', 'surcharges.list')); } } return parent::_prepareLayout(); }
protected function _prepareLayout() { $_code = 'sagepayserver'; if (!$this->helper('sagepaysuite')->creatingAdminOrder()) { if (Mage::helper('sagepaysuite')->surchargesModuleEnabled() == true) { $this->setChild('surcharges.list', $this->getLayout()->createBlock('sagepaysuite/checkout_surchargesList', 'surcharges.list')); } } else { $_code = 'sagepayserver_moto'; } $this->setChild('token.cards.li', $this->getLayout()->createBlock('sagepaysuite/form_tokenList', 'token.cards.li')->setCanUseToken($this->canUseToken())->setPaymentMethodCode($_code)); return parent::_prepareLayout(); }
protected function _prepareLayout() { $this->setChild('token.cards.li', $this->getLayout()->createBlock('sagepaysuite/form_tokenList', 'token.cards.li')->setCanUseToken($this->canUseToken())->setPaymentMethodCode('sagepaydirectpro')); return parent::_prepareLayout(); }
protected function _prepareLayout() { return parent::_prepareLayout(); }