Fix calculation of amount due on payment screen