New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

paypal-wrapper

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

paypal-wrapper

Paypal REST API Wrapper

0.1.0
latest
npm
Version published
Weekly downloads
80
100%
Maintainers
1
Weekly downloads
 
Created
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

paypal

FAQs

Package last updated on 09 May 2017

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