# Pay to Start > Build a simple cashless pay-to-start photo booth with Breeze Remote Pro, the MDB Utility and a Nayax terminal. ## Pay to Start This tutorial shows how to create a simple cashless "pay-to-start" photo booth using Breeze Remote Pro and the Breeze MDB Utility with Nayax payment hardware. > **Info** > > [Download Example Files](https://www.breezesoftware.com/downloads/MDB/PaytoStart.zip) (Level 1 / Authorisation First) https://www.youtube.com/watch?v=molQB6lBLU4 Guests walk up and tap their card, and the countdown starts straight away. Photos are taken and printed automatically, with nothing else for the guest to do. It's one of the most popular payment setups because it's completely contactless. --- ## What You'll Need - [Breeze Remote Pro](https://www.breezesoftware.com/downloads/remote-pro) - [Breeze MDB Utility](https://www.breezesoftware.com/downloads/mdb-payment-utility) - A Nayax terminal and Qibixx MDB interface. See [Required Hardware](https://www.breezesoftware.com/help/payments/mdb-requirements). - The Nayax terminal set to **Level 1 (Authorisation First)**. Change this in the Nayax dashboard, or ask Nayax to do it for you. --- ## Load the Example Event 1. In Remote Pro, go to **File > Photo Booth Settings**, press **Load**, and choose the settings file in the **Pay to Start** example folder. 2. Open the MDB Utility and check both lines are connected: the Qibixx on the first line and the Nayax (Feature Level=1) on the second. 3. In the MDB Utility, open **Settings**, press **Load**, and choose the MDB file from the same example folder. Press **OK**. 4. Start the photo booth in Remote Pro. The welcome screen shows a tap-to-pay message, and the terminal shows the contactless symbol. 5. Tap a card. Once the payment is authorised, the countdown starts, the photo is taken and printed, and the booth returns to the welcome screen. --- ## Remote Pro Settings **Auto Standby** must be on. It returns the booth to the welcome screen (`welcome.jpg`) after every session, and the welcome screen is where the reader is enabled for payment. Without it, the booth starts on the ready screen and the reader never wakes up. Design `welcome.jpg` to invite guests to tap their card to pay. You can animate it with an MP4 or GIF. > **Warning** > > **Lock down your touchscreen actions.** Don't put a start button on the welcome or ready screens, or guests could start a session without paying. Remove any exit action, or protect it with the **Photo booth exit action password**. With a keyboard, you can always press **Esc** to exit. Keep the **start option set to touchscreen**, even though guests never touch the screen. That's how the MDB Utility sends its commands to Remote Pro. --- ## MDB Triggers | Step | When | Reader state | What happens | | --- | --- | --- | --- | | **Enable reader** | On `welcome.jpg` | Init, reader enabled | Wakes the reader, ready for payment | | **Request payment** | On `welcome.jpg`, card tapped | Credit, reader enabled | Requests the amount (in cents), then switches from standby to ready | | **Payment authorised** | On `ready.jpg`, result authorised | Result | Sends **Start photo booth** to begin the countdown | | **Payment failed** | On `ready.jpg`, transaction failed | Idle | Cancels the transaction and switches from ready to standby. The reader stays enabled so the guest can try again | | **Disable reader** | On `1.jpg` (first countdown screen) | Idle, reader disabled | Stops guests tapping again during the session. No command is sent | Amounts are in cents of your local currency: 800 is $8 or £8, 850 is £8.50, and 1000 is $10. The **product number** is only used for reporting in the Nayax dashboard. If you sell different options (such as 6x4 and 5x7 prints), give each its own product number to track them separately. For video or GIF booths, choose the matching start action in the **Payment authorised** step instead of **Start photo booth**. --- ## Next Steps Add an extra print sale with [Pay to Start with Photo Upsell](https://www.breezesoftware.com/help/payments/mdb-pay-to-start-upsell). ## Video chapters - 0:00 Basic Tap to Pay Setup - 0:05 Load Sample Event - 0:32 Configure MDB Utility - 1:19 Test Payment Flow - 2:15 Auto Standby Welcome Screen - 2:56 Enable Reader on Welcome - 4:25 Set Price and Product - 5:42 Switch to Ready Screen - 5:59 Lock Down Touch Actions - 7:33 Handle Success and Failure - 8:42 Disable Reader During Session - 9:30 Wrap Up and Next Steps ## Video transcript [0:00] Okay, so in this video I'll have a quick look at how to set up a very basic tap-to-pay photo booth. We have an example event that you can load into Remote Pro. If you go to File, Photo Booth Settings and then Load, navigate to the folder that has the examples, and the first one here is Pay to Start. We'll click on the settings file to import that, and this will set us up for this particular event. We'll come back to some of these specific settings in a little bit, so go ahead and press OK. [0:28] And then we'll come to the MDB payment utility. We'll just make sure that we are connected to both the Qibixx, which is the first line here, and the Nayax itself, which is the second line. Once connected you should see basically what I've got on screen here. Now this example uses authorisation first, level one, so your Nayax needs to be set to level one or authorisation first. If it's not, you can do it through their dashboard, or otherwise it might sometimes be easier just to give them a call and ask them to do it for you. [1:00] So we'll come into the settings here and we'll go Load, go back to that same examples folder, go to the Pay to Start sample event, and then load the MDB file. This will bring in everything we need, ready to go. So if we press OK, this should now be set, and we press the start button. This runs in simulated camera mode. [1:25] Okay, so we can see on screen we have a tap-to-pay message, and it's prompting me on the Nayax. You can see here with the little paywave symbol that we're ready to take payment. I've made payment. It's now authorising. Once that's successful, it's going to start the countdown. Okay, so payment has been successful. We've taken the photo, and now it's going to print, and it's returned us back to the start, so the next person can come along and tap their card to start their session. [2:02] So this is a very basic photo booth where literally you just walk up and tap the card, and as soon as you've done that the countdown starts. The key thing in this event, if we come back into settings, is that we're using the welcome screen as our starting point. If we come into photo booth settings, the main thing we want enabled is auto standby. Auto standby means that at the end of every session, it's always going to return us to our welcome screen. If we have a look in the folder here, that's our screen, welcome.jpg, and it says tap card to pay. You would redesign this with your message inviting the user to tap their card to pay. Obviously you can make it look a lot nicer than this, and you can use an MP4 or GIF file to animate it as well. [2:53] That's the important part because of our MDB setup, so let's have a look at how that works. If we come into settings, we'll go through each step here. The first step is to enable the card reader. You can see when we're not in photo booth mode that the card reader is disabled, so if I try and pay now, it's just going to beep at me. So we want to enable the reader when we're on the welcome.jpg screen. We want the reader set to the state of init, and that basically wakes the reader up, ready for payment. If I come back into Remote Pro, at the moment this is off, and we give it a second. Now, because it's detected welcome.jpg, it's come to life. [3:43] Now, for example, if we were to come into settings here and disable auto standby, which means when we start the photo booth it's just going to start on the ready screen, you can see that it's still not ready for payment. We haven't enabled the reader, because it's looking for welcome.jpg and we are currently on ready.jpg. So if we come back into our settings and re-enable auto standby, when we start, it'll kick in. [4:13] Okay, so we'll come back into our MDB settings. The first step is to enable the reader, so we want to wake it up when we get to welcome.jpg. The next step is what do we do when someone taps their credit card on the reader. We want to request payment. So when we're on that welcome screen and the reader is awake, if someone taps their card, we want to set the reader state to credit, because we want to ask for payment. Ensure that we've got it set to credit, ensure the reader is enabled, and request payment in the amount of cents. So 800, if we're in the US, would be $8. If you're in the UK, 800 would be £8. If we change this to 850, that would be £8.50. If we change this to 1,000, that would be $10. So depending on your currency, that will depend on how it's configured. [5:09] So we've set the amount at $10 in this case, and the product number is number one. The product number just relates to reporting in the Nayax dashboard, so it's not really used for anything in Breeze. It essentially means that if in the future you were running a payment photo booth setup where you were doing 6x4s and 5x7s, you could have different product numbers for each option, and then you could track payments in the Nayax dashboard for each different option. [5:39] The next part is, when the credit card has been scanned, what do we want to happen? We want to switch from standby to ready, so we're basically going to wake the photo booth up. You've put your credit card down, and we're going to go from standby to the ready screen. [5:55] Now, something important to note when you're designing your interface. If we have a look at our ready screen, the only touchscreen action I've got on here is an exit one, which is just for my own purposes for testing, to easily get back out. In the real world, you would most likely remove your exit touchscreen action or password protect it, which I can show you in a second. And you would not put start button touchscreen actions on the screen at all, because obviously if you did, the user could just touch that area of the screen and start the countdown without paying. So essentially, you want to remove all unneeded touchscreen actions from the interface. [6:37] If we have a look over here, there's a photo booth exit action password. So you can set a password here and keep your exit touchscreen action. It'll prompt for a password, so you can lock it down that way. Otherwise, if you have a keyboard, you can press the escape button to get back out. But generally speaking, you want limited touchscreen actions. And one other important note, which should be the case for most people: you need to have the start option set to touchscreen in this instance. Even if you're on a completely contactless system where all people are doing is using their card to start and take the photo, you still need to have it set to touchscreen, as that's how we communicate the actions between the MDB utility and Remote Pro. [7:25] But I digress, we'll get back to where we were. We've set up what to do once someone taps their credit card, and that is to request payment. The next step is what happens when payment is successful. In that last step, once they tap their card, it switched us from welcome to ready to wake the photo booth up. Now we want to set the reader state as result, so we're basically waiting for the result. And when the result comes back as authorised, we want to send a photo booth command, or touchscreen action: start photo booth. If you're switching profiles or doing other things, you've got access to all the touchscreen actions here. For most people you'd have start photo booth, but if you're doing a payment video booth or a GIF booth, you could select one of those options. So once payment is authorised, we want to start the photo booth. [8:08] The next step is, what if payment is not authorised? What if it fails? In that case, we want to send them back to the start. So we change the reader state back to idle, which cancels the transaction, and we send the photo booth command switch from ready to standby, so you're going back to that welcome screen. We still want to keep the reader enabled, because when they get back to the welcome screen, we want it on. So we don't need to disable the reader while that's happening. We can keep that live. [8:34] And then there's one last step that's worth putting in, and that is to disable the reader once the countdown starts, because we don't want people re-tapping their card once the session has begun. We set the reader state back to idle, which basically turns it off, along with unchecking enable reader. This means that people cannot make payment from when they hit 1.jpg, which is the first countdown screen, and it will stay off until we get back to welcome.jpg. And we're not sending a touchscreen action, so it's set to no action. [9:11] So this is a very basic payment booth setup, and actually it's probably one of the most popular setups, because it's essentially completely contactless. The guests just come up and tap their card to start the countdown. The photos are taken automatically and they print automatically, and there's nothing else that they need to do. Obviously, from here you can redesign your screens, and if you add in sharing options, you can enable all that as usual. In the subsequent videos, we'll dive into a few other ways that you can accept payments as well. If you have any questions, just jump in the comments and let us know. --- Source: https://www.breezesoftware.com/help/payments/mdb-pay-to-start