It is the duty to the seller to deliver the goods and of the buyer to accept and pay for them, in accordance with the terms of the contract of sale.