TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

How to read CC data from MagTek reader into web form?

1 pointsby s1mpl3almost 8 years ago
I&#x27;m not looking to use Square.<p>I know about Jeffrey Malone and MagRead.<p>I also know about &#x27;node-hid&#x27;.<p>I&#x27;m just looking for an easy way to swipe a credit card, and just print the data in a web form so you don&#x27;t have to actually manually type the cc number, expir date, etc. Is this possible?

1 comment

ryduhalmost 8 years ago
Hi s1pml3, yes, it&#x27;s possible. Check out <a href="https:&#x2F;&#x2F;jsfiddle.net&#x2F;KurtWM&#x2F;tgeWn&#x2F;" rel="nofollow">https:&#x2F;&#x2F;jsfiddle.net&#x2F;KurtWM&#x2F;tgeWn&#x2F;</a><p>phppointofsale.com uses that code. Check out their demo. They swiping cards and breaking out the code into separate input fields.
评论 #14984411 未加载