He was going to dump the Cokes out in the parking lot then return the cans for cash, most likely to buy a gram of weed or something.
I wish your comment was an exaggeration, but it’s not. I have a friend that works at a Walmart and complains about this kind of thing. He also complains that some use EBT cards to buy items that they then sell in their own stores.