Configure an IDTech device

After you’ve downloaded the Payroc Cloud Middleware, use the following guides to configure your IDTech payment device:

Integration steps

  1. Configure the native libraries.
  2. Configure the payconfig.xml file.
  3. Run the middleware.

Step 1. Configure the native libraries

  1. Open the folder that you extracted the Payroc Cloud Middleware to.
  2. Locate the folder that contains the library that you want to use, for example, to use 64-bit Windows with IDTech, go to libs > idtech > nativeLibsWindows > 64bit.
  3. Copy the contents of the folder into the root folder.

Step 2. Configure the payconfig.xml file

FieldValue
apiKeyEnter your Payroc App API key.
integrationIdEnter your integrationId.
terminalIdEnter your processingTerminalId.
deviceTypeIndicates the type of payment device you are using. Enter IDTECH.
sdkModeIndicates the SDK mode. Enter one of the following values:
LIVE - Production mode
TEST - Test environment
DEV - Developer mode
logLevelIndicates the logging level for the SDK. Enter one of the following values:
LEVEL_FUL - Verbose
LEVEL_INFO - Informational messages
LEVEL_ERROR - Errors only
LEVEL_NONE - Disables logging
portNameFor an IDTech devices, do not edit this value.
emvTypeIndicates the EMV processing type you want the device to support. Enter one of the following values:
STANDARD - Standard EMV processing.
QUICK_CHIP - Faster EMV transaction flow.
inputMethodIndicates the EMV processing type you want the device to support. Enter one of the following values:
SWIPE_OR_INSERT_OR_TAP - Cardholder can swipe, insert, or tap their card.
SWIPE_OR_INSERT - Cardholder can swipe or insert their card.
debitAIDPreferenceFor an IDTech devices, do not edit this value.
disableOnDeviceSignatureFor an IDTech devices, do not edit this value.
enableDeviceLogsIndicates whether the device collects debug logs. Enter one of the following values:
true - Device collects debug logs.
false - Device does not collect debug logs.

Step 3. Run the middleware

To run the middleware, double-click the start-idtech batch file in the root folder.

In the logs, we output the serial number of the device, which you need to integrate with Payroc Cloud.

Guides

To integrate with our API so that you can send instructions to a payment device, go to our guides:

Step 1. Configure the native libraries

  1. Create a new file in /etc/udev/rules.d and name the file usb.rules.
  2. Add the following contents to the file: SUBSYSTEM=="usb", ATTRS{idVendor}=="0acd", MODE="0666"
  3. Create a new file in /etc/ld.so.conf.d and name the file idtech_libs.conf.
  4. In the idtech_libs.conf file, add the path to the IDTech middleware package that contains the libraries for your Linux machine.
  5. Run the following command to load the libraries: $ sudo ldconfig

Step 2. Configure the payconfig.xml file

FieldValue
apiKeyEnter your Payroc App API key.
integrationIdEnter your integrationId.
terminalIdEnter your processingTerminalId.
deviceTypeIndicates the type of payment device you are using. Enter IDTECH.
sdkModeIndicates the SDK mode. Enter one of the following values:
LIVE - Production mode
TEST - Test environment
DEV - Developer mode
logLevelIndicates the logging level for the SDK. Enter one of the following values:
LEVEL_FUL - Verbose
LEVEL_INFO - Informational messages
LEVEL_ERROR - Errors only
LEVEL_NONE - Disables logging
portNameFor an IDTech devices, do not edit this value.
emvTypeIndicates the EMV processing type you want the device to support. Enter one of the following values:
STANDARD - Standard EMV processing.
QUICK_CHIP - Faster EMV transaction flow.
inputMethodIndicates the EMV processing type you want the device to support. Enter one of the following values:
SWIPE_OR_INSERT_OR_TAP - Cardholder can swipe, insert, or tap their card.
SWIPE_OR_INSERT - Cardholder can swipe or insert their card.
debitAIDPreferenceFor an IDTech devices, do not edit this value.
disableOnDeviceSignatureFor an IDTech devices, do not edit this value.
enableDeviceLogsIndicates whether the device collects debug logs. Enter one of the following values:
true - Device collects debug logs.
false - Device does not collect debug logs.

Step 3. Run the middleware

To run the middleware, complete the following steps:

  1. Run the following command to make the start.sh file executable: $ chmod +x start-idtech.sh
  2. Run the following script to start the middleware: $ ./start-idtech.sh

In the logs, we output the serial number of the device, which you need to integrate with Payroc Cloud.

Guides

To integrate with our API so that you can send instructions to a payment device, go to our guides: