Skip to content

Ruby gem for doing payment authorizations using the Plug N Pay payment processor.

License

Notifications You must be signed in to change notification settings

VenueDriver/ruby-plugnpay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ruby-plugnpay

Ruby gem for doing payment authorizations using the Plug N Pay payment processor. Uses HTTParty for HTTP requests.

Installation

script/plugin install git://github.com/angelmg/ruby-plugnpay.git

Usage


  response = PlugNPay::Service.new( 'publisher-name' => publisher_name ).
    authorize(
      'card-number' => '4111111111111111',
      'card-name' => 'cardtest',
      'card-amount' => '1',
      'card-exp' => '01/10')
  puts "Your order ID is: " + response['orderID']

About

Ruby gem for doing payment authorizations using the Plug N Pay payment processor.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages