Configure an Ingenico device
After you’ve downloaded the Payroc Cloud Middleware, use the following guides to configure your Ingenico payment device:
- To set up an Ingenico payment device on a Windows host machine, go to Configure an Ingenico device for a Windows host machine.
- To set up an Ingenico payment device on a Linux host machine, go to Configure an Ingenico device for a Linux host machine.
Integration steps
- Configure the native libraries.
- Configure the payconfig.xml file.
- Run the middleware.
Configure an Ingenico 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 Ingenico, go to libs > ingenico > 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-ingenico 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 Ingenico device for a Linux host machine
Step 1. Configure the native libraries
- Add a new file in
/etc/udev/rules.d
and name itusb.rules
. - Add the following contents to the file:
SUBSYSTEM=="usb", MODE="0666"
- 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-ingenico.sh
- Run the following script to start the middleware:
$ ./start-ingenico.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: