Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Tranzila gateway support for ActiveMerchant

branch: master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 test
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.markdown
Octocat-spinner-32 Rakefile
Octocat-spinner-32 VERSION
Octocat-spinner-32 active_merchant_tranzila.gemspec


Tranzila gateway support for ActiveMerchant.



First you need the ActiveMerchant gem / rails-plugin installed. More info about ActiveMerchant installation can be found in ActiveMerchant documentation.

As a Rails plugin

To install ActiveMerchantTranzila in your rails app you can just do:

./script/plugin install git://

As a gem

To install ActiveMerchantTranzila in your rails app you can just do:

config.gem 'active_merchant_tranzila'


Signup on Tranzila site to obtain your own 'supplier' id.

Example Usage

Once you've configured the Ogone settings you need to set up a leaving page with in your view:

gateway = => 'YOUR_SUPPLIER_ID', :currency => 1)
creditcard =
  :number => '4444333322221111',
  :month => '09',
  :year => '2015',
  :verification_value => '333'

response = gateway.purchase(
  100, # cents here
  { :cred_type => '1', :myid => '306122847' }


Note on Patches/Pull Requests

  • Fork the project.
  • Make your feature addition or bug fix.
  • Add tests for it. This is important so I don't break it in a future version unintentionally.
  • Commit, do not mess with rakefile, version, or history. (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
  • Send me a pull request. Bonus points for topic branches.


Copyright (c) 2010 Astrails Ltd. See LICENSE for details.

Something went wrong with that request. Please try again.