Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@elevatormedia/paymigo

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@elevatormedia/paymigo

TypeScript wrapper and extension of PayPal Node.js SDK and REST APIs

  • 0.1.5-alpha.7
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
2
Created
Source

paymigo

TypeScript wrapper and extension of PayPal's Node.js Checkout SDK.

Purpose

PayPal is one of the premiere ecommerce service providers and Node.js has only been rising in popularity. However, PayPal's Checkout Node SDK lacks types and an easy-to-use API client for a better developer experience. This library serves to expose all existing funtionality of @paypal/checkout-server-sdk with an easy to use API, TS-first support with static typing for new clients as well as legacy types, and extend existing functionality to encompass more of PayPal's REST API's potential.

As of this writing, it's core implementation is built around the original client then extends functionality by providing more request options and a client that's easier to implement. In the future, we plan to rebuild to core client, but our primary focus will be providing a simple and cohesive developer experience to making using PayPal's platform easier.

Getting Started

First, install the library with your preferred package manager:

npm

npm install @elevatormedia/paymigo

yarn

yarn add @elevatormedia/paymigo

Configuration requires a valid Client ID and Secret Key recovered from your PayPal developer dashboard. We recommend adding them to your environment variables.

The Paymigo client is then created by pairing those with your environment type:

import PaymigoClient from '@elevatormedia/paymigo';

const client = new PaymigoClient({
    mode: 'sandbox',
    clientId: '<CLIENT_ID>',
    secretKey: '<SECRET_KEY>',
});

Keywords

FAQs

Package last updated on 29 Oct 2021

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc