for jordan again I made the getpayment functions