Pdf Tickets

PDF Tickets & QR Codes

Generate professional PDF tickets with QR codes for validation at live events.

Overview

Every raffle ticket can be:

  • Downloaded as a professional PDF
  • Validated via QR code scan
  • Manually validated by ticket number

PDF Tickets

Customer Download

  • Go to My Account → My Tickets
  • Find the desired ticket
  • Click PDF button
  • Download or print the ticket

PDF Contents

Each PDF ticket includes:

ElementDescription
Site LogoYour site logo (or site title if no logo)
Raffle NameProduct title
Ticket NumberUnique ticket identifier
Holder NameTicket owner's name
QR CodeScannable validation code
Prize DetailsWhat the winner receives
Raffle DatesStart and end dates
TermsBrief terms text

PDF Design

  • Professional, clean layout
  • Print-friendly formatting
  • Works on A4 and Letter paper
  • High-resolution QR code

Email Attachment

PDF tickets are automatically attached to:

  • Order completion emails
  • Gift recipient notification emails

QR Code System

What's in the QR Code

The QR code contains:

  • Ticket number
  • Validation URL
  • Security hash
When scanned, it links to your site's ticket validation page.

Scanning Methods

  • Admin Scanner - In-app scanning interface
  • Public URL - Direct validation page
  • Any QR Scanner - Opens validation URL

Ticket Scanner (Admin)

Access: WooCommerce → Ticket Scanner

Using the Scanner

  • Go to Ticket Scanner page
  • Allow camera access (if prompted)
  • Point camera at QR code
  • Scanner automatically reads code
  • Validation result displayed

Manual Entry

If QR code is damaged or camera unavailable:

  • Enter ticket number manually
  • Click Validate Ticket
  • View validation result

Validation Results

ResultMeaningAction
ValidTicket is active and validCheck in attendee
Already UsedTicket was already validatedDeny entry
InvalidTicket doesn't existVerify ticket number
CancelledOrder was cancelled/refundedDeny entry

Check-In Feature

After validation, you can:

  • Check In - Mark ticket as used for event entry
  • View Details - See full ticket information
  • View Order - Link to original order

Public Validation

Validation URL

Format: https://yoursite.com/?rfw_validate_ticket=TICKET_NUMBER

Use Cases

  • Self-service kiosks
  • External scanning devices
  • Quick verification links

Security

  • No sensitive data exposed
  • Only shows valid/invalid status
  • Logs all validation attempts

Validation Log

What's Logged

Every validation attempt records:

  • Ticket number
  • Timestamp
  • Result (success/fail)
  • Method (scan/manual)
  • User who validated
  • IP address

Viewing the Log

In Ticket Scanner page:

  • Recent Validations section
  • Shows last 20 validations
  • Color-coded by result

Log Fields

FieldDescription
TimeWhen validation occurred
TicketTicket number validated
StatusSuccess, Already Used, Failed
Validated ByAdmin user who validated
MethodQR Scan or Manual Entry

Use Cases

Live Events

  • Print PDF tickets for attendees
  • Station staff with QR scanners
  • Scan tickets at entry
  • Track attendance in real-time

Prize Drawings

  • Attendees bring printed tickets
  • Verify ticket is valid before entry
  • Prevent duplicate entries
  • Audit trail for disputes

Verification

  • Customer claims they purchased
  • Validate ticket number
  • View associated order
  • Resolve disputes

Best Practices

For Events

  • Test Before Event
- Scan test tickets - Verify camera works - Train staff
  • Backup Plan
- Manual entry as fallback - List of valid ticket numbers - Phone with scanner page
  • Clear Process
- Scan → Verify → Check-In - Handle invalid tickets gracefully - Keep manual list of issues

For Security

  • Don't share QR code publicly
  • Check holder name matches ID (for valuable prizes)
  • Review validation log regularly
  • Report suspicious patterns

Technical Details

QR Code Specifications

  • Format: QR Code Version 4
  • Error Correction: Level H (30%)
  • Size: 150x150 pixels in PDF
  • Contains: URL with validation parameters

PDF Generation

  • Library: TCPDF
  • Format: Single page A4
  • Resolution: 300 DPI
  • File size: ~50KB typically

Browser Support

Scanner works with:

  • Chrome (recommended)
  • Safari
  • Firefox
  • Edge
Note: Mobile browsers may require HTTPS for camera access.