Processing invalid/activated codes