Grubhub has agreed to pay over $3.5 million to settle a lawsuit brought by the Massachusetts Attorney General's Office accusing the food delivery service platform of overcharging restaurants fees for its services beyond the statutory 15% cap during the COVID-19 pandemic.