(a) Except as provided in subsection (b) of this section, if in the ordinary course of business a contract for sale of goods is made between a consignee and a third person, the contract and any payment made in the ordinary course of business for the goods under the contract is valid against the owner of the goods, even if the third person has notice that the seller of the goods is a consignee.
(b) A contract or payment described in subsection (a) of this section is not valid against the owner of the goods if the third person has notice that the seller is not authorized to sell the goods or to receive payments for them, as the case may be.