I have a feeling this has been discussed before. At any rate, here are some links:
Of course, this practice is completely obsolete in online shopping, while the psychological pricing effect remains.
Most sources agree that its origins are in psychology, though your theory may explain its widespread adoption by retailers:
http://www.helium.com/items/705308-the-history-of-odd-retail...
http://www.eurekalert.org/pub_releases/2011-09/ru-9pm090611....