Made a function to grab a tranfer value in newpayment (and receive)