They could have a camera from when they bought the ticket. He also could have purchased something with a card. The ticket can be traced back to where and when it was purchased. If Edwin Castro can be proven to have been somewhere else, and not there, that is pretty strong evidence.
Cash only for lotto here. Illegal to use a credit card. Not enough profit for the fees anyway