Walmart near me has started using receipt checkers lately and they don’t even really do their job, it’s kind of a gimmick really. They just look at the receipt for a second Don’t even look at your cart, but they stop you every time. It’s just such a waste of my time when I’m in a hurry. I had one person even tell me that it was required by law. No it’s not! There’s no law in the USA that says they have to check your receipt.
So, Walmart has a membership option now, which means, yes they can check your receipts. It’s not required my law (lol) but it is legal.
And yes, security theater to scare thieves away. I remedy this by not shopping at Walmart.