473,748 Members | 2,540 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Determining Credit Card vs. Debit or Check Card

There are many functions available that implement credit card identification
and number validation -- meaning you can decide, based on the number, if a
card is a MasterCard or Visa and if the number passes the Luhn Formula or
MOD 10 algorithm for the checksum. What I'm looking for however is the
scheme to determine is a card is a check or debit card versus a credit card.

Anyone know if this can be done by examining the account number pattern?

Thanks,

-Bill
Nov 22 '05 #1
1 7819
On Fri, 18 Nov 2005 06:13:29 -0500, "Bill D'Innocenzo"
<bill@<*>NO_SPA M<*>dinnocenzo. com> wrote:
There are many functions available that implement credit card identification
and number validation -- meaning you can decide, based on the number, if a
card is a MasterCard or Visa and if the number passes the Luhn Formula or
MOD 10 algorithm for the checksum. What I'm looking for however is the
scheme to determine is a card is a check or debit card versus a credit card.

Anyone know if this can be done by examining the account number pattern?


I have been doing that since 1990
- but have delegated the responsibility to the clients

DINERSLOCAL:3## #-###006-####=####
DINERS:3##-####-####-###=####
VISA:4580-####-####-####=####
VISA:4###-###-###-###=####
VISA:4###-####-####-####=####
VISA:3###-####-####-####=####
EURO/MASTER:51##-####-####-####=####
EURO/MASTER:52##-####-####-####=####
EURO/MASTER:5326-1###-####-####=####
EURO/MASTER:53##-####-####-####=####
EURO/MASTER:54##-####-####-####=####
EURO/MASTER:55##-####-####-####=####
ISRACARD:2-0###-####=####
ISRACARD:#-####-####=####
AMEX:37#-####-####-####=####
AMEX:34#-####-####-####=####

There are rules, there is even some sort of primary validation system,
but there is a lot to be said for a visual reprensation
Nov 22 '05 #2

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

Similar topics

8
3920
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
3356
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...
4
2475
by: Raj | last post by:
Hi I am developing a POS system for a retail business and I need to support accepting the credit and the debit cards. This authorization interface need to be integrated to the my POS application(vb dot net) I am building i.e.. my application will send the data to the hardware for authorization and gets back the authorization status possibly using the COM ports. So far I found out that the debit card authorization can only be accomplished...
10
4150
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...
6
10956
by: Grant | last post by:
Does any one know how to check the algorithm of the credit card number that was entered in the text box? I want to be able to make sure the users enter correct credit card number since we will process it manually via phone. I want this to be done on the server side behind the code in ASP.Net. Thanks
9
2321
by: nm | last post by:
Hi, I am a developer quite familiar with the C# language and .NET framework. I develop mainly data driven websites. All of our past clients have shopping cart systems developed by me in ASP.NET with the final checkout process also being written by me and handled over SSL. However for all past clients we have simply "taken" the credit card information via the website and the client of ours then reviews the orders (via SSL as well of...
6
2181
by: Chris Davoli | last post by:
We want to process credit cards/debit cards on our web site. We are using VB.net, so if we could get some vb.net components to validate and handle the transactions, or a web service that we could call. Do I need to just contact a bank and they would give us all the components and code to call it? I know that we need a special bank account to handle this. Is there any good links out these to show us how to process e-commerce transactions? ...
1
1412
by: anna cypher | last post by:
I am considering taking on a project that requires the app to charge credit / debit cards. I have no idea how to do this... I'm sure buying the actual reader and getting it to work with an app would be easy enough, but what about performing the transactions themselves? Perhaps there's a library I can purchase that does all this pretty much automagically? Can anyone point me to some good resources? Anna
1
2968
by: securedcardss | last post by:
http://card.2youtop.info secured credit card card credit instant secured card cash credit secured card
0
8995
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8832
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
9381
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...
1
9332
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8252
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...
0
6078
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4608
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4879
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2791
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.