Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
Validate credit card number using JavaScript.
Old 03-03-2008, 06:58 AM Validate credit card number using JavaScript.
Ali_GGL's Avatar
Junior Talker

Posts: 4
Name: ALi
Trades: 0
Hi
Any one knows how to validate a valid credit card number using JavaScript and what are the rules to be follow while

making logic please guide me as soon as possible.
Thanks.

Ali.
__________________
webmaster
Please login or register to view this content. Registration is FREE
Ali_GGL is offline
Reply With Quote
View Public Profile Visit Ali_GGL's homepage!
 
 
Register now for full access!
Old 03-03-2008, 08:12 AM Re: Validate credit card number using JavaScript.
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,383
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Google does
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 03-03-2008, 10:37 AM Re: Validate credit card number using JavaScript.
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,935
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
The question is...why would you want to? If you've got a payment processor in place, they should be the ones doing the work. The thing that scares me about Javascript validation on something like this is that there's no way to verify whether or not the check-digit formula is accurate, and whether or not it changes.

Let the processors be responsible for this stuff.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Reply     « Reply to Validate credit card number using JavaScript.
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.51542 seconds with 12 queries