Fixed MakePayment() bug