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

Point Shop Rework #233

Open
aletya opened this issue Oct 20, 2024 · 0 comments
Open

Point Shop Rework #233

aletya opened this issue Oct 20, 2024 · 0 comments
Assignees

Comments

@aletya
Copy link
Contributor

aletya commented Oct 20, 2024

  • Context
    • Previously, we had a massive google docs of QR codes, each corresponding to one instance of a shop item. When it was scanned, the counter of the item in the shop went down
  • Goals
    • Instead of doc with qr codes, attendees purchase redeemable tickets
    • Staff scans these redeemable tickets - they get marked as used
  • Affected endpoints
    • POST /shop/generate-order (new)
      • Staff generates a non-expiring qr code for the specified items, that will be scanned by an attendee to checkout
    • POST /shop/fulfill-order (new)
      • Attendee scans ticket QR code → order gets marked as used (subtracts the cost from the authenticated user, as well as subtracts the item count from the shop)
  • We may need a new DB to mark tickets as unused or used. As well as the items in the ticket (grainy qr code problem)
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