Hi everyone,
Found this in the Tessitura v.15 recipe books:https://www.tessituranetwork.com/Help_System/Content/Recipe%20Books/HTML%20Templates/Order%20Barcode.htm
I wanted to see if anyone has had any success in using it. We have a separate ticket e-mail that goes out after the confirmation, but we wanted to know if it is possible to have a QR code on the confirmation e-mail as well. Feel free to let me know if you know of any better way to get a QR Code onto a confirmation e-mail or if you have an example of what your confirmation e-mail looks like with a QR code embedded.
Thank you!
While HTML templates are able to be edited in v15, they aren't actually used with order confirmations until v16. This would give you the order number as a QR code in the confirmation, but it wouldn't replace the second email with the ticket barcodes -- is that what you are trying to do? I don't think there is any way to get the ticket numbers / QR codes into the confirmation itself.
Hi Anne, I don't believe we're trying to replace the second e-mail. We just want to add the QR code to the confirmation e-mail that goes out initially and with the second e-mail.
You should be able to do that with the documentation you linked to, but you can't use those HTML templates until v16.
Understood! Thank you!
Can be done, but it's a bit of a whipping. If you've already got all the right @using and @[var xxx} into your confirmations and just want the QR, here's what we came up with before there was a cookbook. We tackled early Covid summer 2020 and have been using this bit in 'eticket' confirmations since. Change 6 to adjust the size of the QR, as I recall (6 being smallest easily scannable on phones). If I recall correctly, you may need some code to suppress certain statuses of tickets (exchanges maybe). If you go this route, do a lot of testing with all the scenarios you can think of.
I've been using the Google Charts API because it generates an actual image instead of an SVG, so it's printable and displays properly on devices in dark mode. Create an image element and feed the API the info to be coded (Order Number) and QR code parameters via the url.
True, Tessitura's generator@Raw(Model.GetQRCode builds the qr code in html, so you have to test carefully to make sure your email format works on all the phones and in dark mode (typically with some padding and care in your color selections). On the other hand, with Google you can wind up with things like, "Warning: This API is deprecated. Please use the actively maintained Google Charts API instead. " and "Important: While the dynamic and interactive Google Charts are actively maintained, we officially deprecated the static Google Image Charts way back in 2012. It was turned off on March 18, 2019."