CREDIT CARD VALIDATION

If you have a secure server (SSL certificate) on your web site and you are bypassing the Connect payment form, you can use this Javascript as a preliminary check for credit cards. The script will prevent the customer from being taken to a LinkPoint page if they enter an invalid credit card.
This script was obtained from Javascript.com

Copy and paste the following code in between the HEAD tags on your HTML page.

Simply click inside the window below, use your cursor to highlight the code, and copy (press Control-C or Apple-C on your keyboard) the code. Next you will need to paste (Control-V or Apple-V on your keyboard) the code into one of your web pages using Notepad (Windows), TextEdit (Mac OS X), or any HTML editor.






STEP TWO:

Copy and paste the following periodic example after the opening (first) BODY tag of the HTML page.
Simply click inside the window below, use your cursor to highlight the code, and copy (press Control-C or Apple-C on your keyboard) the code. Next you will need to paste (Control-V or Apple-V on your keyboard) the code into one of your web pages using Notepad (Windows), TextEdit (Mac OS X), or any HTML editor.




Here is a working example:

Credit Card: