Happens to me all the time.
Never having purchased one of these things in my whole life perhaps there is something here I have not heard of. I have, however, heard of reports that “Oh, a winning ticket which has not yet been claimed had been bought from the drugstore at Smith and Jones streets in Anytown, so if you bought a ticket there you should look at it.” And so that the receipt might tie the purchase to the ticket’s number. Or it might not. Anyhow I sense sarcasm here so an explanation would be appreciated.