Robert McCoy accepted a plea-bargain agreement Wednesday that recommends he pay $5,000 to the Ravalli County Drug Fund and serve between 15 and 30 days in jail.
Sentencing is set for March 5.
McCoy and his wife were out of the country in May 2012, when the girl handed out the candy.
Authorities found in their home more than twice the legal amount of marijuana allowed to a medical pot provider, along with a small amount of hashish.
McCoy pleaded guilty to operating an illegal grow operation, possessing hashish and unlawful conduct by a cardholder.