cannot pass calculation value to payment field