The suburban St. Louis-based grocery chain Schnucks Markets has agreed to a settlement in a class-action lawsuit stemming from a computer system breach that compromised credit and debit cards of about 2.4 million customers.

The St. Louis Post-Dispatch reports that a preliminary settlement was presented to St. Louis Circuit Judge David Dowd on Wednesday. The judge is expected to rule in the coming weeks.

Under the proposal, Schnucks would pay up to $10 to customers for each credit or debit card that had fraudulent charges posted on it. The charges were later credited or reversed.

The company would also pay customers for some out-of-pocket expenses and for time spent dealing with the problem. The settlement caps the total amount paid to anyone at $175.