# Kiosk: Authorisation First > Set up the MDB Utility so guests pay for prints in Breeze Kiosk, with the terminal in Authorisation First (MDB Level 1) mode. ## Overview This example charges for prints in Breeze Kiosk. When the guest taps **Print**, Breeze Kiosk shows the print payment screen and waits for them to tap their card. Once the payment is authorised, the photos print. - **Terminal mode:** Authorisation First (MDB Level 1). See [Level 1 v Level 3](https://www.breezesoftware.com/help/payments/mdb-modes). - **Breeze Kiosk:** v2.1 or later - **Sample settings file:** `MDB_authorization_first_ex1.xml` --- ## Before You Start 1. **Check the terminal mode.** The Nayax terminal must be set to **MDB Level 1**. 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 Authorisation First mode](https://www.breezesoftware.com/media/authorisation-first-example-1/authorisation-first-example-1-26b535dfb6.webp) > **Tip** > > To skip the manual setup, click **Load...** in the MDB Utility settings and load `MDB_authorization_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 **not** ticked, and **Mode** is set to **Breeze Kiosk**. ![MDB Utility settings](https://www.breezesoftware.com/media/authorisation-first-example-1/authorisation-first-example-1-5be838b420.webp) Click **Add action...**: ![Add action dialog](https://www.breezesoftware.com/media/authorisation-first-example-1/authorisation-first-example-1-d61b840271.webp) This action turns the card reader on when Breeze Kiosk shows the print payment screen and the reader is off. | Field | Value | | --- | --- | | **Name** | Enable reader | | **Pattern** | `Print (payment)` | | **Reader state** | INIT | | **Action** | Enable reader | ![Enable reader action](https://www.breezesoftware.com/media/authorisation-first-example-1/authorisation-first-example-1-6ddad13aea.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 their card, the reader state changes to **CREDIT**. This action requests the amount. | Field | Value | | --- | --- | | **Name** | Request payment | | **Pattern** | `Print (payment)` | | **Reader state** | CREDIT | | **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/authorisation-first-example-1/authorisation-first-example-1-994b04d131.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**. --- ## 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/authorisation-first-example-1/authorisation-first-example-1-ee255e2211.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, the state returns to **IDLE** with a failed transaction. This action cancels the print and returns to the main screen. | 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/authorisation-first-example-1/authorisation-first-example-1-df25df4cf6.webp) The settings should now list all four actions: ![All four actions in the MDB Utility settings](https://www.breezesoftware.com/media/authorisation-first-example-1/authorisation-first-example-1-cf7c833772.webp) --- ## Test It 1. Click **OK** to return to the main screen of the MDB Utility. 2. In Breeze Kiosk, tap **Print**. 3. On the print payment screen, 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/authorisation-first-example-1/authorisation-first-example-1-52e2b3c9b6.webp) --- ## Optional: Disable the Reader Between Prints After a print, the reader returns to IDLE and shows the tap-to-pay animation, so a guest could tap their card before choosing another photo. To stop this, add an action that disables the reader when Breeze Kiosk shows the main screen (`Main:`) and the reader state is IDLE. --- Source: https://www.breezesoftware.com/help/payments/authorisation-first-example-1