USPS ecommerce integration/ Consuming XML feed

If that code is too old to be useful… you could always look at some of the open source projects that are actively developed to see how they handle USPS. For example:

https://github.com/ten24/slatwall

OR (less actively)

HTH

– Denny