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 TwitterShare on Google+0Buffer this pageDigg thisShare on Reddit0

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

How to get started with AngularJS

Posted on 2 years ago

Bhumi

How to install zend framework on wamp

Posted on 4 years ago

Bhumi

Five Reasons Why You Should Go With PHP

Posted on 4 years ago

Bhumi

An Introduction to WordPress Action Hooks

Posted on 4 years ago

Bhumi

How to convert Object to array in PHP

Posted on 1 year ago

Bhumi

Facade implementation in Laravel

Updated 3 weeks ago

Bhumi

MySQL coalesce() function

Updated 17 years ago

Bhumi

How to use JavaScript Promise API?

Updated 17 years ago

Bhumi

What are Lambdas and Closures in PHP?

Updated 17 years 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