Check payment makePayment function to add necessary parameters