A politician voting for a bill is legal. Giving money to a politician is legal. But giving money to a politician so he'll vote for a bill is not legal.
The private money delivering entity often writes the bill!
Which the politician often doesn't even read, just sends to the house from committee for vote...