Two different words share these characters, and traditional writing keeps them apart. Issuing a card is 发卡, written 發卡. A hair clip is 发卡, written 髮卡, because that 发 means hair.
culture
Turning down a suitor is described as handing out a 好人卡, a 'nice person card', so 被发卡 means being told you are a lovely person and nothing more.