Code cleanup and checkout complete for sales