
Security News
New Website “Is It Really FOSS?” Tracks Transparency in Open Source Distribution Models
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
= Paypal NVP
Will Paypal allow to connect your Ruby on Rails application to the Paypal NVP API. It's based on the Paypal NVP Gem https://github.com/solisoft/paypal_nvp but completely rewritten.
== Installation
The recommended way is that you get the gem:
$ sudo gem install will_paypal
Specify the API-Credentials within the constructor, add a logger. You can also use a 'settings.yml' to put everything there
sandbox: url: "https://api-3t.sandbox.paypal.com/nvp" (default) user: "o.bonn_1237393081_biz_api1.solisoft.net" password: "1237393093" signature: "AU2Yv5COwWPCfeYLv34Z766F-gfNAzX6LaQE6VZkHMRq35Gmite-bMXu" version: "72.0" (default)
live: url: "https://api-3t.paypal.com/nvp" (default) user: "o.bonn_1237393081_biz_api1.solisoft.net" password: "1237393093" signature: "AU2Yv5COwWPCfeYLv34Z766F-gfNAzX6LaQE6VZkHMRq35Gmite-bMXu" version: "72.0" (default)
== Example usage
p = WillPaypal.new(:user => Settings.payment.paypal.merchant, :password => Settings.payment.paypal.pass, :sandbox => Settings.payment.paypal.sandbox, :signature => Settings.payment.paypal.cert, :version => "72.0", :logger => logger)
data = { :method => "MyPaypalMethod", :amt => "55" # other params needed } result = p.call_paypal(data) # will return a hash puts result[:parsed_body]["ACK"] # Success
The Result-Hash looks like that:
:parsed_body=>{
"TIMESTAMP"=>"2011-05-19T00:25:19Z",
"BUILD"=>"1882144",
"VERSION"=>"72.0",
"CORRELATIONID"=>"correlationid",
"TOKEN"=>"mytoken",
"ACK"=>"Success"
},
:status=>"200",
:body=>"TOKEN=mytoken&TIMESTAMP=2011%2d05%2d19T00%3a25%3a19Z&CORRELATIONID=correlationid&ACK=Success&VERSION=72%2e0&BUILD=1882144"
== PAYPAL API Documentation
https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/howto_api_reference
FAQs
Unknown package
We found that will_paypal demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
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.
Security News
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.