Load the Native Module

The device modules that are included with the Commerce Cloud Endless Aisle app are:

You can use these modules as a reference. (Only the JavaScript code is available, not the native code.)

Modules are located in the modules/iphone folder. Modules are written in JavaScript and Objective C.

Before you can accept payment, you load the native module using the code required, for example:

var adyen = require('com.demandware.adyen');

or

var verifone = require('com.demandware.verifone');

The object contains all the native methods for the implementation.

You then add functions as needed and include the module in tiapp.xml.

Related Links

Create a Payment Module

Accept Payment

Approve Payment

Cancel Payment

Cancel Server Transaction

Handle Errors

Support Manual Card Number Entry

Support Payment with Gift Cards

Display Whether the Payment Device Is Connected

Configure Device in Admin Dashboard

Support Barcode Scanner