Where, under the contract of sale, the seller and the buyer agreed that the payment and delivery would be made on a certain day, and on said date, the seller may offer to deliver the goods to the buyer, and if the buyer refuses to accept the goods, the seller may notify the buyer that he is holding the goods no longer as the owner but as the depositary of the buyer. The seller can thereafter sue for the price