payment controller template