Payment terminals
The Infor device control does not include a standard class for payment
terminals as it does for other POS devices. Instead, the device control
provides an
IPaymentTerminal
interface that you can use to create
you own class for interacting with payment terminals.
The
IPaymentTerminal
interface implements these methods:
Reset
: Resets the payment terminal when the Cash Register is opened, or when there is no current transaction.UpdateTransaction
: Sends updated information to the payment terminal when the current transaction is altered, such as by adding or removing charges.RequestPayment
: Sends a payment request to the terminal. This method is called when the cashier clicks the button in the Cash Register.CancelRequestPayment
: Cancels a payment request.VoidTransaction
: Voids the current transaction.FinalizeTransaction
: Finalizes the current transaction. This method is called when the cashier clicks the button in the Cash Register.
When you create your project in Visual Studio, set the platform target to x86 and the target framework to .NET 3.5. Your project must include references to these assemblies, which are found in the folder where the Infor device control is installed:
- InforDevices.dll
- InforDevices.Common35.dll
- InforDevices.Controller.dll
After you compile your assembly, place it in the device control folder and use the Device Configuration tool to set up your payment terminal.