created payment controller