Socket
Socket
Sign inDemoInstall

palidate

Package Overview
Dependencies
0
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    palidate

A library to validate your PayPal Integration


Version published
Weekly downloads
4
increased by300%
Maintainers
2
Install size
5.06 kB
Created
Weekly downloads
 

Readme

Source

palidate-node

A nodejs library to test your PayPal Rest Integration.

Install the module and use the starting code below. (Use --save-dev if you want to use as a DEV dependency)

npm install palidate --save


var options = {
  env: 'sandbox',
  clientId: 'Your Client ID',
  clientSecret: 'Your Client Secret'
}

palidate(options, function(err, res){
  if(err){
    console.log(err)
  } else {
    console.log(res)
  }
})

The code above tests your credentials and will return a status variable that is either "pass" or "fail". If your credentials "pass" then you will receive your access token back in your result to make your PayPal API calls. Great to test out your PayPal Rest credentials, or use the resulting access token to further develop.

https://www.npmjs.com/package/palidate

This module is NOT officially linked to or apart of PayPal.com and is not directly supported by PayPal.

Keywords

FAQs

Last updated on 11 Dec 2015

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc