Property not sold- Who pays agent’s commission?

There is a popular misconception on the agent’s commissions on Spanish property sales. It is understood that agents collect their commissions only on completion, and when the sale has been successfully completed. But, what’s the real position of the agents by the Spanish laws? AN EXAMPLE:  When the buyer pull out the sale without “reasonable […]