Paytm payment gateway integration for spree
-
Add this extension to your Gemfile with this line:
gem 'spree_paytm', :github => 'niri4/spree_paytm_gateway'
-
Install the gem using Bundler:
bundle install
-
Add migrations from extension:
rails g spree_paytm:install
-
Restart your server
-
Add new payment method with provider
Spree::Gateway::Paytm
-
In admin admin/payment_methods in paytm section add your hostname like http://HOSTNAME example http://localhost:3000 in SITE URL: