An idea from Groundwork of the Metaphysics of Morals
A shop owner charges a child the same fair price he charges an adult. Every customer is served honestly. But he does it because cheating would hurt his business. The act matches what duty asks, yet duty isn’t why he does it.