Payment controller

Fixed payment controller.