client payment handling