Oceanside has agreed to pay $1.5 million for nearly two million gallons of sewage overflowing into Buena Vista Creek and Lagoon.