Support Barcode Scanner

If the payment terminal supports barcode scanning, it's optional whether or not you integrate that functionality into the payment module. The result of a barcode scan is a product search, which can be initiated with this code:
Alloy.Router.navigateToProductSearch({query:barcode, category_id:Alloy.CFG.root_category_id});

In this example, the barcode variable is the result that was returned from the device from the scan.

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

Display Whether the Payment Device Is Connected

Configure Device in Admin Dashboard

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.