Sunday 22 July 2012

Integration of Secure EBS Payment Gateway in Magento



           Today I’m going to tell you about how to integrate Secure EBS Payment Gateway
 in Magento .


Steps for Integrating Secure EBS Payment Gateway in Magento :

       Secure EBS payment Gateway is default Module in Magento. Despite below, steps
 are help for Understanding or How module is integrated in magento.
You can download the module from below link

( I ) Follow Below steps :
       1)      Copy the folder Secureebs to magento\app\code\core\Mage\
       2)      Copy the file Mage_Secureebs.xml to magento\app\etc\modules\
       3)      Copy the folder secureebs to magento\app\design\frontend\base\default\template\
       4)      Add the file Mode.php inside magento\app\code\core\Mage\Adminhtml\Model\System\
Config\Source\
       5)      Enter your Account Id , Secret Key and select the Mode from the EBS
Payment Method control panel & Enable it.

 ( II ) Finally Need to update below file otherwise we will get Error :
Open File   \app\code\core\Mage\Secureebs\Block\Standard\Redirect.php

( III ) Below code is default code in redirect.php :
$name=$fname.” “.$lname;
$address=$street.”,”.$city.”,”.$state;
$mode=Mage::getSingleton(‘secureebs/config’)->getTransactionMode();
if($mode == ’1′)
{
$mode=”TEST”;
}
else
{
$mode=”LIVE”;
}
 Customize code : (Here we need to add below code)
$secretKey = Mage::getSingleton(‘secureebs/config’)->getSecretKey(); // Our SecretKey
$account_id = Mage::getSingleton(‘secureebs/config’)->getAccountId(); //account ID
$amt = $amount;
$refrence_no = $referenceno;
$return_url = $returnurl;
$mode = $mode;
 $string = “$secretKey|$account_id|$amt|$refrence_no|$return_url|$mode”;
// Should add ” | ” between parameters
 $secure_hash = md5($string); // Encrypt MD5 format
$form->addField(‘reference_no’, ‘hidden’, array(‘name’=>’reference_no’, ‘value’=>$referenceno));
$form->addField(‘amount’, ‘hidden’, array(‘name’=>’amount’, ‘value’=>$amount));
$form->addField(‘mode’, ‘hidden’, array(‘name’=>’mode’, ‘value’=>$mode));
$form->addField(‘return_url’, ‘hidden’, array(‘name’=>’return_url’, ‘value’=>$returnurl));
$form->addField(‘name’, ‘hidden’, array(‘name’=>’name’, ‘value’=>$name));
$form->addField(‘description’, ‘hidden’, array(‘name’=>’description’, ‘value’=>$desc));
$form->addField(‘address’, ‘hidden’, array(‘name’=>’address’, ‘value’=>$address));
$form->addField(‘postal_code’, ‘hidden’, array(‘name’=>’postal_code’, ‘value’=>$postalcode));
 $form->addField(‘secure_hash’,'hidden’,
array(‘name’=>’secure_hash’, ‘value’=>$secure_hash)); // this line need to add

( IV ) Enable Module from Admin panel :
After integrate this module , open magento admin panel , then enable Secure EBS Payment Gateway, and pass your secret Key and account ID.

For any magento customization contact:
Company : Parsys Media
Mumbai Office :
Mobile No : +91-8123481528(Ashish Khadpe)

61 comments:

  1. i did the same thing pasted all the files but unable to see the module in admin section navin547@gmail.com plz help

    ReplyDelete
  2. Hey, nice post...love the way you have presented the whole story...it's
    always good to read and get to know quality stuff...

    Do visit my page and leave a comment if you like any of it...

    Techiezens Payment Gateway

    ReplyDelete
  3. hey, Great Work, I am big fan of your ,
    i need a help from you .. actually i have a running site on Magento ver. 1.9.0.1. and i need to integrate HDFC payment gateway on it . I try every method shown on internet but it doesn't work . i try a magento extension on HDFC payment gateway (http://www.magentocommerce.com/magento-connect/hdfc-paymentgateway-1.html) but instead of working it take my site on maintenance .NOTHING WORK AT ALL , so overall i am in deep shit. I need a urgent working sol. on HDFC payment gateway .
    please help me out on this ,
    thanks
    regards
    Aditya

    ReplyDelete
  4. I am looking for a plugin to enable social login and sharing at my magento webstore
    Magento Store Permissions

    ReplyDelete
  5. Mobile Testing Training in Chennai
    We provide mobile testing training in Chennai with project support.Here the trainers who provide training have more than 8+ yrs of experience.Our training program is planned according to the students needs and requirement.
    Contact us: 8122241286
    Now a days mobile is the common thing everyone is using.We are seeing daily that new brands of mobile and new advanced versions of mobile are coming.Before every mobile is launched they are tested.So to know more about the Mobile testing that how a mobile is testing and what tools we require. You need to learn the mobile testing training.Now a days there is rapid growth in mobile development jobs.
    Contact us: 8122241286
    http://thecreatingexperts.com/magento-training-in-chennai/

    ReplyDelete

  6. Mobile Testing Training in Chennai
    We provide mobile testing training in Chennai with project support. Here the trainers who provide training have more than 8+ yrs of experience. Our training program is planned according to the student’s needs and requirement.
    Contact us: 8122241286
    http://thecreatingexperts.com/magento-training-in-chennai/

    ReplyDelete
  7. Thanks for sharing this Information, Got to learn new things from your Blog on MAGENTO.
    Ref link : http://thecreatingexperts.com/magento-training-in-chennai/

    ReplyDelete
  8. This comment has been removed by the author.

    ReplyDelete
  9. Thanks for sharing this Information, Got to learn new things from your Blog on Magento.
    Ref link : http://thecreatingexperts.com/magento-training-in-chennai/

    ReplyDelete
  10. Informative Content on magento Thanks for Sharing.

    ReplyDelete
  11. Nice Blog, thank you for sharing the useful information. Visit our Visit magento development company india

    ReplyDelete
  12. Checkout Magento1 and Magento2 EBS payment gateways
    https://magecomp.com/magento-2-ebs-payment.html

    ReplyDelete
  13. Thank you for this great help. It helped much to me and it will also help to many others.
    https://www.facebook.com/AppJetty

    ReplyDelete
  14. Thank you for sharing this helpful information. We are Payment gateway and Credit Card Processing service provider in Europe and worldwide.

    ReplyDelete
  15. Really very useful tutorial. Thanks for sharing! Magento Company UK

    ReplyDelete


  16. Today, I went to the beach with my kids. I found a sea shell and gave it to my 4 year old daughter and said "You can hear the ocean if you put this to your ear." She placed the shell to her ear and screamed. There was a hermit crab inside and it pinched her ear. She never wants to go back! LoL I know this is completely off topic but I had to tell someone!criar loja virtual

    ReplyDelete
  17. Thanks for sharing your integrating payment guideline. I like your blog thank you. if anyone interested for build mobile app for magento store. we are offering magento app extension. Mobicommerce is leading magento mobile app builder for magento ecommerce store.

    ReplyDelete

  18. Thank you a lot for giving everyone an exceptionally spectacular opportunity to read critical reviews from this web site. It really is very sweet and jam-packed with fun for me personally and my office fellow workers to search your website no less than 3 times in one week to see the newest issues you have. Not to mention, I am also always pleased with your unique solutions you serve. Selected two tips in this article are ultimately the best we have all had.suporte magento

    ReplyDelete
  19. Hey what a brilliant post I have come across and believe me I have been searching out for this similar kind of post for past a week and hardly came across this. Thank you very much and will look for more postings from you.

    hospedagem magento

    ReplyDelete
  20. Greetings from Los angeles! I'm bored at work so I decided to check out your website on my iphone during lunch break. I enjoy the info you provide here and can't wait to take a look when I get home. I'm shocked at how quick your blog loaded on my cell phone .. I'm not even using WIFI, just 3G .. Anyways, great blog! suporte magento

    ReplyDelete
  21. Thanks for sharing this fantastic article.I study your publish and me really adore it. Keep Posting:)
    Online Marketing Services
    SEO Agencies Bangalore
    seo pricing in india

    ReplyDelete
  22. Thanks for post amazing blog about Payment Gateway in Magento customization. keep up it.

    ReplyDelete
  23. That's wonderful stuff you've written up here. Been searching for it all around. Great blog.. Website Development Bangalore | Web Designing Company Bangalore

    ReplyDelete
  24. India Data Entry Services is a trusted Professional Magento Product Data Entry Services provider to e-commerce companies and platforms. Be it e-commerce product cataloguing or Product Upload Services, since our inception in 2010, we are striving to get all best o cater global organizations. The company is strategically positioned to support big or small e-Commerce Stores working on various domains such as fashion apparels, crockery items, furniture, accessories, shoes.

    ReplyDelete
  25. Get the Best Magento Product upload Services From Us With the drastic facelift that the retail sector has seen in the recent past, the internet gas become the hub for most of the small, medium as well as large scale businesses that are involved in the same.The ecommerce has seen a monumental growth prospective over the last couple of years and the trend is expected to remain the same for the foreseeable future as well. In this regard, what concerns the businesses and the online retail outlet is the data entry aspect. Tech data entry India provides a number of products and services to cater to the Magento Data Entry Services.

    ReplyDelete
  26. The knowledge of technology you have been sharing thorough this post is very much helpful to develop new idea. here by i also want to share this.
    Devops training in tambaram
    Devops training in velachery
    Devops training in annanagar

    DevOps online Training




    ReplyDelete
  27. Thank you for sharing such great information with us. I really appreciate everything that you’ve done here and am glad to know that you really care about the world that we live in
    Blueprism online training

    Blue Prism Training in Pune

    ReplyDelete
  28. All are saying the same thing repeatedly, but in your blog I had a chance to get some useful and unique information, I love your writing style very much, I would like to suggest your blog in my dude circle, so keep on updates.
    Data Science training in rajaji nagar | Data Science with Python training in chenni
    Data Science training in electronic city | Data Science training in USA
    Data science training in pune | Data science training in kalyan nagar


    ReplyDelete
  29. Nice information, valuable and excellent design, as share good stuff with good ideas and concepts, lots of great information and inspiration, both of which I need, thanks to offer such a helpful information here.

    Data Science training in kalyan nagar | Data Science training in OMR
    Data Science training in chennai | Data science training in velachery
    Data science training in tambaram | Data science training in jaya nagar

    ReplyDelete
  30. Outstanding blog post, I have marked your site so ideally I’ll see much more on this subject in the foreseeable future.
    python training Course in chennai
    python training in Bangalore
    Python training institute in kalyan nagar

    ReplyDelete
  31. Excellent post!!!. The strategy you have posted on this technology helped me to get into the next level and had lot of information in it.
    Best Devops Training in pune
    Devops Training in Chennai

    ReplyDelete
  32. Your good knowledge and kindness in playing with all the pieces were very useful. I don’t know what I would have done if I had not encountered such a step like this.

    Microsoft Azure online training
    Selenium online training
    Java online training
    Java Script online training
    Share Point online training


    ReplyDelete
  33. Nice list of free themes, though its not ideal to go for a free option for our business website but yes if its a blog then we could try out few free option. We would also working on blog post for our site wordpress website design

    ReplyDelete
  34. Informative post indeed, I’ve being in and out reading posts regularly and I see alot of engaging people sharing things and majority of the shared information is very valuable and so, here’s my fine read.
    click here download the videos
    click here download hall ticket
    click here download instructions
    click here designs
    click here download com.diconline.rakroid now

    ReplyDelete
  35. I wish to show thanks to you just for bailing me out of this particular trouble.As a result of checking through the net and meeting techniques that were not productive, I thought my life was done.
    Java training in Chennai

    Java Online training in Chennai

    Java Course in Chennai

    Best JAVA Training Institutes in Chennai

    Java training in Bangalore

    Java training in Hyderabad

    Java Training in Coimbatore

    Java Training

    Java Online Training

    ReplyDelete
  36. The Biggest benefit of Offshore web development is that it facilitates the clients to hire an offshore web development team at low cost from any part of the world. An offshore development center facilitates business Owners to Hire virtual team of Experts from various parts of the world. due the offshore Development Services A business owner is able to hire a global talent at low cost. Angular js devlopment

    ReplyDelete