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.

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 *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Most Popular Posts

To prevent caching in web browser

Posted on 7 years ago


How to use HTML5 AutoFocus attribute

Posted on 3 years ago


How To Repair MySQL Table

Posted on 7 years ago