For the settlement or staying by the plaintiff of a writ relating to property, execution not being concluded, the sheriff shall receive the same fees for receiving, docketing and returning, levying, advertising and performing other functions enumerated in this act, including commission as would be chargeable if the sale had been made upon the writ, on the amount paid to settle or stay the writ, whether the sum is paid to the sheriff or to the plaintiff or a compromise is made between plaintiff and defendant for the future payment to satisfy the writ.
42 P.S. § 21107