ingenico_device

A Flutter Package for Ingenico mPOS Device Connection. Support for Ingenico SDK Version 2.8.0.

Ingenico

Pub License: MIT

initialize()

Initialize Ingenico SDK with your API Key, API Base URL and Client Version.

await IngenicoDevice.ingenicoInitialize("API-KEY", "https://uatmcm.roamdata.com/", "4.2.3");

login()

Login to validate authenticity for API access with username and password.

await IngenicoDevice.ingenicoLogin("UserName", "Password");

setDeviceType()

Set the Device Type for the app to use. The application sets the device to RUADeviceTypeRP750x and this method allows you to overwrite it to any of the Supported Devices.

await IngenicoDevice.setDeviceType();

setupDevice()

_Finalizes setup of a selected and intialized device from either connect()or selectDevice(). Please note this also requires that you are logged in to the API.

await IngenicoDevice.setUpDevice();

_Search for Ingenico MOB55 device

await IngenicoDevice.search();

processCreditSaleTransactionWithCardReader(CreditSaleTransactionRequest)

Processes a Credit Card transaction.

await IngenicoDevice.creditSale("INR", 1000);