# Getting a loyalty card barcode to scan first time

> The checks I run on a loyalty card barcode before the artwork is approved, from the code type through to the printed size.

Canonical: https://portfolio.wrxstack.com/plasticcardnz/case-studies/loyalty-card-barcode-scans-first-time

- Client: PlasticCard.nz
- Published: 2026-11-21
- Updated: 2026-11-21

## Problem

A loyalty card that won't scan is something staff notice on day one. Most scanning faults come from a handful of decisions made before printing, so I work through them in order.

**Start with the system, not the design.** The POS or loyalty provider decides which code it reads. The formats we print include Code 128, Code 39 and EAN-13, and we can also produce barcodes that work with Stripe. Each has its own rules about length and characters, so the provider should confirm the type and the data format before anyone starts on the layout.

**Decide what goes inside the code.** Usually it's the customer number. Some systems want a prefix in front of it. Leading zeros matter, and they vanish easily when a spreadsheet treats the number as a value instead of text. I ask for the list with the number in a column of its own, then check it for duplicates and gaps.

## Approach

**Print the number as well.** Showing the same number in plain text near the barcode gives staff a fallback if a scan fails. Both should come from the same source record and never be retyped. If the card also carries a stripe, the encoded number has to match too.

**Give the code room.** A barcode needs clear space on each side and strong contrast. Dark bars on a light background is the safe choice. Busy patterns, metallic areas and clear plastic behind the code are the usual reasons a read fails. I'd rather move the code to a plain area on the back than squeeze it into the front design.

**Check it at the printed size.** A code that scans on a screen can fail once it's shrunk to fit a corner. I check it at the size it will really print, on the material and finish that was quoted.

## Result

**Test before the run.** Where the provider asks for it, a sample card goes through their scanner before the full order is made. The software, the customer records and the scanners stay with the business and its provider.

None of this asks the business to become a barcode expert. It just needs the right questions asked early, while changes are still easy. There's more on [what a loyalty card can carry](https://plasticcard.nz/loyalty-gift-cards/) on our site. Wikipedia explains the structure of the [EAN-13 barcode](https://en.wikipedia.org/wiki/International_Article_Number) for anyone who wants the detail.

## More from PlasticCard.nz

- [Home](https://portfolio.wrxstack.com/plasticcardnz) ([Markdown](https://portfolio.wrxstack.com/plasticcardnz/index.md))
