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.


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

Download -

Source - Github:



  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.


gem 'ccavenue'

Call bundle install

$ bundle install

Rails Specific Code

Licence - MIT