0.0
No commit activity in last 3 years
No release in over 3 years
Interface to handle payments via UnifiedPayment for rails app.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

> 4.0
 Project Readme

UnifiedPayment

Provides the necessary library through UnifiedPayment::Client to interact with UnifiedPayment Gateway to

  1. Initiate a payment
  2. Get payment status
  3. Reverse a completed payment

Also provides with MVC structure which can be extended according to the application.

Set Up

Add To Gemfile:

For Rails 3

gem 'unified_payment', '1.0.1'

For Rails 4

gem 'unified_payment', '1.1.0'

And run below command

bundle

bundle exec rails g unified_payment:install

bundle exec rake db:migrate

Also add your configurations in a yml file. For example, here is

config/unified_payment.yml
merchant_name: 'Your Merchant name at gateway'
base_uri: "http://127.0.0.1:5555" #same as stunnel's accept port.

To Run Specs

bundle

cd spec/dummy

bundle exec rake test_unified_payment

Credits

vinsol.com: Ruby on Rails, iOS and Android developers

Copyright (c) 2014 vinsol.com