/** * Check whether payment method can be used * * @param Mage_Sales_Model_Quote $quote * @return boolean */ public function isAvailable($quote = null) { if (!parent::isAvailable($quote)) { return false; } if ($this->is3dSecureEnabled() && Mage::app()->getStore()->isAdmin()) { return false; } return true; }