Skip to content

0xReagan8/tickets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alt text for the logo

Tickets

Stripe API

https://docs.stripe.com/development

Install Strip CLI

curl -s https://packages.stripe.dev/api/security/keypair/stripe-cli-gpg/public | gpg --dearmor | sudo tee /usr/share/keyrings/stripe.gpg

echo "deb [signed-by=/usr/share/keyrings/stripe.gpg] https://packages.stripe.dev/stripe-cli-debian-local stable main" | sudo tee -a /etc/apt/sources.list.d/stripe.list

Email server header testing

endpoints / routes

/validate_ticket

description:

  • Sent from the QR code - contains the event and ticket information

example:

https://YOUR_URL.com/validate_ticket?event_id=test_123&ticket_id=5

/list_events

description:

  • Gets a list of all events recorded

example:

https://YOUR_URL.com/list_events


/list_event

description:

  • Gets the event records for the request event

example:

https://YOUR_URL.com/list_event?event_id=test_123

generate events and tickets

Note: The ticket generator uses geckodriver you can download it from this link.

  1. create a .etc folder

  2. Download gecko driver into ./etc/geckodriver

  3. modify ./QR/assets/event_data.json with your data

  4. modify ./QR/generate_codes.py __main__ :

    • EVENET_ID = "Your Event"

    • NBR_CODE_TO_GENERATE = YOUR_NUMBER_OF_TICKETS

    • WEBHOOK_URL= "YOUR_WEBHOOK_ADDRESS"

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published