I think this can be solved (or improved) by making the option to pay publication fees available only after the paper is accepted. In fact, it could even be extended to after the official publication. If the author then wants the article to be free for readers, they can pay having already secured the paper. If this was also combined with an anonymizing factor to hide the identity of the author from the publisher, it would be perfect. But I know that part is impractical.