# Free to Use with Pay on Print > A free-to-use photo booth where guests email photos for free or tap to pay to print, using Breeze Remote Pro, the MDB Utility and Nayax. ## Free to Use with Pay on Print This tutorial shows how to create a free-to-use photo booth with optional paid printing using Breeze Remote Pro and the Breeze MDB Utility with Nayax payments. > **Info** > > [Download Example Files](https://www.breezesoftware.com/downloads/MDB/PayonPrint.zip) (Level 1 / Authorisation First) https://www.youtube.com/watch?v=n1PC-SzGIJk Guests use the booth for free. On the sharing screen they can tap their card to pay for a print, or send themselves a free digital copy by email, SMS or QR code. It suits events and retail installs where making money isn't the main goal, or where the booth is a data collection tool. This setup is the back half of [Pay to Start with Photo Upsell](https://www.breezesoftware.com/help/payments/mdb-pay-to-start-upsell): the payment happens on the sharing screen, not at the start. --- ## Load the Example Event 1. In Remote Pro, go to **File > Photo Booth Settings**, press **Load**, and choose the settings file in the **Pay on Print** example folder. 2. In the MDB Utility, open **Settings**, press **Load**, and choose the MDB file from the same folder. 3. Start a session from the touchscreen or a button. No payment is needed to take photos. 4. On the sharing screen, tap a card to pay for a print, or press the email button to send a free digital copy. --- ## Remote Pro Settings - **Print on the sharing screen:** enabled, with **Payment mode** on. This adds the screens used while authorising payments. - **Email:** enabled and set up as normal, with your SMTP details and email body. SMS or QR code sharing can be added too. --- ## Screens | Screen | Purpose | | --- | --- | | `share.jpg` | Explains the options: tap to pay for a print, or get a free digital copy | | `share_print_payment.jpg` | Shown while the payment is authorising | | `share_printing.jpg` | Shown when the payment succeeds and the photo is printing | | `share_print_payment_cancelled.jpg` | Shown when the payment fails, before returning to the share screen | --- ## MDB Triggers | Step | When | Reader state | What happens | | --- | --- | --- | --- | | **Idle** | On `ready.jpg` | Idle, reader disabled | Keeps the reader off while the session starts | | **Enable reader** | On `share.jpg` | Init, reader enabled | Wakes the reader on the sharing screen | | **Request payment** | On `share.jpg`, card tapped | Credit, reader enabled | Requests the amount (for example 500 for $5) and sends **Print photos**, which opens the payment screen | | **Payment accepted** | On `share_print_payment.jpg`, authorised | Result | Sends **Payment accepted**, which prints the photo | | **Payment cancelled** | On `share_print_payment.jpg`, transaction failed | Idle, trigger when transaction fails | Sends **Payment cancelled**, which shows the cancelled screen and then returns to the share screen | --- ## 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). ## Video chapters - 0:00 Free Booth Pay to Print - 0:47 Load Sample Event Setup - 1:24 Demo Sharing Screen Flow - 2:05 Free Email Option - 2:29 Breeze Configuration - 3:04 MDB Reader States - 4:14 Payment Screens Assets - 4:58 Authorize Success Fail Logic - 5:56 Wrap Up Use Cases ## Video transcript [0:00] Okay, so in this video we're going to look at setting up a free-to-use photo booth where you can charge people to print the photos at the end of the session, or they could send themselves a free digital copy through email, SMS or QR code link. This might be more suited to an event-type setup, or something like an install in a retail outlet, where the primary purpose of the photo booth is not to make money. It could just be a fun thing to do, and if you can make money out of it, that's secondary to the purpose. Or it could be a data collection tool, where again it's free to use, but the choice to print is up to the guest, and they still feel like they can walk away with something from the experience, either digitally or optionally a printed copy if they want to pay for it. [0:45] So let's have a look at how this one works. We're going to load our sample event: File, Settings, and we'll load our Pay on Print settings file. We'll come back to this in a minute to see how it works. We'll start the MDB utility and load in the MDB settings, and this will get us geared up for this one. This is very similar to Pay to Start with Upsell. Basically we're just looking at the back end of that event, where it's all about the payment trigger on the sharing screen, not the start of the session. [1:22] So let's run one through and see what it looks like. For this one, we don't need to use our card to start it. We're going to start it through the touchscreen, or a button or something like that. So I'll go ahead and take the picture. Once the photo is taken, it sends us straight through to the sharing screen, where we've got a print prompt set up and an email touchscreen action as well. To print the photo, all we need to do is tap our card and pay, and once authorised, that'll start the print off. [2:05] If we want to send ourselves an email copy, and we could obviously set up SMS or QR code sharing here as well, we can just press that button, put the email address in, and hit send. So this gives users the option to either pay to print, which they don't have to, or send themselves an email to get a digital copy for free. So let's see how this one works. The setup in Breeze Remote Pro is pretty straightforward. It's just a regular photo booth where we have enabled print and email on the sharing screen. For print, we want to enable payment mode, and that gives us a couple of extra screens that we can use for authorising payments. Then we enable our email option as well, and you set that up as normal with your SMTP details and the body of your email. Other than that, the Breeze setup is quite simple. [3:03] Let's have a look at the MDB setup for this one. It's really about what we're doing on the sharing screen. I've set up an idle step on the ready screen. When we start the photo booth, we want to essentially disable the reader. So on ready.jpg, we set the state to idle and make sure enable reader is unchecked, and everything else can be left blank. Then when we hit the share.jpg screen, we want to initialise the reader. So we set the reader state to init and check the enable reader option. [3:42] Then we add a credit step. When a user taps their card on the terminal while they're on the share.jpg screen, we set it to a credit state so we can ask for payment. We've got the reader enabled, the credit state, and we're going to ask for 500 cents, or $5 in this case. Then we send the photo booth command print photos. Like the other example, this is not going to automatically print the photos. What it's going to do is take us to one of our share print screens. [4:14] Let's have a look in our asset folder for this example. We've got our share screen, which has our instructions on what's going on. Then we have share print payment, which is the screen they're taken to once they tap their card and the payment is being authorised. So this is your payment authorising screen. If the payment is successful, you'll go through to the share printing screen, where you can let people know that the image is printing. And if the payment is unsuccessful, they'll go through to the cancelled screen, where you can display a message saying the payment has failed, and it will take them back to the share screen. [4:54] Jumping back into the settings, on the share print payment screen, what we want is what happens when the payment is authorised. We set the reader state to result, and then we send the photo booth command payment accepted. Remember that we were on share.jpg when the user tapped their card on the terminal, and we sent the photo booth command print photos, which takes us to the share print payment screen. We're setting the reader to result, and then sending the photo booth command payment accepted if the payment is authorised. [5:35] If the payment is not authorised, then we set the reader state to idle, enable the option trigger when transaction fails, and send the photo booth command payment cancelled. That takes them to the cancelled screen and then back to the share screen, where they can try again. So this is how this one works. Like I said, it's a variation of Pay to Start with Photo Upsell; it's really the back end of that event that we're looking at here. And as I said, it's probably more suitable to an event-type situation or a retail setup, where the primary purpose of the photo booth is not strictly to make money, but to let people have the choice to print or not, and perhaps get a digital copy for free, where really they're potentially paying with their personal data instead, if you want to go that way. --- Source: https://www.breezesoftware.com/help/payments/mdb-pay-on-print