My experience is that it depends. I have travelled with my wife where she has paid but we have used my HHonors #. Sometimes I get points, sometimes not. Since I have always felt I wasn't really entitled to the points since she was paying (really, her company was paying), I never tried to get credit when it wasn't automatically given to me.