You can only donate mushrooms to a guild after having bought mushrooms via the payment system once (at least). Moreover, your account must be validated and you may only donate up to the total number purchased.

Gold can only be donated to a guild after your account has been validated by e-mail.