How can I pass a calculation value to a payment field