paypaljs
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

PayPalJS

Unofficial v2 wrapper for the PayPal API.

Getting Started

const paypal = new PayPal({
    clientId: "",
    clientSecret: "",
    mode: "SANDBOX",
});

paypal.authenticate((newPayPalInstance) => {
})

The newPayPalInstance has to be used for following requests.

Invoicing

Methods Available:

    paypal.Invoicing.createDraftInvoice(data)
    paypal.Invoicing.sendInvoice(invoiceId, data)

Contributing

Create a pull request on GitHub.

Readme

Keywords

none

Package Sidebar

Install

npm i paypaljs

Weekly Downloads

1

Version

1.0.2

License

ISC

Unpacked Size

14 kB

Total Files

12

Last publish

Collaborators

  • tehivan