<?xml version="1.0"?>
<!--
/**
 * Magento
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Open Software License (OSL 3.0)
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://opensource.org/licenses/osl-3.0.php
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@magentocommerce.com so we can send you a copy immediately.
 *
 * @category    Phoenix
 * @package     Phoenix_dhpay
 * @copyright   Copyright (c) 2013 Phoenix Medien GmbH & Co. KG (http://www.phoenix-medien.de)
 * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
 */
-->
<config>
    <modules>
        <Idev_Dhpay>
            <version>1.6.0.0</version>
        </Idev_Dhpay>
    </modules>
    <global>
        <models>
            <dhpay>
                <class>Idev_Dhpay_Model</class>
            </dhpay>
        </models>
        <helpers>
            <dhpay>
                <class>Idev_Dhpay_Helper</class>
            </dhpay>
        </helpers>
        <resources>
            <dhpay_setup>
                <setup>
                    <module>Idev_Dhpay</module>
                </setup>
            </dhpay_setup>
        </resources>
        <blocks>
            <dhpay><class>Idev_Dhpay_Block</class></dhpay>
        </blocks>
        <payment>
            <groups>
                <dh>Dhpay</dh>
            </groups>
        </payment>
    </global>
    <frontend>
        <secure_url>
            <dhpay_processing>/dhpay/processing</dhpay_processing>
        </secure_url>
        <routers>
            <dhpay>
                <use>standard</use>
                <args>
                    <module>Idev_Dhpay</module>
                    <frontName>dhpay</frontName>
                </args>
            </dhpay>
        </routers>
        <translate>
            <modules>
                <Idev_Dhpay>
                    <files>
                        <default>Idev_Dhpay.csv</default>
                    </files>
                </Idev_Dhpay>
            </modules>
        </translate>
        <layout>
            <updates>
                <dhpay>
                    <file>dhpay.xml</file>
                </dhpay>
            </updates>
        </layout>
    </frontend>
    <admin>
         <routers>
            <adminhtml>
                <args>
                    <modules>
                        <dhpay after="Mage_Adminhtml">Idev_Dhpay</dhpay>
                    </modules>
                </args>
            </adminhtml>
        </routers>
    </admin>
    <adminhtml>
        <translate>
            <modules>
                <Idev_Dhpay>
                    <files>
                        <default>Idev_Dhpay.csv</default>
                    </files>
                </Idev_Dhpay>
            </modules>
        </translate>
        <layout>
            <updates>
                <dhpay>
                    <file>dhpay.xml</file>
                </dhpay>
            </updates>
        </layout>
        <acl>
            <resources>
                <admin>
                    <children>
                        <system>
                            <children>
                                <config>
                                    <children>
                                        <dhpay translate="title" module="dhpay">
                                            <title>dhpay Settings</title>
                                        </dhpay>
                                    </children>
                                </config>
                            </children>
                        </system>
                    </children>
                </admin>
            </resources>
        </acl>
    </adminhtml>
    <default>
        <payment>
            <dhpay_acc>
                <group>dh</group>
                <active>0</active>
                <model>dhpay/acc</model>
                <title>Credit Card / Visa, Mastercard, AMEX, JCB, Diners</title>
                <allowspecific>0</allowspecific>
            </dhpay_acc>
        </payment>
    </default>
</config>
