The American Association of Fundraising Professionals, as part of its Code of Ethical Principles and Standards, specifically prohibits its members from accepting compensation that is based directly on fundraising contributions.
Specifically, the code states:
(21) Members shall not accept compensation or enter into a contract that is based on a percentage of contributions...
This does not mean that incentives - or performance-based compensation - is off the table for fundraising and development positions. As the code states:
(22) Members may accept performance-based compensation, such as bonuses, provided such bonuses are in accord with prevailing practices within the member's own organization and are not based on a percentage of contributions.
I posted on this topic a couple of years ago - here is the link in case anyone finds it to be of help.