0.1.0 • Published 7 years ago

paypal-wrapper v0.1.0

Weekly downloads
6
License
ISC
Repository
-
Last release
7 years ago

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);
0.1.0

7 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago