Fix depricated .sum call for payments