Why calculation is not passing to payment field?