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 *

Most Popular Posts

Learn React JS with simple Application

Posted on 1 year ago

Bhumi

How to use Triggers in MySQL

Posted on 6 years ago

Bhumi

Learn ElasticSearch in 10 Minutes

Posted on 2 years ago

Bhumi

Getting started with Amazon Web Services

Updated 18 years ago

Bhumi

Facade implementation in Laravel

Updated 18 years ago

Bhumi

Branching and Merging in Git

Updated 1 week ago

Bhumi

The Reader’s Poll – June 2015

Posted on 2 years ago

Bhumi

The Reader’s Poll – August 2014

Posted on 3 years ago

Bhumi

The Reader’s Poll – June 2014

Posted on 3 years ago

Bhumi

The Readers’ Poll – May 2014

Posted on 3 years ago

Bhumi

The Readers’ Poll – August 2013

Posted on 4 years ago

Bhumi