Solved

Swipe credit card on web based POS

Posted on 2008-10-15
4
2,382 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 500 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Learn about the eCommerce marketing trends for the year ahead.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

895 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now