how to solve this payment problem