Home - max-power/paymill-ruby GitHub Wiki

Installation

Add this line to your application's Gemfile:

gem 'paymill'

And then execute:

$ bundle

Or install it yourself as:

$ gem install paymill

Authentication & Configuration

To authenticate at the Paymill API, you need the private key of your test or live account.

Paymill.api_key = 'f468bc297970c4d8a27f6b18ab9e5042'

or

Paymill.configure do |config]
   config.api_key = 'f468bc297970c4d8a27f6b18ab9e5042'
end

Usage