
Description
===========
Euronet.exe connects to a Euronet POS device and sends a SALE Request. 
It outputs the result of the execution (00 or ERRORCode) as well as the Respose of the device - in a case of a successful execution;
Euronet.ini file is the configuration file where we choose between serial or TCP Connection.

Basic Configuration 
===================
Serial Port
If the device is being connected via a serial port, set the variables ComPort and BaudRate in the euronet.ini file. Set variable TCPconnect=False 

TCP
If the device is being connected via a TCP/IP interface set the variables LocalIP and Port in the euronet.ini file. Set variable TCPconnect=True 

Execution
=========
Example: .\Euronet.exe  a55_3000001 000000000005 

The exe accepts two arguments. 
a. A unique ID for each transaction. (p.e. a55_3000001)
b. The amount. It has to be 12 bytes long(leading zeros). The last two digits are the decimals. (p.e. 000000000005 = 0.05 Eur)

Response
========
a. Result:00 or Result:ERRORCODE is the result of the execution. (Euronet Appendix A – Error Codes)
b. ResponseCode: XX is the response from the device. (Euronet Appendix B – Transactions’ Response Codes)

Tests 
=======
Run tests.bat. This script will run the first tests and the results will be stored in the separate tests_results folder. 
If the result of the test is not 00 or 0000, we should refer to Appendix A – Error Codes for the problem cause. 
The DLL VERIFONE FAQ has a list of the most common error codes and the suggested solutions.