Public Member Functions | |
getCheckoutUrl () | |
getButtonImageUrl () | |
_toHtml () |
Definition at line 34 of file Shortcut.php.
_toHtml | ( | ) |
Render block HTML
Reimplemented from Mage_Core_Block_Template.
Definition at line 46 of file Shortcut.php.
00047 { 00048 if (Mage::getStoreConfigFlag('payment/amazonpayments_asp/active') 00049 && Mage::getSingleton('checkout/session')->getQuote()->validateMinimumAmount()) { 00050 return parent::_toHtml(); 00051 } 00052 00053 return ''; 00054 }
getButtonImageUrl | ( | ) |
Definition at line 41 of file Shortcut.php.
00042 { 00043 return Mage::getStoreConfig('payment/amazonpayments_asp/pay_now_button_image_url'); 00044 }
getCheckoutUrl | ( | ) |
Definition at line 36 of file Shortcut.php.
00037 { 00038 return $this->getUrl('amazonpayments/asp/checkout'); 00039 }