The author usually gets <5% share from the book price. I guess it's much better (although not legal) to just skip buying the book and send a donation directly to the author.
See Charles Stross: https://www.antipope.org/charlie/blog-static/2009/03/reminde...