The solution? Offer your code under an open source license, but also have a purchase option to buy a commercial license. In many cases, the commercial version is a compiled and validated official executable, available with a support contract. But there is no reason that the came code can't be made available under both licenses, or that the commercial license can't actually be the same GPL (or whatever) license the open source one is offered under.
This way, the technical team that chooses the software has an invoice that they can send to purchasing, to get corporate support dollars to the open source project.