How to recover both velocity components in discs of barred galaxies with integral-field spectroscopy