Socket
Socket
Sign inDemoInstall

paypal-wrapper

Package Overview
Dependencies
1
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    paypal-wrapper

Paypal REST API Wrapper


Version published
Weekly downloads
1
Maintainers
1
Install size
3.70 MB
Created
Weekly downloads
 

Readme

Source

paypal-wrapper

Paypal-Wrapper is a NodeJS wrapper for the PayPal REST API.

Not only does it hit the API for you, it also has methods to help build the complex objects we need to send to PayPal.

Pure wrapper and send object builder, responds with exactly what the PayPal REST API will respond with.

Installation


 npm i paypal-wrapper --save

Change your Access Token

1: Create-a-Payment

2: Execute-a-Payment

1: Create-a-Billing plan

2: Create-a-Billing agreementID

3: Create-a-Execute Billing Agreement

Methods

Payments - Create Payment

Reguires a Payment Object, and Callback


  paypalWrapper.payments.payment.create(paymentObj, cb);

Payments - Get Payment

Reguires a Payment ID, and Callback


  paypalWrapper.payments.payment.get(paymentID, cb);

Payments - Update Payment

Reguires a Payment ID, Ops Array, and Callback


  paypalWrapper.payments.payment.update(paymentObj, cb);

Payments - Execute Payment

Reguires a Payment ID, Ops Array, and Callback


  paypalWrapper.payments.payment.update(paymentObj, cb);

Keywords

FAQs

Last updated on 09 May 2017

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