Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tickets QR codes #9850

Closed
julien51 opened this issue Oct 5, 2022 · 2 comments
Closed

Tickets QR codes #9850

julien51 opened this issue Oct 5, 2022 · 2 comments
Assignees

Comments

@julien51
Copy link
Member

julien51 commented Oct 5, 2022

Our QR codes are fairly basic for now!
We need to implement a better "ticket" UI that does include the QR code but also a lot of information!

image

Since the QR codes are generated both on the front-end and the backend and to avoid replicating this, we should create an API endpoint that, given the signature and the signed details will generate a PDF. This API will be used on the front-end from the keychain so it can be sent by email... as well as a from the websub worker directly.

The ticket should be in the PDF format and should include the following:

  • the NFT image
  • the lock name
  • the token id
  • the owner address

Once we have more specific metadata for events we will add them to the tickets (location, date... etc)

@searchableguy
Copy link
Contributor

searchableguy commented Oct 6, 2022

Any reason to switch to PDF from PNG currently for QRcode?

PDF file won't be shown by default in gmail and other clients unlike PNGs. They also cannot be displayed on the frontend without pulling in dependencies so we will need the actual UI or PNG.

@julien51
Copy link
Member Author

julien51 commented Oct 6, 2022

We don't expect to show the PDF on the front-end. It can be downloaded from there though...
And we will send it as an attachment by email.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants