Skip to content

Dansapp/paypro-ruby-v1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PayProOld

Ruby Client for PayPro API v1

License: MIT Gem Version circleci

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.

Requirements

  • Ruby >= 2.4.0

Installation

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'

Getting started

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

Documentation

For guides and code examples you can go to https://www.paypro.nl/developers/docs.

Contributing

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.

License

MIT

About

Old Ruby Client for PayPro API v1

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%