Display Whether the Payment Device Is Connected

The Commerce Cloud Endless Aisle app appears whether the payment device is communicating with the app. You do so by implementing the following functions in your module:

moduleName.verifyDeviceConnection = function() {
    var connected = adyen._verifyDeviceConnection({});
    return connected;
moduleName.getNoDeviceConnectionImage = function() {
    return "demandware/images/checkout/adyenPaymentTerminal.png";
moduleName.getNoDeviceConnectionMessage = function() {
    return _L("No Connection To Payment Device Message Adyen");

The verifyDeviceConnection() function returns true or false, depending on whether the payment device is connected and ready to communicate with the app.

The getNoDeviceConnectionImage function returns an image that provides instructions to the user about how to connect the device.

The getNoDeviceConnectionMessage function returns a string when there is no payment device connected.

Related Links

Create a Payment Module

Load the Native Module

Accept Payment

Approve Payment

Cancel Payment

Cancel Server Transaction

Handle Errors

Support Manual Card Number Entry

Support Payment with Gift Cards

Configure Device in Admin Dashboard

Support Barcode Scanner

X Privacy Update: We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used. By continuing to use this site you are giving us your consent to do this. Privacy Policy.