fix get total payment