How to pass the total field to the donation's payment field?