I don't like receiving requests for charitable donations in this context. If you don't want gifts then write that down on the invite. By asking/suggesting people make a donation you are implying they would have bought you a gift and you are exerting control over the details of that gift giving. Even if you say "only if you want to give something......." I don't think either is appropriate. Tacky.