iPhone app: integrating a Mag Strip Reader

I know someone who publishes an iPhone app which currently has an input field for the credit card number. But, this means the user must type it in, which is error prone and slow. So, I hope to reconfigure without even any coding changes to the app.

This is the kind of device I need to use...

http://magstripe.org/imag.html

https://www.amazon.com/ID-Technologies-ID-80110010-001-Shuttle-MagStripe/dp/B01CLJV0YW/ref=pd_day0_328_4?_encoding=UTF8&psc=1&refRID=1R9YXSDV7B64JVP5WD78

https://www.amazon.com/ID-Tech-Idmr-Al30133-Reader-iPhone/dp/B00VGX2QV6/ref=sr_1_2/146-2848884-2147402?ie=UTF8&qid=1511036967&sr=8-2&keywords=iphone+card+swipe

https://www.amazon.com/Deftun-Bluetooth-Wireless-Magstripe-Collector/dp/B01N11U9IJ/ref=pd_sbs_328_5?_encoding=UTF8&psc=1&refRID=94J69FY5A1Q7NJ4B5877

My question is...

Can one of these be used along with the app, on an iPhone, to get that credit card number into that field, but do so without  requiring any modifications to the app?

I see that some require a merchant account, and those will not work. The app I am describing must run and communicate with the server. It can not use an existing app to transmit the information.

All I need is a way to automate the manual key entry of the credit card #. So, can any of these readers be configured to insert the credit card # into that field?

I suppose, worst case, if the card reader inserted the CC# into a note, so it could be copied and pasted, that might be better.

Thanks
newbiewebSr. Software EngineerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

David Johnson, CD, MVPOwnerCommented:
normally they act like a keyboard so you need an open text box waiting for input
0
newbiewebSr. Software EngineerAuthor Commented:
That may work fine, then. There is an open text field, expecting 16 digits, 0-9.
0
Scott Fell, EE MVEDeveloper & EE ModeratorCommented:
There are going to a couple of types of readers.  The "old" way was as David suggests.  They are simply a keyboard emulator where a swipe will read 1 to 3 tracks of data to the device and your coding has to extract the data required for the individual processor.

With these types of readers, the data goes from the reader to the device to the processor in clear text.  You can accept the data to a form field or submit automatically. Either way, it is going to be treated as card not present (the same as typing it to a form) in most cases. The card not present discount rate is higher meaning it will cost more.  This method also requires the device to be PCI compliant and for that reason was typically used only for machines that you have control of such as a POS or computer at your retail store or office.  

You can not make a phone or device that you do not have control over pci compliant on your own and therefore, it is likely that your credit card processor will allow these devices to be used.

Instead, the processor will typically have a pre-approved list of readers that you can use. Some processors may require you purchase through them.  The types of card readers that will be approved will not allow to send clear text through the device. Instead, the card reader will encrypt the credit card data before you "get access" to it (passing through the phone).  The reader's device may have to have it's own app installed or be part of your own app where the reader's app sends the data to the gateway and you do not have access to what is sent, only the returned data.  

The returned data is typically  a reason code for being denied or an approval where the approval also returns additional data about the card that you will be allowed to store in your database.

Before spending money on these, the first place to start is your credit card processor and get their specs.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
newbiewebSr. Software EngineerAuthor Commented:
thanks
1
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Smartphone Programming

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.