Socket
Book a DemoInstallSign in
Socket

solisoft-paypal_nvp

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

solisoft-paypal_nvp

0.1.2
bundlerRubygems
Version published
Maintainers
1
Created
Source

= Paypal NVP

Paypal NVP allow to connect your Ruby on Rails application to the Paypal NVP API.

== Installation

The recommended way is that you get the gem:

$ gem sources -a http://gems.github.com (you only have to do this once) $ sudo gem install solisoft-paypal_nvp

PaypalNVP need a paypal.yml file in your config directory.

All those fields are mandatory

sandbox: url: "https://api-3t.sandbox.paypal.com/nvp" user: "o.bonn_1237393081_biz_api1.solisoft.net" pass: "1237393093" cert: "AU2Yv5COwWPCfeYLv34Z766F-gfNAzX6LaQE6VZkHMRq35Gmite-bMXu"

live: url: "https://api-3t.paypal.com/nvp" user: "o.bonn_1237393081_biz_api1.solisoft.net" pass: "1237393093" cert: "AU2Yv5COwWPCfeYLv34Z766F-gfNAzX6LaQE6VZkHMRq35Gmite-bMXu"

== Example usage

p = PaypalNVP.new(true) # true mean "use sandbox" data = { :method => "MyPaypalMethod", :amt => 55 # other params needed } result = p.call_paypal(data) # will return a hash puts result["ACK"] # Success

FAQs

Package last updated on 10 Aug 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.