Fixed log error
system logged sale as completed before it was actually completed