From what you've said, I'd look first at the payment module you're using for credit card processing. Sounds like it may be a problem with how it comes back to the cart.