Right. That's what I said. You get taxed where you earn the money. If you aren't in California when you earn the money then you don't pay California tax. If you are in California when you earn the money then you pay California tax. (I know there are reciprocity laws among some of the states but there aren't between California and Texas.)