This is really much more a story of ethics in software development. Someone had to know they were doing the wrong thing when they wrote this.
edit: No, not going to talk about tipping. Like it or not, it is extremely common all over the world, and unrelated to this submission (which is about lowering "shopper's" compensation to almost negligible levels when tips are given).