int getProcessUpdate()

This function requests the current state of the in-progress transaction. This function CAN be called while the device is busy. Possible values are as follows:

8001: The transaction has started.
8002: The transaction is going online for authorization.
8003: Card entry has been prompted on the PIN pad.
8004: A card has been inserted into the PIN pad.
8005: Card removal has been prompted on the PIN pad.
8006: The card has been removed from the PIN pad.
8007: Card entry on the PIN pad has been bypassed.
8008: Card entry on the PIN pad has timed out.
8009: Card entry on the PIN pad has been aborted.
8010: Card has been swiped on the PIN pad.
8011: An error occurred when swiping a card on the PIN pad.
8012: Application selection on the PIN pad has been started.
8013: Application selection on the PIN pad has been completed.
8014: PIN entry on the PIN pad has been started.
8015: PIN entry on the PIN pad has been completed.
8016: PIN entry on the PIN pad has been aborted.
8017: PIN entry on the PIN pad has been bypassed.
8018: PIN entry on the PIN pad has timed out.
8019: PIN entry on the PIN pad was incorrect.
8020: PIN entry on the PIN pad was the last one.
8021: Amount confirmation on the PIN pad has been started.
8022: Amount confirmation on the PIN pad has been completed.
8023: Amount confirmation on the PIN pad has been aborted.
8024: Amount confirmation on the PIN pad has been bypassed.
8025: Amount confirmation on the PIN pad has timed out.
8026: Signature verification has started.
8027: Signature verification has completed.
8028: Voice referral has started.
8029: Voice referral has completed.
8030: Gratuity has started.
8031: Gratuity has completed.
8032: ID verification has started.
8033: ID verification has completed.
8038: Unsupported card tapped.

Return

The number representing the current state of the transaction (see table above), or -1 if an error occurs.