protected function paymentMethodToOptions(array $extensions)
    {
        $results = array();
        $registry = $this->getRegistry();
        $directory = !$registry->isOc1() ? 'extension/payment/' : 'payment/';
        foreach ($extensions as $extension) {
            $registry->language->load($directory . $extension);
            $results[$extension] = $registry->language->get('heading_title');
        }
        return $results;
    }