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

onlinepayments-sdk-nodejs

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

onlinepayments-sdk-nodejs

SDK to communicate with the Online Payments platform using the Online Payments Server API

  • 4.4.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.5K
decreased by-3.61%
Maintainers
1
Weekly downloads
 
Created
Source

Online Payments Node.js SDK

Introduction

The Node.js SDK helps you to communicate with the payment platform server API. Its primary features are:

  • convenient JavaScript wrapper around the API calls,
  • authentication of all calls
  • logging support by proxying log calls to a custom user defined logger instance
  • validation of input and
  • a logfile obfuscater

Structure of this repository

This repository consists out of two main components:

  1. The source code of the SDK itself: /src/
  2. The source code of the example integration tests: /tests/

Requirements

Node.js 8 or higher is required.

Installation

From the folder where your package.json is located, run the following command to install the SDK:

npm i onlinepayments-sdk-nodejs

Building the repository

From the root of the project install all dependencies:

npm install

Running tests

The example integration tests run against a mock server set up with Prism, which returns a mock response based on the current OpenAPI specification of Online Payments.

The project must first be set up with the following commands:

npm install
npm ci

After that the tests can be run with the following commands:

npm run test

FAQs

Package last updated on 04 Nov 2022

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