Card swipe error checking