● Case study · Google Sheets · Apps Script

Car Wash QR Coupon System: Paper Coupons That Can’t Be Faked

A QR code coupon system and owner dashboard for a California gas station and car wash. It runs entirely on Google Sheets and Google Apps Script, with no website, no monthly software fee and no customer data collected.

Google Sheets · Google Apps Script · QR codes · Dashboard · Delivered in about 3 working days

The Challenge

A busy car wash sold prepaid paper coupons, but anyone could photocopy one. There was no count of washes used and no record of who handled the cash or the coupons. The owner also had no easy way to see sales, and the client did not want to collect any personal data from customers.

The client first wanted customers to generate coupons on a website. After a few rounds of feedback, the plan changed to coupons printed in bulk and kept at the counter, with no website at all.

The Solution

I built a custom QR code coupon system on Google Sheets and Google Apps Script. Every coupon gets its own unique QR code, so a photocopy shares the same code and the same 3 washes and gains nothing. Here is how it works:

1. Create. A cashier picks the coupon type and quantity and gets a print-ready PDF, 4 coupons per page.

2. Sell. A printed coupon is worthless until a cashier activates it after taking the cash.

3. Redeem. At each visit, staff scan the coupon and tap Redeem 1 wash.

4. Check. Any customer can scan a coupon to see how many washes are left.

5. Review. The owner opens the dashboard to see cash, sales and washes.

The staff coupon page

Staff scan a coupon with the phone camera, a live scanner or a photo scan, or type the code in. The page shows the coupon status, the washes left and the actions each role is allowed to take. It is built for one-handed use on a phone, with large buttons and a day and night mode.

Key Features

Fake-proof QR codes

Each coupon has a unique random code that is checked against every code already stored, so duplicates cannot happen.

Unsold coupons are worthless

A stolen or lost stack of coupons does nothing until a cashier or admin activates each one with a personal staff code.

Bulk create and print

Create up to 500 coupons in one click and download a print-ready PDF, colour-coded by coupon type with dashed cut lines.

Three staff roles

Admin, Cashier and Staff. Permissions are enforced on the server, and only the Admin can open the dashboard.

Full audit trail

Every create, activate, redeem, undo and cancel is logged with the staff member’s name. Undo and cancel need a typed reason.

No double redemption

Actions run one at a time under a lock, so two cashiers cannot use the same wash even if they tap at the same moment.

No customer data

The system never asks for or stores a customer’s name, phone number or email address.

No monthly fee

It runs on the client’s free Google account, so the only running costs are paper and toner.

The owner dashboard

The Admin sees cash collected, coupons sold, coupons printed and washes redeemed for any date range. Charts, a breakdown by coupon type and by staff member, a daily detail table, CSV download and a print view are all built in. Days follow the shop’s own time zone.

Owner dashboard, shown with sample data.

The Result

The system was delivered in about 3 working days and approved by the client. About 1,500 live coupons are in use, and the shop now has a record of every coupon and every action, tied to a staff name.

The logic was checked with automated tests on sample data, including more than 1,800 dashboard calculation checks with no mismatches.

Tools Used

Google Sheets, Google Apps Script web app, HTML, CSS and JavaScript, qrcodejs, html5-qrcode, jsPDF

View more projects →