DEV Community

PluginLab
PluginLab

Posted on Originally published at pluginlab.dev

WooCommerce Door Check-In: Scan Tickets From a Phone Browser

The time to find out whether your door phone can scan a ticket is before there’s a queue. I built Tickets & Passes for WooCommerce so staff can open a page on your own site, scan a guest’s QR code and check them in without installing an app or opening the WordPress dashboard.

This guide starts after the sale. If you haven’t set up admission products yet, start with my guide to selling QR code tickets in WooCommerce. If you already have a ticket to scan, here’s how I’d get the door ready.

Set up the WooCommerce ticket scanner

With WooCommerce and Tickets & Passes active, open Ticket & Passes → Settings → Scanner / API. Turn on the built-in scanner and copy the address shown there. It’s the /check-in/ page on your domain. The built-in browser scanner doesn’t need the external API switch, so leave that off unless you’re using a separate scanner app.

For door staff who only need to scan, assign the Scanner role under Users in WordPress. They can sign in to the scanner page without getting access to the rest of wp-admin. An Administrator or Shop Manager already has access, but I’d test with a Scanner account before handing over the phone. Testing only with your own admin account won’t tell you whether the staff account is set up correctly.

What staff do when someone arrives

  1. Open your check-in page in the phone browser and sign in. The page needs to load over HTTPS for camera access.
  2. Allow camera access when prompted. Point the camera at the guest’s QR code. They can show the code on a screen or bring a printed ticket.
  3. Check who the scanner says the code belongs to, then tap Check In. If you’ve picked up the wrong code, tap Cancel and scan again.
  4. Read the result before moving to the next guest. The results are colour-coded, but I’d ask staff to read the outcome rather than rely on colour alone.

The distinction I’d point out during a handover is that reading a QR code isn’t the same as checking somebody in. The code identifies the ticket. Your site makes the admission decision when the check-in reaches it. For passes with a cardholder photo, staff can also compare the photo shown alongside the result with the person in front of them.

Rehearse the awkward cases

Take the actual phone to the entrance and try a fresh test ticket with the staff account. If it’s a single-use ticket, present it again after a confirmed check-in so staff can see what an already-used result looks like. If you sell passes with a cooldown, try a repeat scan during that window too. An already-used ticket and a pass that’s temporarily on cooldown are different situations; I wouldn’t ask staff to improvise that distinction while the line is moving.

Then try a cancelled test ticket while the phone is online. I’d finish by turning off the phone’s connection and confirming that the scanner can’t check anyone in offline. A camera may be working even when the phone can’t reach your site. That’s not a successful check-in, and I wouldn’t treat it as one.

When the camera or phone isn’t helping

If a QR code won’t scan but the phone can still reach your site, open the scanner menu and enter the code by hand. The same menu is where staff can see recent check-ins and log out. If the attendee needs to pull up the ticket again, point them to the Tickets or Passes tab in WooCommerce My Account, where the plugin offers the QR code and a printable PDF.

If there’s no usable phone at the door, have a Shop Manager use the relevant ticket, timeslot or pass dashboard from a connected computer. The dashboard has search and a manual check-in action. That’s a fallback for a dead phone or a camera problem, not an offline mode. If the entrance has no dependable connection to your site and you need to keep scanning through an outage, I’d choose a tool designed for offline check-in and test that workflow at the venue first.

How to turn it off again

If you only want to stop browser check-in, turn the built-in scanner switch off under Scanner / API. The external API is a separate switch, so check that setting too if you previously enabled it. For a trial of the whole plugin, deactivating it stops the plugin and clears its scheduled tasks without deleting settings or records. Don’t do that during a live event: keep your check-in route available while staff still need it.

The WordPress.org listing has the setup steps and scanner FAQ. I’d keep the actual door handover short: give staff the URL and their own login, practise one check-in together, and show them where to type a code when the camera won’t read it.


Originally published on pluginlab.dev.

Top comments (0)