Parse Credit Card input from Magnetic Stripe

前端 未结 6 1820
故里飘歌
故里飘歌 2020-12-23 17:36

Does anyone know how to parse a credit card string input from a Magnetic Card Swiper?

I tried a JavaScript parser but never got it to work. This is what the input l

6条回答
  •  失恋的感觉
    2020-12-23 18:16

    Try this : https://github.com/pdamer/CardReader/blob/master/CardReader.js Or this: http://blog.cnizz.com/2008/10/16/javascript-snippet-for-handling-credit-card-readers/

    I think that what u need

提交回复
热议问题