The state placed a temporary ban on buying certain energy drinks, candy and soda with Supplemental Nutrition Assistance Program benefits, sometimes referred to as food stamps.