Listen to security episode 109 now! with Steve Gibson.
http://www.grc.com/securitynow.htm
In this episode, Steve details how he created his own e-commerce system, which stores data exactly as you describe. It does not store anything on the server side, but collects data, encrypts and signs it on a binary block that cannot be changed (otherwise the signature will not match when re-submitted) and stores it in a hidden form field on the client.
source share