473,651 Members | 2,644 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Usig Credit Card Reader

I'm writing and ASP.net app using vb .net. I need to interact with a credit
card reader. I have one that sits inline with the keyboard. Works great,
except for the fact that no matter what field the user is in on the
transaction page (Name, Address, Credit Card number) the reader will dump
the data at the cursor. So, if the user is in the name field and they
happen to swipe the card, that's where the info goes.

has anyone worked with this type of thing before? Is there a way to disable
the card reader or detect that the info is coming from the reader? So I can
only enable it when the user is in the proper field, or move the data to the
proper field when it's detected... Thanks.

J
Nov 19 '05 #1
4 5011
That device is known as a wedge device. It just sends the characters in like
keyboard entry. You will have to look at the input string to determine if
they are putting the information in the wrong field. You might use Jscript
to look at the information which will have the special characters for credit
cards in the string.

"Jerry Camel" wrote:
I'm writing and ASP.net app using vb .net. I need to interact with a credit
card reader. I have one that sits inline with the keyboard. Works great,
except for the fact that no matter what field the user is in on the
transaction page (Name, Address, Credit Card number) the reader will dump
the data at the cursor. So, if the user is in the name field and they
happen to swipe the card, that's where the info goes.

has anyone worked with this type of thing before? Is there a way to disable
the card reader or detect that the info is coming from the reader? So I can
only enable it when the user is in the proper field, or move the data to the
proper field when it's detected... Thanks.

J

Nov 19 '05 #2
That device is known as a wedge device. It just sends the characters in like
keyboard entry. You will have to look at the input string to determine if
they are putting the information in the wrong field. You might use Jscript
to look at the information which will have the special characters for credit
cards in the string.

"Jerry Camel" wrote:
I'm writing and ASP.net app using vb .net. I need to interact with a credit
card reader. I have one that sits inline with the keyboard. Works great,
except for the fact that no matter what field the user is in on the
transaction page (Name, Address, Credit Card number) the reader will dump
the data at the cursor. So, if the user is in the name field and they
happen to swipe the card, that's where the info goes.

has anyone worked with this type of thing before? Is there a way to disable
the card reader or detect that the info is coming from the reader? So I can
only enable it when the user is in the proper field, or move the data to the
proper field when it's detected... Thanks.

J

Nov 19 '05 #3
Credit card readers, like barcode scanners, act as keyboard on the web page.

So it isn't going to be easy, unless you want to forbid the user from
entering numbers on the other fields.
(If this is the case, you can set up event handler for listening keyboard
event, and jump to the credit card
field if it sees a number)

Oh, wait. If your credit card reader is like my barcode reader, that can be
configured to prepend another sequence
of letter in the beginning of returned string at can act as identifier, then
there may be trickly things you can do......

"Jerry Camel" <rl*****@msn.co m> ¦b¶l¥ó
news:uV******** ******@tk2msftn gp13.phx.gbl ¤¤¼¶¼g...
I'm writing and ASP.net app using vb .net. I need to interact with a credit card reader. I have one that sits inline with the keyboard. Works great,
except for the fact that no matter what field the user is in on the
transaction page (Name, Address, Credit Card number) the reader will dump
the data at the cursor. So, if the user is in the name field and they
happen to swipe the card, that's where the info goes.

has anyone worked with this type of thing before? Is there a way to disable the card reader or detect that the info is coming from the reader? So I can only enable it when the user is in the proper field, or move the data to the proper field when it's detected... Thanks.

J

Nov 19 '05 #4
Credit card readers, like barcode scanners, act as keyboard on the web page.

So it isn't going to be easy, unless you want to forbid the user from
entering numbers on the other fields.
(If this is the case, you can set up event handler for listening keyboard
event, and jump to the credit card
field if it sees a number)

Oh, wait. If your credit card reader is like my barcode reader, that can be
configured to prepend another sequence
of letter in the beginning of returned string at can act as identifier, then
there may be trickly things you can do......

"Jerry Camel" <rl*****@msn.co m> ¦b¶l¥ó
news:uV******** ******@tk2msftn gp13.phx.gbl ¤¤¼¶¼g...
I'm writing and ASP.net app using vb .net. I need to interact with a credit card reader. I have one that sits inline with the keyboard. Works great,
except for the fact that no matter what field the user is in on the
transaction page (Name, Address, Credit Card number) the reader will dump
the data at the cursor. So, if the user is in the name field and they
happen to swipe the card, that's where the info goes.

has anyone worked with this type of thing before? Is there a way to disable the card reader or detect that the info is coming from the reader? So I can only enable it when the user is in the proper field, or move the data to the proper field when it's detected... Thanks.

J

Nov 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
3915
by: sam1967 | last post by:
I know how to build forms with ASP and process user input. Now i want to take credit card payments via a form. i will then download the details and process them via our credit card machine. do i just create a regular ASP form and use a certificate on the server to encrypt the data ? ie https://server/getpaymentform.asp there is nothing special about the form is there ? it is just the same as the form i have been using for user input.
6
3350
by: Simon Wigzell | last post by:
My client wants to have credit card information fields on his forms for his website visitors to be able to buy his wervices by credit card. The credit card info - Brand, number and expiry date will be sent to the server and stored in the database as the .asp page calls itself on Submit. How secure is this? I've never had to worry about it before but is form information encrypted before being sent to the server? Are there any legal...
10
4127
by: dries | last post by:
A friend of mine has a problem with his credit card validation routine and it is probably a simple thing to solve but I cannot find it. It has to do with the expiry dates. What happens is that as each month passes, that month is then not recognised as being valid, even though the year makes it still valid. i.e. the number of the month entered has to be bigger than the number of the current month. Therefor, if it is in august now 09/2005...
3
2131
by: Ryan | last post by:
If I have an internal company web application is there any way that the terminals using this application could have credit card readers where the credit card information gets automatically updated on the payment page of the application? Obviously on the client side there is not a lot that can be done... but possibly the credit card reader could send the information to the server and cause the web application to refresh... Any ideas?
12
11160
by: Jerry Camel | last post by:
Not sure if this is a good place to post this... I'm writing and ASP.net app using vb .net. I need to interact with a credit card reader. I have one that sits inline with the keyboard. Works great, except for the fact that no matter what field the user is in on the transaction page (Name, Address, Credit Card number) the reader will dump the data at the cursor. So, if the user is in the name field and they happen to swipe the card,...
3
1695
by: mikekissman | last post by:
I've built an online reservation website in ASP .NET with a SQL Server backend. It allows customers to search for available resources, than charges their credit card a fee to hold the reservation. Here's how I have it arranged now: 1. Find available resource 2. Store reservation info in database 3. Charge credit card The problem is, if the credit card fails, I have to go back and delete
0
2477
by: Simon Verona | last post by:
I'm starting to look to develop an interface to a smart card reader (to read/write the credit card style cards with a chip installed). I want this to be device independent so looking at the microsoft web site it looks like I need to be looking at the USB CCID dll that microsoft delivers. However, I want to write the interface in vb.net. What I want to do is to use the smart card as a login - so I will save user login information on...
1
2960
by: securedcardss | last post by:
http://card.2youtop.info secured credit card card credit instant secured card cash credit secured card
0
8275
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8795
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8695
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8576
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7296
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6157
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4281
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1906
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1585
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.