The only thing that prevents what they give from being accepted is the fact that they defy God and His Messenger, perform the prayer only lazily, and give only grudgingly.
The only reasons why their contributions are not accepted are: that they reject Allah and His Messenger; that they come to prayer without earnestness; and that they offer contributions unwillingly.