{{ order.order_number }} or {{ order_number }} not passing through the custom URL

Hi Team,

I would like to seek assistance regarding on the QR Code scanning issue that we have.

To give you a context of what’s happening, every purchase from our Shopify store generates an order confirmation email with a QR Code included, that QR code should redirect us to a custom URL that we created but that’s the time when the issue occurs.

The image above is what we get when we input the link directly to a browser which means that the link is working correctly, but when we scan it using our custom link + {{ order_number }} or {{ order.order_number }} the order number doesn’t appear in the url.

also to add more troubleshooting what we did is use the google link + the order number to isolate the issue and it would search an order number directly in google but we’re just being redirected to the google website.

for the troubleshooting steps that we did, I think we were able to isolate the issue that the {{ order.order_number }} or {{ order_number }} doesn’t really store’s the value of the order numbers of the customers.

It would be really helpful if you could provide some insights to this issue.