1. card is scanned at entry.
2. id from card is then used to lookup data in central database
3. if database says it's ok (i.e. number of days left is > 0 and/or card not expired) give green light to admit guest. In the Database: deduct 1 from days left (if applicable), store date, store park.
4. At fast pass, scan card
5. id from card is then used to lookup data in central database
6. if park was entered today and it's ok to issue fast pass, issue fast pass and update fast pass field in database.
Now, if the card wouldn't scan in step 2 (because the mag stripe is bad or the reader is broken, for example), then step #3 doesn't happen. The cast member just presses a button to admit the guest, BUT that can't be tied back to a ticket (since the ticket couldn't be read).
Hence when you go get the fast pass #6 wouldn't work and hence no fast pass.
No writing to the ticket is necessary at all, and everything happens via a central computer and a database.
rob.