
Security News
Nx npm Packages Compromised in Supply Chain Attack Weaponizing AI CLI Tools
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
= Paypal NVP
Paypal NVP allow to connect your Ruby on Rails application to the Paypal NVP API.
== Installation
You can install the gem in one of two ways. The first is using the gem install command from the command line:
$ gem install paypal_nvp
And the second is using Bundler. Simply add gem 'paypal_nvp'
to your gemfile, then install with the following command:
$ bundle install
PaypalNVP need an optional paypal.yml file in your config directory (Rails App). Or you can specify parameter within the constructor
sandbox: url: "https://api-3t.sandbox.paypal.com/nvp" user: "o.bonn_1237393081_biz_api1.solisoft.net" pass: "1237393093" cert: "AU2Yv5COwWPCfeYLv34Z766F-gfNAzX6LaQE6VZkHMRq35Gmite-bMXu" open_timeout: 3 read_timeout: 60
live: url: "https://api-3t.paypal.com/nvp" user: "o.bonn_1237393081_biz_api1.solisoft.net" pass: "1237393093" cert: "AU2Yv5COwWPCfeYLv34Z766F-gfNAzX6LaQE6VZkHMRq35Gmite-bMXu" open_timeout: 3 read_timeout: 60
== Example usage
p = PaypalNVP.new(true) # true mean "use sandbox"
p = PaypalNVP.new(true, { :user => "o.bonn_1237393081_biz_api1.solisoft.net", :pass => "1237393093", :cert => "AU2Yv5COwWPCfeYLv34Z766F-gfNAzX6LaQE6VZkHMRq35Gmite-bMXu", :url => "https://api-3t.sandbox.paypal.com/nvp", :open_timeout => 3, :read_timeout => 60, })
data = { :version => "50.0", # Default is 50.0 as well... but now you can specify it :method => "MyPaypalMethod", :amt => "55" # other params needed } result = p.call_paypal(data) # will return a hash puts result["ACK"] # Success
== 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 paypal_nvp demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.