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:
- A customer logs in and sees a list of deals in the app.
- 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.
- The customer shows the QR code to the store owner.
- 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.
- 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:
- I set the QR Code Pro component’s text to a simple URL that navigates to the Redeem 2 page (e.g.,
/redeem2
). - 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
.
- I’ve verified that the user and deal data are displayed correctly as text fields on the QR code screen.
- 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.