If it’s not a big deal to give it, it should be equally “not a big deal” for stores to accept your decision to decline.
And not lock a customer inside the store for refusing to provide it.
What I don't like is Kmart sending a second receipt to my computer. So I don't use any type of card there anymore.