This is just my two cents on the matter. I think the TL "wanted to" is more likely to be valid than "was trying." I would even argue that the latter is actually incorrect in this case.
Your stance is that the line suggests Maomao attempted to sell the handkerchief to the quack. However, when...