Payment flow
Visualize the 2-phase pre-authorization process in the following diagram, which illustrates the separation between card detection, user input, and the final authorization.
- Your system triggers the
cardDetectcommand to enable the VPOS reader. - Once a card is detected, the VPOS sends a confirmation back to your system.
- Your system sends a
displayInputcommand to the VPOS to prompt the user (e.g., “Enter plate#”). - The user enters the data on the VPOS terminal, which is sent back to your system as a “user entry”.
- After receiving the required input, your system sends the
authorizecommand to the VPOS. - The VPOS confirms the card is authorized with an OK response.
- Your system sends a
displayScreencommand to show “Start refuel” to the consumer. - The fueling session takes place (Start refuel → End refuel).
- Your system sends the
settlecommand to the VPOS to capture the final transaction amount. - Your system displays a “Thank you” message and optionally triggers the
printcommand for a receipt.