# Creating a Discount Redemption System with QR Codes in Glide

**URL:** <https://community.glideapps.com/t/creating-a-discount-redemption-system-with-qr-codes-in-glide/66755>\
**Category:** Ask for Help\
**Created:** [October 4, 2023, 1:47pm UTC](https://community.glideapps.com/t/creating-a-discount-redemption-system-with-qr-codes-in-glide/66755 "2023-10-04T13:47:47Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Monj](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/monj/32/62349_2.png) [@Monj](https://community.glideapps.com/u/Monj)\
**Post date:** [October 4, 2023, 1:47pm UTC](https://community.glideapps.com/t/creating-a-discount-redemption-system-with-qr-codes-in-glide/66755/1 "2023-10-04T13:47:47Z")

</div>

Hello everyone,

I’m seeking your assistance with a project I’m working on. I’m creating an app where customers can sign up for a 10% discount on a service. After signing up, customers will receive an email containing a QR code. Here’s how the process should work:

**1.** When a customer is at the store and presents their QR code, I want the store clerk to scan it using their smartphone.  
**2.** Scanning the QR code should redirect the store clerk to a Glide page.  
**3.** On this Glide page, an action will run to check whether the discount has already been redeemed (i.e., whether a checkbox is true).  
**4.** If the discount has been redeemed, a message will be displayed indicating that the discount is no longer valid.  
**5.** If the discount hasn’t been redeemed, the store clerk will be prompted to enter a 4 or 5 digit code to confirm the customer’s information.  
**6.** After entering the code, the checkbox indicating the discount redemption will be checked.

I’m looking for guidance on how to implement this process in Glide or whether you think it’s achievable with Glide at all.

Thank you for your assistance.

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [October 4, 2023, 4:03pm UTC](https://community.glideapps.com/t/creating-a-discount-redemption-system-with-qr-codes-in-glide/66755/2 "2023-10-04T16:03:48Z")

</div>

I just built something like this for a client. You’ll def. want to check out this post:

> [@How to pass parameter to glide apps?](https://community.glideapps.com/t/how-to-pass-parameter-to-glide-apps/40090/4):
>
> Edit: I was not aware of a solution to use the “Get part of URL” column on the “current URL of screen”. I tested and can be sure that the method works on Chromium/MacOS since the URL doesn’t get stripped. Once you get hold of the param, you can do more things with it. Hat tips to @Darren_Murphy .

Or this video might help:

[![](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/d/7/d7449a00bf331b20036cd423fd102a981199ac2c.jpeg "Track Affiliate Link Referrals | Glide Tutorial") ](https://www.youtube.com/watch?v=KjhLgaO_-K4)

---

<div class="post-metadata">

**Author:** ![Monj](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/monj/32/62349_2.png) [@Monj](https://community.glideapps.com/u/Monj)\
**Post date:** [October 4, 2023, 5:03pm UTC](https://community.glideapps.com/t/creating-a-discount-redemption-system-with-qr-codes-in-glide/66755/3 "2023-10-04T17:03:31Z")

</div>

@Robert_Petitto This looks promising. I will give it a go and let you know how it turns out. Thank you.

---

<div class="post-metadata">

**Author:** ![Monj](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/monj/32/62349_2.png) [@Monj](https://community.glideapps.com/u/Monj)\
**Post date:** [October 5, 2023, 1:12pm UTC](https://community.glideapps.com/t/creating-a-discount-redemption-system-with-qr-codes-in-glide/66755/4 "2023-10-05T13:12:11Z")

</div>

@Robert_Petitto, I gave it a shot and it worked perfectly as I want. Thank you again.

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [October 5, 2023, 2:18pm UTC](https://community.glideapps.com/t/creating-a-discount-redemption-system-with-qr-codes-in-glide/66755/5 "2023-10-05T14:18:15Z")

</div>

Amazing! Ya, this method has opened up quite a few doors for me. I might need to feature it in one of my videos.

---

<div class="post-metadata">

**Author:** ![Monj](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/monj/32/62349_2.png) [@Monj](https://community.glideapps.com/u/Monj)\
**Post date:** [October 5, 2023, 2:29pm UTC](https://community.glideapps.com/t/creating-a-discount-redemption-system-with-qr-codes-in-glide/66755/6 "2023-10-05T14:29:08Z")

</div>

Yes it does open a lot of possibilities. The one thing that would make it great is to have an OnLoad action that reads and pull in the Get part of URL string

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [October 6, 2023, 12:40am UTC](https://community.glideapps.com/t/creating-a-discount-redemption-system-with-qr-codes-in-glide/66755/7 "2023-10-06T00:40:08Z")

</div>

Please don’t tag the team members. If you want a feature request, you can add a new feature request post for people to upvote. Thank you.

---

<div class="post-metadata">

**Author:** ![Monj](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/monj/32/62349_2.png) [@Monj](https://community.glideapps.com/u/Monj)\
**Post date:** [October 6, 2023, 12:59am UTC](https://community.glideapps.com/t/creating-a-discount-redemption-system-with-qr-codes-in-glide/66755/8 "2023-10-06T00:59:16Z")

</div>

Okay. Thanks.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [October 13, 2023, 12:59am UTC](https://community.glideapps.com/t/creating-a-discount-redemption-system-with-qr-codes-in-glide/66755/9 "2023-10-13T00:59:56Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
