Create new user ID & QR after every payment

Hello , i need help please because i am new in Adalo…i have created in my data base ID’s and for every new user create a new ID…is that right ?


after that i want for every payment from a user create a qr code with his user ID automated with Zapier (I have done it.) and ( which was automatically created Transactions in my data base from the ready-made form that I found and adapted to my application) …are right the settings i did for that i want to do??

Also if i buy Qr code generator pro add on with price 29$ i find an article and say its easies from zapier…my question is can i with the same add on to delete a qr code after a fews days because i saw in demo have countdown timer for free?

It sounds like you’re on the right track! Let me break down the process to make sure everything is set up correctly:

  1. Creating a New User ID in Adalo:

Yes, it’s correct to create a unique ID for each user. This ID will help you identify each user individually and associate their data (like transactions) correctly.

In Adalo, you typically have a Users collection where each user has a unique ID field (this is automatically created when you add a new user).

  1. Creating QR Code for Payments with User ID:

If you are using Zapier to automate the process, you can set up a Zap that triggers when a new transaction is created in your database.

Zapier Workflow:

When a user completes a payment, a new transaction is created in the Transactions collection.

Zapier can then generate a QR code using the user’s unique ID associated with that transaction (for example, using a QR code generation tool in Zapier like “QRCode by Zapier”).

The QR code is then sent back to Adalo or stored somewhere (like in your Transactions collection or User profile), where you can display it.

  1. Automating Transactions and QR Code Generation:

Since you’ve already set up the Transactions form in Adalo and adapted it, the next steps seem to be working with Zapier to trigger the creation of QR codes when a new transaction is added.

Your Zapier configuration should look something like this:

Trigger: New transaction in Adalo (via Adalo’s API or Make/Integromat).

Action 1: Generate QR code using the user’s unique ID from the transaction data.

Action 2: Store or display the QR code (in the user’s profile or transaction record).

  1. Reviewing Your Settings:

If you’ve followed this workflow and have successfully tested it, then yes, your settings are correct. The key things to check are:

User ID is correctly associated with each transaction.

The QR code is generated properly based on the user’s ID (you can test it by manually triggering a transaction and confirming the QR code creation).

The QR code is stored or displayed properly in your app after the transaction.

Final Thoughts:

You seem to be on the right path! Just ensure that:

The ID is correctly linked to both the User and Transaction collections.

The Zapier workflow is triggered automatically upon new transactions.

The QR code is being generated and displayed as expected.

Feel free to share more details if you need help refining any specific part of the process!

1 Like

@nikos_greece92 your 2nd action “Create User” is excessive. “Sign Up” action already creates a new user and logs in this user; so in your flow you’ll have 2 users created instead of one.
Rule of thumb in Adalo - after you run “Sign Up” action, in 99% of cases you need to have an action linking to another screen (so that user is finally logged-in).

Also, I wonder why do you want to use a separate collection for IDs. Each record in Users collection is (1) have a unique ID already. Also, email in Users collection is also unique.

Best,
Victor.

2 Likes

Hello thank you for your information…you are right for the email… :wink: if i bought the app in martket place for 29$ the qr generator app is it ease to create a new qr code for every new user and the user can see his qr in other page of the app ?can you help me for this please ?

thank you give me time to tring them