If I understand the problem correctly, you want to be able to tell the donor what her donation $d$ should be so that the non-profit will retain an amount $r$. We have $$r=d-0.029d-0.30\tag{1}$$ and want to solve for $d$. We have $r+0.30=0.971d$, and therefore $$d=\frac{r+0.30}{0.971}.$$ After the computation, one might want to do some rounding.
If you want to tell the donor what the fee will be for a net retained amount $r$, calculate $d-r$.