How can I pass the calculation value to payment field?