While putting affiliate (or donate) links in posts is a definite no-no, doing so in the user profile is okay.
In fact, except for some egregious anti-social behaviors (offensive usernames, avatars, or "about me" text) it's rare for Moderators to bother with user profiles.
(More information at this answer on Meta Stack Exchange.)
There's also this:
No one is making you give that user money.
As long as it is not against the Terms of ServiceTerms of Service, anything goes on personal user profiles.
Now, of course, if someone starts leaving comments like "if my answer really helped you, please consider using the 'Donate' button on my user profile", that would be too much.