Connect Credit Card Reader

I want to develop the application as follows: http://itunes.apple.com/us/app/paypodd/id341546114?mt=8

I am going to develop one application for reading credit cards, but I do not know how to connect an external device to the iPhone. Right now I am using the ExternalAccessory Class to search for a connected device, but I am not getting any event after connecting any accessories to my iPhone.

If someone has developed this kind of application, please provide me with the thread I'm really confused ..

My Card reader is like this

Thanks.!

+6
source share
2 answers

Are you planning to create your own credit card reader for iPhone / iPod? If so, you may have to go through Apple's Made for iPod (MFi) program. See: http://developer.apple.com/programs/mfi/

If not, your ability to connect the reader to your iOS device is limited. You cannot connect to universal USB or Bluetooth devices. One of the few devices that I know of is the square reader, which is a customizable hardware device that communicates through an audio jack. Perhaps this was due to the large amount of custom audio technology on the Square part; it is not an easy task, and it cannot be done with finished parts.

If you have other plans regarding what type of reader to use, add details to your question!

+5
source
+1
source

Source: https://habr.com/ru/post/897799/


All Articles