Easy fix would be what WoW did with vendor items. Have a 1hour "re-sell" period when you buy something from a vendor, this solves the occasional accidental purchase or simply decided to buy something else.

The "re-sell" period will obviously disappear when it gets tampered like spiritbinding/melding/dyeing.