Fix cart cleanup and cart unlock
Merge pull request #1093 from inthause/APIWeb

Fix cart cleanup and cart unlock