Is that a Canada thing? I've been on a lot of airlines and never seen one that only accepts cards?
North American thing perhaps.
Air Canada, United, American Airlines, Delta, Southwest, etc., only accept credit & debit cards for onboard purchases. United might still accept cash on a few international routes.
From 2009:
Airlines want your money, but not your cash - NBC News