Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

credit card script 1

Status
Not open for further replies.

powerlock2005

Technical User
Feb 23, 2005
42
US
All,
I need a good credit card script for my webpage. I have searched the web and found some, but I can't get them to work correctly.

I am new to java scripting and I need step by step directions on how to implement this.

Someone please help.

Thanks in advance.
 

Can you define what you mean by 'credit card script'. If you want a whole ecommerce solution that allows you to take payment via credit card, this is the wrong forum to ask in.

If you simply want a validation script to check the name against digits using one of the many checksum algorithms around, then if you can provide the algorithm, I'm sure someone here will be able to convert it into a script for you.

Hope this helps,
Dan

 
I have a credit card field that I want to validate for the correct credit card numbers entered (i.e if MasterCard then whatever the correct sequence of numbers, if Visa then 5 series, etc.)

Is that enough explanation or do I need to explain more?

Please let me know.

Thanks,
 

If you can provide the algorithms / rules required for each card type you wish to handle, I'm sure someone here will be able to convert it into a script for you.

Dan

 
If you can't get the ones you found on the Internet to work, I'm afraid no one here can help. I've had good luck with the ones I've found that do format and number combination verification.

Since you didn't specify what doesn't work, you didn't provide any information to work with.

Lee
 
Ok.

Sorry about that.

The code I am trying to use is from this page:
My credit card number field on my webpage is called: creditCardNo.

They have an OnBlur event to kick-off the event, but shouldn't it be an OnClick event for me since I have a Submit button?

Can you all help me with the script with the attributes I gave you as for as my field name?

I will really appreciate any help.

Thanks,
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top