This SDK example has been rebranded to Worldline. As part of the rebranding the example has moved to https://github.com/Worldline-Global-Collect/connect-sdk-nodejs-example.
The Node.js SDK example helps you to communicate with the Ingenico Connect Server API. Its primary features are:
- an overview of all API calls
- examples of POST payloads
- example of how to integrate the SDK in a Node.js environment
- example on how to implement your own logger
See the Ingenico ePayments Developer Hub for more information on how to use the SDK.
This repository consists out of three main components:
- The webserver
server.js
and/views/
- Example payloads:
/stubs/
- Example logger class:
/util/logger.js
- From the root of the project install all dependencies:
npm install
. - Copy
config.json.dist
toconfig.json
and replace the template values by actual values. - Run
node server.js
- Navigate to
http://localhost:<portnumber>/