Example of use in a mobile environment.

Creates interface to scan commerce ticketing tickets, check their validity, and mark as used.

It adds a tab to the product page for users with the relevant permissions, then has an embedded QR code reader using the device's camera to scan tickets, check their status, and mark them as used or unused.

Very early stage - more to come. This also may contain some minor non-breaking customisations for the original development organisation, which will be removed in later releases.

Currently this uses jsQR as the QR scanning library, which is included in the module.

Functionality

This module:

  • Adds a tab to the product page for scanning tickets
  • Scanning interface in browser uses the device camera (mobile phone camera or webcam)
  • Checks the ticket and allows user with permission to mark the ticket as used, or mark it as unused if it has been used
  • Can check for all variations of the product, or individual variations only (e.g. at the door of an event)
  • Provides a custom ticket workflow for scanning purposes with "Active" and "Used" states (as well as "Created" and "Canceled")

Installation

  • Install via composer
  • Assign the permissions "Check ticket validity via ticket scanner" and "Mark ticket as used via via ticket scanner"
  • Make sure your tickets are set up to use the "Default with 'used' state" workflow
Supporting organizations: 
Primary developer

Project information

Releases