Polling Mode

The Polling Mode, as stated previously, changes the normal flow for a Sale Transaction using the GoChip Solution to: Initiate the Terminal - Connect the Card Device Reader - Present the Card - Process Sale Data - Present the Signature (when required) - Submit the Sale. This Mode is mostly applied to situations where a Terminal is unattended, and just needs to wait until someone passes a card to execute a Sale based on predefined value - parking lots, stadiums, etc.

Polling Mode Flow

To use polling mode quickchip must be enabled.

  • (1) - Getting Settings: This is the basic initiation of a Terminal. Your Application is going to inform the Terminal credentials and receive the settings of a Terminal.
  • (2) - Configuring Device: This is the connection to the Card Device Reader. Your Application requires the device to be connected, informing the connection type and the parameters for connection (depending on the type of the device). There’s an additional step here regarding the setting of the Polling Mode, when Your Application needs to inform an initial amount to the transactions.
  • (3) - Start Sale – Present Card: In this, the main difference regarding the Default Mode, it’s that the request for the card to be presented is going to be started even before Your Application submits any information of the Sale.
  • (4) - Start Sale – Process Sale: This part starts when Your Application receives the request to set an amount to the transaction. At this point Your Application needs to set an amount to the Sale before requiring the processing. But be careful! You need to consider that the onRequestSetAmount(CoreSale coreSale) callback method is going to be called for more than one Mode, so inside the method, when treating the response you received, remember to verify if the Terminal is on Polling Mode.
  • (5) - Signature: When the transaction method requires a signature, GoChip is going to require that from Your Application. After Your Application submits the captured signature, the GoChip will add it to the Sale Your Application already informed and submit it to the Gateway.
  • (6) - Submit Sale: The last part of the sale transaction is the submission itself and the receiving of the response and, depending on the result, Your Application might need to treat the information and send some feedback to the final user. In case everything goes right, just request the user to remove the card, for example.