Exemplo n.º 1
0
 /**
  * Set path to template used for generating block's output.
  *
  * @param string $template
  * @return TM_FireCheckout_Block_Paypal_Iframe
  */
 public function setTemplate($template)
 {
     // @see Mage_Paypal_PayflowController::returnUrl
     if ('paypal/payflowlink/redirect.phtml' === $template && Mage::helper('firecheckout')->canFireCheckout()) {
         $template = 'firecheckout/' . $template;
     }
     return parent::setTemplate($template);
 }
Exemplo n.º 2
0
 /**
  * Set payment method code
  */
 protected function _construct()
 {
     parent::_construct();
     $this->_paymentMethodCode = Mage_Paypal_Model_Config::METHOD_PAYFLOWADVANCED;
 }