O'Reilly logo

Getting Started with Magento Extension Development by Branko Ajzele

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Registering your extension

The steps for registering your extension, so that Magento can see it, are as follows:

  1. Prior to writing any real code, we first decide on a name for our extension. We will call it Foggyline_Stripe, and it will be placed under the community codePool.
  2. Once we settle on a name, we go ahead and define an extension registration file, app/etc/modules/Foggyline_Stripe.xml, with the following code snippet:
    <?xml version="1.0" encoding="UTF-8"?>
    <config>
        <modules>
            <Foggyline_Stripe>
                <active>true</active>
                <codePool>community</codePool>
                <depends>
                    <Mage_Payment/>
                </depends>
            </Foggyline_Stripe>
        </modules>
    </config>
  3. Once the file is in place, you need to confirm that Magento can see it under System | Configuration | Advanced | Advanced ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required