remove unused payment code