Cashless Device - Accept a Vend Request from VMC in Always Idle

This tutorial will describe how to to use Qibixx' MDB devices to approve a Cashless Vend Request from a Vending Machine in Always Idle Mode. In always Idle Mode, the selection of the product is made on the machine prior to presenting the card to approve the vend request.

Throughout this tutorial, please consider a Qibixx Device to be either any flavour of the MDB-USB , or the MDB Pi Hat Plus

To accept a Cashless Vend Request, it is necessary to follow these steps:

  • Enable Cashless Device using MDB API
Enable Cashless Device
Copy
  • Wait for the vending machine to enable the Cashless Device. When the device is enabled, the following response will be received by the MDB Device.
Cashless Device Enabled by VMC
Copy
  • The Enabled Status means that the Vending Machine is ready to operate. So the user can select a product, which will generate the following response on the MDB Device:
Product Has Been Selected on the VMC
Copy
  • In this step, on regular readers, it is the time to insert the card (or scan a QR Code, etc), to get the customer ID and check if there are sufficient funds, or the ID is valid, etc. This process is done by the application which controls the MDB but does not go through MDB. If it is possible to approve the vend request, then, the following command must be sent to the MDB Device.
Approve Vend Request
Copy
  • If by any reason (user cancels transaction, or the ID is invalid, or no sufficient funds, etc) the transaction is not to be approved, the following command must be sent:
Deny Vend Request
Copy
  • If the transaction is approved and the product is successfully dispensed, the following messages will be received in the MDB Device.
Vend Successful
Copy
  • If for some reason the product fails to dispense , the following messages will be received in the MDB Device (which means the transaction should be cancelled):
XML
Copy

That's it, we hope to have made things clearer for you now. If there is any other tutorial you would like us to cover, or fix anything about this one, please reach out to us at contact@qiba.pt .

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard