Reading digits on the PinPad
The following routine allows you to collect an “open” numeric value from zero (0) to ten (10) on the PinPad.
ASCII interface
The function returns the empty string (null-terminated) in the NumeroDigitado field if the value is outside the interval 0 to 10, or even if successive collections are made in short time intervals (this value depends on from each PinPad manufacturer).
Important: Due to PCI restrictions, a minimum input of four (4) digits on the PinPad is required. For example, to get the digit seven (7), the user must enter ‘0007’.