Solved

Swipe credit card on web based POS

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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Every business owner understands the significance of online customer reviews and the impact it can have on sales and revenues. With technology advancing at such a rapid pace, getting online reviews has never been easier, especially when many regions…
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to dynamically set the form action using jQuery.

706 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

18 Experts available now in Live!

Get 1:1 Help Now