0.01
No commit activity in last 3 years
No release in over 3 years
Paytm integration into spree application.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

spree_paytm

Paytm payment gateway integration for spree

For live demo please click here

You can also look at demo source code at https://github.com/monika-khatri/spree-paytm-demo

Installation

  1. Add this extension to your Gemfile with this line:

     gem 'spree_paytm', :github => 'monika-khatri/spree_paytm'
    
  2. Install the gem using Bundler:

     bundle install
    
  3. Add migrations from extension:

     rails g spree_paytm:install
    
  4. Restart your server

  5. Add new payment method with provider

     Spree::Gateway::Paytm
    
  6. Set all credentials from your paytm sandbox account. If you don't have it you can use from Paytm Discussion Forum

  7. Set CALLBACK_URL to http://HOSTNAME/paytm/confirm in you sandbox web application. In case you are using test credentials from above link you can set CALLBACK_URL by overriding index method of app/controller/spree/paytm_controller.rb

     @param_list['CALLBACK_URL'] = 'http://HOSTNAME/paytm/confirm'