<?xml version="1.0"?>
<!--
/**
 * Magento
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License (AFL 3.0)
 * that is bundled with this package in the file LICENSE_AFL.txt.
 * It is also available through the world-wide-web at this URL:
 * http://opensource.org/licenses/afl-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.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade Magento to newer
 * versions in the future. If you wish to customize Magento for your
 * needs please refer to http://www.magentocommerce.com for more information.
 *
 * @category    Mage
 * @package     Mage_PaypalUk
 * @copyright   Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
 * @license     http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
 */
-->
<config>
    <modules>
        <Mage_PaypalUk>
            <version>0.7.0</version>
        </Mage_PaypalUk>
    </modules>
    <global>
        <models>
            <paypaluk>
                <class>Mage_PaypalUk_Model</class>
                <resourceModel>paypaluk_mysql4</resourceModel>
            </paypaluk>
            <paypaluk_mysql4>
                <class>Mage_PaypalUk_Model_Mysql4</class>
                <entities>
                    <api_debug><table>paypaluk_api_debug</table></api_debug>
                </entities>
            </paypaluk_mysql4>
        </models>
        <helpers>
            <paypaluk>
                <class>Mage_PaypalUk_Helper</class>
            </paypaluk>
        </helpers>
        <resources>
            <paypaluk_setup>
                <setup>
                    <module>Mage_PaypalUk</module>
                </setup>
            </paypaluk_setup>
        </resources>
        <blocks>
            <paypaluk><class>Mage_PaypalUk_Block</class></paypaluk>
        </blocks>
    </global>
    <frontend>
        <secure_url>
            <paypaluk_express>/paypaluk/express</paypaluk_express>
        </secure_url>
        <routers>
            <paypaluk>
                <use>standard</use>
                <args>
                    <module>Mage_PaypalUk</module>
                    <frontName>paypaluk</frontName>
                </args>
            </paypaluk>
        </routers>
        <translate>
            <modules>
                <Mage_PaypalUk>
                    <files>
                        <default>Mage_PaypalUk.csv</default>
                    </files>
                </Mage_PaypalUk>
            </modules>
        </translate>
        <layout>
            <updates>
                <paypaluk>
                    <file>paypaluk.xml</file>
                </paypaluk>
            </updates>
        </layout>
    </frontend>
    <adminhtml>
        <translate>
            <modules>
                <Mage_PaypalUk>
                    <files>
                        <default>Mage_PaypalUk.csv</default>
                    </files>
                </Mage_PaypalUk>
            </modules>
        </translate>
    </adminhtml>

    <default>
        <payment>
            <paypaluk_express>
                <model>paypaluk/express</model>
            </paypaluk_express>
            <paypaluk_direct>
                <model>paypaluk/direct</model>
            </paypaluk_direct>
        </payment>
    </default>
</config>
