Payment controller