Exciting release!Introducing "safe npm". Learn more
Socket
Log inDemoInstall

connect-sdk-nodejs

Package Overview
Dependencies
7
Maintainers
2
Versions
68
Issues
File Explorer

Advanced tools

connect-sdk-nodejs

SDK to communicate with the Ingenico ePayments platform using the Ingenico Connect Server API

    4.8.0latest
    GitHub

Version published
Maintainers
2
Weekly downloads
399
decreased by-34.48%

Weekly downloads

Changelog

Source

4.8.0

  • Added:
    • Added property isRetriable to interface PaymentStatusOutput.
  • Security:
    • Updated the cookiejar version.

Readme

Source

Ingenico Connect Node.js SDK

Introduction

The Node.js SDK helps you to communicate with the Ingenico Connect 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

See the Ingenico ePayments Developer Hub for more information on how to use the API.

Structure of this repository

This repository consists out of three main components:

  1. The source code of the SDK itself: /src
  2. The JSON schemas used to validate requests: /schemas
  3. Unit and 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 connect-sdk-nodejs

Building the repository

From the root of the project install all dependencies, then compile the code:

npm install npm run build

Testing

There are two types of tests:

  1. Unit tests. These will work out-of-the-box.
    Run these tests as follows:

    npm run test:unit
  2. Integration tests. Before you can run these, you first need to copy file __tests__/config.json.dist to __tests__/config.json and replace all values as needed.
    Run these tests as follows:

    npm run test:integration

You can also run both types of tests together as follows:

npm run test

FAQs

Last updated on 09 Mar 2023

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket
support@socket.devSocket SOC 2 Logo

Product

  • Package Issues
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc