Wawa has agreed to settle a huge class action lawsuit brought over a massive data breach that potentially affected tens of millions of customers.

A federal judge has signed off on a preliminary agreement on a settlement involving as many as 22 million Wawa customers who used a credit or debit card at a Wawa location anywhere in the United States between March 4, 2019 and December 12, 2019.

When the company announced the data breach, it was revealed customers personal credit card information may have been compromised.

Under terms of the settlement, Wawa has agreed to give a $5 gift card to anyone that can "attest that they spent at least some time monitoring their payment card" as a result of the data breach.

The amount of compensation goes up if you can prove you suffered actual damages. If you can prove you had a fraudulent charge on your card after the data breach, Wawa has agreed to give you a $15 gift card. If you can demonstrate actual out-of-pocket losses as a result of the breach, Wawa has agreed to cash payments up to $500.

However, don't plan on getting that gift card anytime soon. There are some details still to be worked out, and the judge must give final approval. A hearing is not scheduled until January, 2022.

Once the final settlement is approved, Wawa says they will post notices in all their stores with the details on how to obtain a gift card or file an actual claim for damages.

Judi’s definitive list of New Jersey’s top 7 best diners

Beautiful sunflower fields to visit in NJ 2021

Among reasons why the “Garden State” remains a fitting nickname for New Jersey — late summer means the arrival of sunflower season.

There are at least six fields, spanning the state. Some are in bloom as of early August, while others are planned to peak from late August to late September.

Calling or emailing before heading out is always advisable if weather appears to be an issue. 

50 Most Popular Chain Restaurants in America

YouGov investigated the most popular dining brands in the country, and Stacker compiled the list to give readers context on the findings. Read on to look through America's vast and divergent variety of restaurants—maybe you'll even find a favorite or two.