Shopping cart items are deleted upon purchase. Error checking for deletion transaction