If the credit shall be given to the agent by the choice of the seller, he may not afterward demand payment of the principal.