Configure an IDTech device
After you’ve downloaded the Payroc Cloud Middleware, use the following guides to configure your IDTech payment device:
- To set up an IDTech payment device on a Windows host machine, go to Configure an IDTech device for a Windows host machine.
- To set up an IDTech payment device on a Linux host machine, go to Configure an IDTech device for a Linux host machine.
Integration steps
- Configure the native libraries.
- Configure the payconfig.xml file.
- Run the middleware.
Configure an IDTech device for a Windows host machine
Step 1. Configure the native libraries
- Open the folder that you extracted the Payroc Cloud Middleware to.
- 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.
- Copy the contents of the folder into the root folder.
Step 2. Configure the payconfig.xml file
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:
Configure an IDTech device for a Linux host machine
Step 1. Configure the native libraries
- Create a new file in
/etc/udev/rules.d
and name the fileusb.rules
. - Add the following contents to the file:
SUBSYSTEM=="usb", ATTRS{idVendor}=="0acd", MODE="0666"
- Create a new file in
/etc/ld.so.conf.d
and name the fileidtech_libs.conf
. - In the
idtech_libs.conf file
, add the path to the IDTech middleware package that contains the libraries for your Linux machine. - Run the following command to load the libraries:
$ sudo ldconfig
Step 2. Configure the payconfig.xml file
Step 3. Run the middleware
To run the middleware, complete the following steps:
- Run the following command to make the start.sh file executable:
$ chmod +x start-idtech.sh
- 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: