/** * Retrieve vendor payment status array * * @return array */ public static function getStatuses() { if (is_null(self::$_statuses)) { self::$_statuses = array(self::PAYMENT_STATUS_OPEN => Mage::helper('sales')->__('Pending'), self::PAYMENT_STATUS_PAID => Mage::helper('sales')->__('Paid'), self::PAYMENT_STATUS_CANCELED => Mage::helper('sales')->__('Canceled'), self::PAYMENT_STATUS_REFUND => Mage::helper('csmarketplace')->__('Refund'), self::PAYMENT_STATUS_REFUNDED => Mage::helper('csmarketplace')->__('Refunded')); } return self::$_statuses; }