ensure user does not pay more than what is owed