4.21.0 • Published 16 days ago

onlinepayments-sdk-nodejs v4.21.0

Weekly downloads
-
License
SEE LICENSE IN LI...
Repository
github
Last release
16 days ago

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
4.21.0

16 days ago

4.20.0

1 month ago

4.19.0

2 months ago

4.18.0

4 months ago

4.17.0

5 months ago

4.15.0

7 months ago

4.16.0

6 months ago

4.11.0

11 months ago

4.12.0

10 months ago

4.13.0

9 months ago

4.14.0

8 months ago

4.10.0

11 months ago

4.9.0

12 months ago

4.8.0

1 year ago

4.7.0

1 year ago

4.6.0

1 year ago

4.5.0

1 year ago

4.4.0

1 year ago

4.5.1

1 year ago

4.1.0

2 years ago

4.0.1

2 years ago

4.3.0

2 years ago

4.2.0

2 years ago

3.9.0

2 years ago

3.4.0

2 years ago

3.3.0

2 years ago

4.0.0

2 years ago

3.4.2

2 years ago

3.4.1

2 years ago

3.2.0

2 years ago

3.1.0

2 years ago

3.0.0

2 years ago