As a compliance officer and technology developer for the credit card and prepaid card industry, I can say with 100% c certainty that ANY magnetic device can affect the magnetic stripe of credit cards.
The magnetic stripe uses technology similar to that of a cassette tape. The magnetic stripe is coded with your card data. Like a cassette tape, if you place a card too close to any magnetic source you risk erasing some or all of the data.