I’m actually very surprised this happened at Walmart.
I worked on an adjacent project with one of their teams many years ago. I was very surprised by how zero tolerance their policies were about receiving anything.
It may have been the team I was working with, but I remember none of them allowed us to buy them coffee from the shop in our lobby when they visited.