Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Swipe credit card on web based POS

Posted on 2008-10-15
4
Medium Priority
?
2,415 Views
Last Modified: 2013-12-13
Is there a way to swipe credit card on a web based POS?

The need is for a physical credit card swipe, and the transaction payment once processed, has to get settled on this web application built using PHP, MySql. In other words, the POS is a web page/form. Once the products are entered and the valid total is displayed on the form, the POS executive should have the option to complete the transaction by just swiping the physical card.
 
Also, if it is possible, we need to capture the card user name automatically along with the first 1 and last 3 digits of the credit card used, and the card type.

Can it be done?
0
Comment
Question by:pbonly
  • 2
  • 2
4 Comments
 
LVL 6

Accepted Solution

by:
tchamtieh earned 1500 total points
ID: 22719400
All card readers do is to read the card number, name, and expiry date electronically. As of yet, your average credit card doesn't have much else on it than that. So a device like this would be pretty much redundant when a keyboard can fill out the information with no extra hardware needed.

That device is known as a wedge device. It just sends the characters in like keyboard entry. You will have to take the input string and chop it up and use JScript to dump the information in the right fields on your web form.

Hope this helps.
-Thomas
0
 

Author Comment

by:pbonly
ID: 22719561
Thank you Thomas. This could lead to a solution, but need to clarify some.

Are you saying that by using the wedge device, the credit card details may be read to the webpage? The transaction then could get processed online through the the webpage (with a merchant account online gateway), or otherwise through the credit card swipe device directly, which normally happens in a store sale. Will the former flag this as a credit card present transaction? If not, then what about the transaction fee that varies for card present and card not present.

Further, on swipe, how would the the swipe reader know what amount to charge (which is displayed on the web-page/form). Will it read from the web page? and also let us capture the information like - card holder name and the partly the number for reference on the webpage.

Appreciate your inputs.
0
 
LVL 6

Expert Comment

by:tchamtieh
ID: 22723424
Here's how I invision this taking place. The salesperson is already on the checkout page, and has to be in the credit card number field. The salesperson slides the card through the reader, the information is dumped into that form field, this triggers a jscript that would read the information read from the card and fill out the other 2 fields in the form namely Name, expiration date. Then once the salesperson is done inputting the rest of the information in the form (address, phone number etc...), if needed, then he/she submits the form and your application processes the payment with the online merchant. Keep in mind that the amount to charge would have already been determined from the shopping cart. When you say web based POS, it's assumed that this POS is a full blown shopping cart system too. To see what sort of information the credit card has, just get a card reader, open Notepad and swipe the card, it will dump the information into notepad. Hope this helps.

-Thomas
0
 

Author Comment

by:pbonly
ID: 22723774
Thanks again Thomas, but this is not the remaining concern.

Actually we do not want the credit card to get charged online through the payment gateway. Mainly because the online credit card processing fee is far higher than the offline transaction fee through credit card swipe, i.e. with credit card present.

So we want the card to be authenticated through card swipe as 'card present transaction' and still save the details needed for reference.

Appreciate your comments.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this series, we will discuss common questions received as a database Solutions Engineer at Percona. In this role, we speak with a wide array of MySQL and MongoDB users responsible for both extremely large and complex environments to smaller singl…
The Internet has made sending and receiving information online a breeze. But there is also the threat of unauthorized viewing, data tampering, and phoney messages. Surprisingly, a lot of business owners do not fully understand how to use security t…
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
The viewer will learn how to count occurrences of each item in an array.
Suggested Courses

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question