This library provides a Forked Ruby client to connect with the PayProOld API. It is renamed to PayProOld
so it makes it easier to use the new API of PayPro which has the same name.
- Ruby >= 2.4.0
Installation is pretty standard:
$ gem install paypro-old
if you'd rather install the PayProOld client using bundler
you can put this in your Gemfile:
source 'https://rubygems.org'
gem 'paypro-old'
Or directly from the GitHub repository:
gem 'paypro-old', git: 'https://github.com/Dansapp/paypro-ruby-v1.git'
Example of creating a payment:
require 'paypro-old'
client = PayProOld::Client.new('YOUR_API_KEY')
client.command = 'create_payment';
client.params = { amount: 500, consumer_email: 'test@paypro.nl', pay_method: 'ideal/INGBNL2A' }
client.execute
For guides and code examples you can go to https://www.paypro.nl/developers/docs.
If you want to contribute to this project you can fork the repository. Create a new branch, add your feature and create a pull request. We will look at your request and determine if we want to add it.