When running with an object cache in place the cart isn't getting cleared upon checkout. I'm not entirely sure why this is happening, but by commenting out the wp_cache_* calls and forcing the MySQL connection for session it cleared up the issue. I can't see a reason why the code WOULDN'T work as is, so it could very well be server level issue but want to log it here. The issue we're having is on WPE, which I believe you may have tested on as well.
When running with an object cache in place the cart isn't getting cleared upon checkout. I'm not entirely sure why this is happening, but by commenting out the wp_cache_* calls and forcing the MySQL connection for session it cleared up the issue. I can't see a reason why the code WOULDN'T work as is, so it could very well be server level issue but want to log it here. The issue we're having is on WPE, which I believe you may have tested on as well.