TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

1 点作者 s1mpl3将近 8 年前
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

ryduh将近 8 年前
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 未加载