3 - MTPPSCRAPCL Functions
IPAD, DynaPro, DynaPro Go, and DynaPro Mini| PIN Encryption Devices | Programmer’s Reference (Microsoft Windows Store)
Page 29
3.38
confirmAmount
This function prompts the user to confirm the transaction amount. The amount should be set by using
. The event associated with this function is
int confirmAmount(
int waitTime,
int tones);
Parameter
Description
waitTime
Time the device will wait for the user to confirm the amount
beepTones
Tone to use:
0 - None
1 - Single Beep
2 - Double Beep
Return Value:
Returns a value (0: Success, Non-Zero: Error)
3.39
selectCreditDebit
This function prompts the user to confirm the card type. The event associated with this function is
int selectCreditDebit(
int waitTime,
int beepTones);
Parameter
Description
waitTime
Time the device will wait for the user to select Credit or Debit
beepTones
Tone to use:
0 - None
1 - Single Beep
2 - Double Beep
Return Value:
Returns a value (0: Success, Non-Zero: Error)
3.40
requestPIN
This function wraps device command
0x04
. It directs the device to prompt the user to enter a PIN by
displaying one of five predetermined messages and playing a specified sound. The messages on the
device’s screen look like the figures below. The event associated with this function is
int requestPIN(
int waitTime,
int pinMode,
int maxPINLength,