It turned out that there was an intermittent bug in the checkout code where some people were not being able to complete their sale. I've been checking and checking and the problem wasn't in my code per se, it was a glitch in how SQL is processed in PHP. The insertion and the updating of records is not guaranteed in a single SQL statement. Separate out the insertion and the updating of records for more consistent results. Fun stuff!