If the purchaser is disturbed or has just cause to fear that he will be disturbed by an action, either mortgage or revendication, he may suspend payment of the price until the seller has put an end to the disturbance, if he prefers not to give security, or unless it has been stipulated that, notwithstanding the disturbance, the purchaser will pay.