我正在开发一个应用程序,我们为用户提供一种通过信用卡支付账单的方式,但我不知道我应该如何/使用哪个 api 来获取在 android 中交换的卡信息。
请帮忙。
谢谢你
我正在开发一个应用程序,我们为用户提供一种通过信用卡支付账单的方式,但我不知道我应该如何/使用哪个 api 来获取在 android 中交换的卡信息。
请帮忙。
谢谢你
您可以通过两种方式从信用卡中获取信用卡信息。
1)有两种方法可以实现这一目标。
I) Existing software library.
For this there is a software library card.io. Check [https://www.card.io/how-it-works/][1].
They provide you card.io jar file and some of shared libraries. With this you can scan the credit card then they l notify the relevant detail read from the credit card. But now there is a problem in this. They said like the process is going on.
Download sample link:[http://teck.in/download-card-io-scan-credit-cards-in-android-and-ios.html][2]
II) You can implement your own credit card scanner by using OCR technology. Check the following link. It might help you in that. [http://code.google.com/p/tesseract-ocr/][3].
2)付款也可以使用外部读卡器。
Squareup, Stripe, Scanpay, Magtek,etc... They provide you with their own external card reader. And some of them offer the card in free of cost. Check with these. They guide you to achieve your payment.
希望这会对你有所帮助。