direct-sdk-client-js
v1.0.0
Published
The JavaScript based client SDK that can be used for client to server communication between you and the Ingenico platform
Downloads
1
Readme
Ingenico Direct JavaScript SDK
The JavaScript SDK helps you to communicate with the Ingenico Direct Client API. It's primary features are:
- Handling of all the details concerning the encryption of the payment details,
- Convenient JavaScript wrapper around the API calls and responses,
- Localization of various labels and messages,
- User-friendly formatting (masking) of payment data such as card numbers and expiry dates,
- Validation of input, and
- A check to determine to which payment provider a card number is associated.
Usage
See the Ingenico Direct Support Site for more information on how to use the SDK.
Development
Requirements
- Node v12+
- NPM v6+
Installation
From the root of the project run npm ci
to install the required dependencies.
Build
Run npm run build
.
A distributable folder, /dist/
, will be created, containing both an original and minified version of:
directsdk.noEncrypt.js
- Fully bundled SDK source without the encryption components (default)directsdk.js
- Fully bundled SDK source