stripe.js magenetic读卡器php [英] stripe.js magenetic card reader php

查看:157
本文介绍了stripe.js magenetic读卡器php的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

拥有适用于POS的网络php网络应用程序。想看看是否有可能整合stripe.js以便从交易中获取卡片和流程的详细信息。

Have a web php web app for POS. Looking to see if its possible to integrate the stripe.js in order to take the details from the card and process in the transaction.

读卡器是音频插孔,就像那些你从Square或Cardflight看到,但我想通过网络运行它,而不是为它构建一个iOS / Android应用程序。

Card reader is audio jack like the ones you see from Square or Cardflight but I want to run this over the web rather than build an iOS / Android app for it.

磁卡读卡器是否可以如果字段是焦点,则将信息输入表格?

Is it possible for the magnetic card reader to input the info it a form if the fields are in focus?

或者在幕后做更多事情。我知道这是一个网络应用程序,这可能是不可能的,但现在需要确定。

Or to do something more behind the scenes. I know being a web app this may not be possible but need to now for sure.

任何想法?

----编辑----

----Edit----

如果可能的话,我宁愿不把细节放到webform中,这只是我认为最简单的解决方案。是否可以使用stripe.js和读卡器执行此操作?试图摆脱必须构建自定义iOS / Android应用程序。

I would prefer not to put the details into a webform if possible that was just the simplest solution I thought. Would it be possible to do this with the stripe.js and the card reader? Trying to get away from having to build a custom iOS / Android app.

推荐答案

我怀疑你能输入到网络表单通过基于音频的读卡器。您最好的选择是调查将键盘输入作为输出的读者,类似于大多数条形码阅读器的工作方式。使用其中一个,您可以使用标准输入框,然后将输入处理为您需要的任何格式。

I doubt you will be able to input into a web form via an audio-based card reader. Your best bet would be to investigate readers which produce keyboard input as their output, similar to how most barcode reaaders work. With one of those, you could use a standard input box and then process the input into whatever format you need.

这篇关于stripe.js magenetic读卡器php的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆