/** * Retrieve all payment methods * * @param mixed $store * @return array */ public function getPaymentMethods($store = null) { $_methods = parent::getPaymentMethods($store); if (isset($_methods['sagepaysuite'])) { unset($_methods['sagepaysuite']); } return $_methods; }
/** * @return array */ public function paymentMethodDataProvider() { $helper = new Mage_Payment_Helper_Data(); $result = array(); foreach ($helper->getPaymentMethods() as $code => $method) { $result[] = array($code, $method['model']); } return $result; }