A former Texas mortgage company will stop doing business in California and pay $2.3 million in fines and homeowner refunds under a settlement announced Monday by state consumer protection officials.