sounds like domain switching.
If you start shopping at your domain not using www, for example:
then the return URL must also use the same non www domain:
The items in the cart are stored in session variables which are domain specific. as far as sessions are concerned, the www and non-www addresses are 2 seperate browsing sessions.
you can use mod rewrite to force all site access to use one or the other to prevent the problem: