Fixed issue with int/float total during payment