Back to Top

How to develop custom extension in Magento

Magento Extension Admin Configuration

This is the next article of Magento series and I am going to cover the install of basic custom payment option in admin panel.In Previous article,we have learned Magento Extension Configuration

Before we have defined extension into the community folder the code pool so Magento code resides into app/code/community.

So, Let’s dive into the code for creating custom extension of Magento for payment gateway

First of all, go to PaymentMethod/Module folder and create an etc folder and in this folder create a config.XML file. Place the following code into your config file.

Next, is about system configuration so create system.xml and place the following code into it.

Now, create model folder into your community/PaymentMethod/PaymentMethod directory and create file Paymentmethod.php

Here in model folder create one more folder Model/Source and creat file PaymentMethodServers.php

Create helper folder into PaymentMethod/PaymentMethod and in that Data.php file

Thanks for reading and feel free to share your thoughts! Don’t Forget to Follow us on Twitter or Subscribe us to Get the Latest Updates.

Share: Share on Facebook0Share on LinkedIn0Tweet about this on Twitter0Share on Google+0Share on Reddit0Buffer this pageDigg thisShare on StumbleUpon0Pin on Pinterest0

Comments (1)

  1. Wow, that’s what I was searching for, what
    a data! present here at this website, thanks admin of this web site.

Leave a Reply

Your email address will not be published. Required fields are marked *

Most Popular Posts

GoTo statement in PHP

Posted on 3 years ago


Table layout using DIV tags

Posted on 2 years ago


Mysql String Function FIND_IN_SET( )

Posted on 3 years ago


Post via e-mail in WordPress

Posted on 3 years ago