CCAvenue Ruby Gem - Ruby Gem

19 Jul 2015

Motivation - I wrote this Gem whilst working on Printajoy. It enables you integrate CCAvenue Payment Gateway with your existing Ruby application.

What is a Gem? - Gem are packages that work as standalone application or can be used to enhance functionality of existing application.

Research

  1. Active Merchant CCAvenue - At first shot it didn't work. Beside it relies on Active Merchant.

Download - Rubygems.org: https://rubygems.org/gems/ccavenue

Source - Github: http://github.com/kishanio/CCAvenue-Ruby-Gem

Usage

Pre-requistes:

  1. Merchant Id
  2. Merchant Working Key
  3. Redirect Url

All the above three are available on the CCAvenue Merchant Dashboard

This should just work fine.

$ gem install ccavenue

Rails Specific Installation.

Gemfile

gem 'ccavenue'

Call bundle install

$ bundle install

Rails Specific Code

Licence - MIT