Note that South San Francisco is actually in a different county.
Similar situation with Julington Creek Plantation and Fruit Cove; both are technically in the same county (St. Johns County) and literally butt up against each other, and yet the former pays Jacksonville (Duval County) sales tax.