Is that really what’s going on? I always thought the barcode just contained the ID number and your information. Can probably be validated that the format is correct very easily, but you can use the correct format with incorrect data easily.
I assumed the scan was still offline validation. Because if the database isn’t networkable from their store, I imagine they aren’t causing any issues in the sales process. So you would only need to precompile and print a valid barcode with correct-looking data.
Probably won’t work for a police dispatch, who I’m sure are going to use online validation when they run the ID. But I’d swear that level of sophistication isn’t in gas stations yet.