What are you on about? Of course McD will change prices relative to input expenditure. You can even see this across all the countries they serve. If there were to be a significant impact on margin, they can increase prices.
All fees are passed onto customers, that’s how you calculate profit margins.