# QR Code Pro Component Not Passing Data as Expected

**URL:** https://forum.adalo.com/t/qr-code-pro-component-not-passing-data-as-expected/52517
**Category:** Get Help
**Created:** [January 7, 2025, 10:56am UTC](https://forum.adalo.com/t/qr-code-pro-component-not-passing-data-as-expected/52517 "2025-01-07T10:56:00Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Hoov](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/hoov/32/35477_2.png) [@Hoov](https://forum.adalo.com/u/Hoov)
#### Post date: [January 7, 2025, 10:56am UTC](https://forum.adalo.com/t/qr-code-pro-component-not-passing-data-as-expected/52517/1 "2025-01-07T10:56:00Z")

</div>

Hi

I’m reaching out for assistance regarding an issue I’m experiencing with the **QR Code Pro component** in Adalo. Below is a detailed overview of what I’m trying to achieve, the steps I’ve taken, and the problems I’m encountering.

* * *

### **What I’m Trying to Do:**

I am building a **redemption flow** in my app, and here’s how it should work:

1. A **customer logs in** and sees a **list of deals** in the app.
2. The customer clicks on a deal and decides they want to **redeem** it, so they click a **“Redeem” button** , which generates a **QR code** for that specific deal.
3. The customer shows the **QR code** to the **store owner**.
4. The **store owner scans the QR code** with their own device, which opens a **new screen (Redeem 2 page)** where they can **confirm the redemption**.
5. Once the store owner confirms the redemption, the app **logs the redemption data** (including the **user ID, deal ID, and timestamp** ) in the **Redemptions collection**.

- The logged redemption data allows the **business** to see that a deal was redeemed and allows the **user** to track their redeemed deals in their account.

* * *

### **Steps I’ve Taken:**

1. I set the **QR Code Pro component’s text** to a simple URL that navigates to the **Redeem 2 page** (e.g., `/redeem2`).
2. On the **Redeem 2 page** , I’ve added a **“Confirm Redemption”** button with a **“Create Record”** action for the **Redemptions collection**. The fields in the action include:

- **User:** `Logged-in User`
- **Deal:** `Current Deal`
- **Redemption Time:** `Current Date/Time`.

1. I’ve verified that the **user and deal data** are displayed correctly as **text fields** on the QR code screen.
2. However, after scanning the QR code and clicking the **“Confirm Redemption”** button, the created redemption record only includes the **timestamp** —the **user and deal fields are blank**.

* * *

### **What I’ve Tried So Far:**

- I removed the **On Enter** automatic creation actions on the **Redeem 2 page**.
- I checked for any external API triggers or old actions that might be interfering, but none are present.
- I also reached out to the **QR Code Pro component’s support team** , and they indicated that this is likely an **implementation issue or related to how Adalo manages the session data** during external link navigation.

I"m not sure what to do fix this.

Thank you in advance for your assistance! Please let me know if you need any additional information, or if there’s a different approach I should try.

---

<div class="post-metadata">

### Author: ![system](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/system/32/40401_2.png) [@system](https://forum.adalo.com/u/system)
#### Post date: [January 17, 2025, 10:56am UTC](https://forum.adalo.com/t/qr-code-pro-component-not-passing-data-as-expected/52517/2 "2025-01-17T10:56:21Z")

</div>

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