Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Package to simplify including the Adyen payments services into a Ruby application.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
spec
tasks
.gitignore
.kick
LICENSE
README.rdoc
Rakefile
TODO
adyen.gemspec
yard_extensions.rb

README.rdoc

Adyen

Package to simplify including the Adyen payments services into a Ruby on Rails application.

Adyen integration relies on three modes of communication between Adyen, your server and your client/customer:

  • Client-to-Adyen communication using forms and redirects.

  • Adyen-to-server communications using notifications.

  • Server-to-Adyen communication using SOAP services.

This library aims to ease the implementation of all these modes into your application. Moreover, it provides matchers, assertions and mocks to make it easier to implement an automated test suite to assert the integration is working correctly.

Installation

Bundler / Rails 3: Add the following line to your Gemfile:

gem 'adyen'

Rails 2.x: Add the following line to your environment.rb and run rake gems:install to make the Adyen functionality available in your Rails project:

config.gem 'adyen'

The Adyen gem will happily use REXML for communication with Adyen’s SOAP API, however, if you have the Nokogiri gem installed and required the gem will use that for performance.

Generators

The gem ships with a generator for Rails 3. To create an ActiveRecord migration, mode, and ActionController for the notifications send by Adyen, run the following:

$ rails generate adyen:notification

Usage

See the project wiki on wiki.github.com/wvanbergen/adyen to get started. Complete RDoc documentation for the project can be found on rdoc.info/projects/wvanbergen/adyen.

About

This package is written by Michel Barbosa and Willem van Bergen for Floorplanner.com, and made public under the MIT license (see LICENSE). Its is currently maintained by Willem van Bergen, Stefan Borsje and Eloy Duran. We are not affiliated with Adyen B.V. The software comes without warranty of any kind, so use at your own risk.

Something went wrong with that request. Please try again.