No civil action shall be maintained upon any debt incurred for the sale of alcoholic liquor, except upon any debt incurred in the purchase of alcoholic liquor for off-premise consumption or for on-premise consumption together with an order of food, or unless the purchaser at the time of purchase was a permittee purchasing for resale.