# Kiosk: Selection First > Set up the MDB Utility so guests pay for prints in Breeze Kiosk, with the terminal in Selection First (MDB Level 3) mode. ## Overview This example charges for prints in Breeze Kiosk. When the guest taps **Print**, Breeze Kiosk shows the print payment screen and the card reader displays the amount. Once the guest pays and the payment is authorised, the photos print. - **Terminal mode:** Selection First (MDB Level 3). See [Level 1 v Level 3](https://www.breezesoftware.com/help/payments/mdb-modes). - **Breeze Kiosk:** v2.1 or later - **Sample settings file:** `MDB_kiosk_selection_first_ex1.xml` --- ## Before You Start 1. **Check the terminal mode.** The Nayax terminal must be set to **MDB Level 3**. If it isn't, ask Nayax support to change it. 2. **Turn on print payments in Breeze Kiosk.** Enable the print option, click **Print settings...** and turn on print payment mode. 3. **Set the print screen timeout to 90 seconds**, so the payment screen doesn't time out before the guest pays. 4. **Run the MDB Utility** on the same PC as Breeze Kiosk. The MDB Utility should look something like this: ![MDB Utility connected in Selection First mode](https://www.breezesoftware.com/media/kiosk-selection-first-example-1/kiosk-selection-first-example-1-89be5ce52b.webp) > **Tip** > > To skip the manual setup, click **Load...** in the MDB Utility settings and load `MDB_kiosk_selection_first_ex1.xml`. The steps below explain what each action does. --- ## Step 1: Enable the Reader Click **Settings...**. Make sure **Selection first/Always idle mode** **is** ticked, and **Mode** is set to **Breeze Kiosk**. ![MDB Utility settings](https://www.breezesoftware.com/media/kiosk-selection-first-example-1/kiosk-selection-first-example-1-450bd48595.webp) Click **Add action...**: ![Add action dialog](https://www.breezesoftware.com/media/kiosk-selection-first-example-1/kiosk-selection-first-example-1-7084b020f4.webp) This action turns the card reader on when Breeze Kiosk shows the main screen and the reader is off. | Field | Value | | --- | --- | | **Name** | Enable reader | | **Pattern** | `Main:` | | **Reader state** | INIT | | **Action** | Enable reader | ![Enable reader action](https://www.breezesoftware.com/media/kiosk-selection-first-example-1/kiosk-selection-first-example-1-1ce4e6c06c.webp) > **Info** > > The pattern matches any part of the Breeze Kiosk status, such as `Main:` or `Print (payment)`, unless **Use regular expression** is ticked. INIT means the reader is off. --- ## Step 2: Request Payment When the guest taps **Print**, Breeze Kiosk switches to the print payment screen. This action asks the reader for the amount. | Field | Value | | --- | --- | | **Name** | Request payment | | **Pattern** | `Print (payment)` | | **Reader state** | IDLE | | **Request payment, amount** | The price in cents, e.g. `100` for $1.00 | | **Product number** | Any number. It shows in your Nayax dashboard, which helps when you sell options at different prices. | ![Request payment action](https://www.breezesoftware.com/media/kiosk-selection-first-example-1/kiosk-selection-first-example-1-b3df27190a.webp) > **Info** > > Amounts are in the smallest unit of your currency: cents for USD or EUR, pence for GBP. The state then changes to **VEND**. If the payment is approved it changes to **RESULT**. If it fails, it returns to **IDLE** with the status TransactionFailed. --- ## Step 3: Payment Authorised | Field | Value | | --- | --- | | **Name** | Payment authorised | | **Pattern** | `Print (payment)` | | **Reader state** | RESULT | | **Photo booth command** | Payment accepted | ![Payment authorised action](https://www.breezesoftware.com/media/kiosk-selection-first-example-1/kiosk-selection-first-example-1-1bc92c8faa.webp) > **Info** > > An action triggered by RESULT automatically confirms the sale with the reader, which shows a "Thank you" screen and returns to IDLE. --- ## Step 4: Payment Failed If the payment isn't approved, times out or is cancelled on the reader, the state returns to **IDLE** with the status TransactionFailed. This action closes the print payment screen without printing. | Field | Value | | --- | --- | | **Name** | Payment failed | | **Pattern** | `Print (payment)` | | **Reader state** | IDLE, transaction failed | | **Photo booth command** | Payment cancelled | ![Payment failed action](https://www.breezesoftware.com/media/kiosk-selection-first-example-1/kiosk-selection-first-example-1-10717bd778.webp) The settings should now list all four actions: ![All four actions in the MDB Utility settings](https://www.breezesoftware.com/media/kiosk-selection-first-example-1/kiosk-selection-first-example-1-f30076b10c.webp) --- ## Test It 1. Click **OK** to return to the main screen of the MDB Utility. 2. In Breeze Kiosk, tap **Print**. The reader shows the amount. 3. Tap a card (or the Nayax technician card). 4. Breeze Kiosk waits for the payment, prints the photos and returns to the main screen. ![MDB Utility log after a successful payment](https://www.breezesoftware.com/media/kiosk-selection-first-example-1/kiosk-selection-first-example-1-6fee760283.webp) --- ## Optional: Cancel on the Reader When the Guest Cancels If the guest taps **Cancel** on the print payment screen, Breeze Kiosk returns to the main screen, but the reader still shows the payment request. To clear it, add an action that sends a **cancel** command to the reader when Breeze Kiosk shows the main screen (`Main:`) and the reader state is VEND. ![Cancel payment on the reader action](https://www.breezesoftware.com/media/kiosk-selection-first-example-1/kiosk-selection-first-example-1-f159cc9162.webp) --- Source: https://www.breezesoftware.com/help/payments/kiosk-selection-first-example-1