Support

Home Forums Events Calendar Add-on QR code decryption

QR code decryption

Posted: November 30, 2016 at 3:01 am


emma

November 30, 2016 at 3:01 am

In EE3 ,we used our own app to scan QR code (the output is a json array).
Now in EE4, new QR code is encrypted. So, I’d like to know how can decrypt it.
Please help.


Josh

  • Support Staff

November 30, 2016 at 7:12 am

Hi Emma,

I don’t think the QR code in EE4 is encrypted, it’s actually outputting the registration data in another format.

If you’re using your own app that expects the QR code to be in a specific format, you can follow this guide to set up your own custom QR code:

https://eventespresso.com/wiki/custom-qr-codes-for-tickets/


emma

November 30, 2016 at 8:23 pm

Thanks Josh, I’ve already tried that way but I can not add more information which has no shortcode. And I can only add html code in ticket template, although I add some code in php file it will be fix value when I reset the template in dashboard. Is there any way to use ticket template php file directly instead of using template from dashboard.


Tony

  • Support Staff

December 2, 2016 at 12:28 pm

Hi Emma,

No you can’t, however you could add your own shortcode to the messages system that outputs all the details you need.

I have previously posted an example of adding shortcodes to the messages system here:

https://gist.github.com/Pebblo/e87cc8e30c4848dcdfe2

You can use that as a base to build your customization onto, note you will need to add the shortcode to the EE_Ticket_Shortcodes library and parser if you want to only see the shortcode within the ticket template, otherwise you could use EE_Transaction_Shortcodes.

The support post ‘QR code decryption’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso