Yes I know this post is really old.
I just wanted to tell everyone I finally figured out a way to do it.
I gave my unit the Sell Items ability and a item to sell and then detected who bought the item. I could probably of done it with Mercenary hire as well.