ShopSite Validatin of Credit Card Numbers

This is an archive of old posting to the User Forum

ShopSite Validatin of Credit Card Numbers

Postby Larry Bohen » Wed Apr 14, 2004 8:21 am

Can ShopSite tell whether a CC number is correct in the online order
process? Expiration date correct? Name on card correct?
--
Larry Bohen
www.audiobooksonline.com
Larry Bohen
 

Re: ShopSite Validatin of Credit Card Numbers

Postby loren_d_c » Wed Apr 14, 2004 12:34 pm

Larry Bohen wrote:

Can ShopSite tell whether a CC number is correct in the online order
process? Expiration date correct? Name on card correct?


ShopSite itself? No, that is the function of a real-time payment gateway
like Authorize.net, VeriSign Payflow Pro, Cardservices
International/LinkPoint, etc.

All ShopSite can do without the payment gateways is 1) make sure the
expiration date is prior to the current date, which it does by not
allowing an expiration date older than the current year and month, 2)
make sure a name is provided, and 3) check the card number to make sure
it is the right number of characters for the card type selected and that
it starts with the correct numbers for a card of that type.

-Loren
loren_d_c
 
Posts: 2571
Joined: Fri Aug 04, 2006 12:02 pm
Location: Anywhere

Re: ShopSite Validatin of Credit Card Numbers

Postby Larry Bohen » Wed Apr 14, 2004 3:51 pm

I had new employee place an order (like a real customer would) to
familiarize him with the order process. He entered his VISA & Discover
numbers (two separate orders) with just one of the digits (at the end)
different than his actual number. He also entered valid expiration dates....
He got "enter valid card number" messages each time. Any idea why he would
get this message?

--
Larry Bohen
www.audiobooksonline.com
"Loren" <loren_d_c@yahoo.com> wrote in message
news:c5k3om$gkg$1@support.shopsite.com...
Larry Bohen wrote:

Can ShopSite tell whether a CC number is correct in the online order
process? Expiration date correct? Name on card correct?


ShopSite itself? No, that is the function of a real-time payment gateway
like Authorize.net, VeriSign Payflow Pro, Cardservices
International/LinkPoint, etc.

All ShopSite can do without the payment gateways is 1) make sure the
expiration date is prior to the current date, which it does by not
allowing an expiration date older than the current year and month, 2)
make sure a name is provided, and 3) check the card number to make sure
it is the right number of characters for the card type selected and that
it starts with the correct numbers for a card of that type.

-Loren
Larry Bohen
 

Re: ShopSite Validatin of Credit Card Numbers

Postby loren_d_c » Wed Apr 14, 2004 4:18 pm

Some of the first characters in the credit card number are a checksum
for some of the later numbers, I believe. I am not familiar with the
algorithm enough to quote it, but there is an industry standard mod10
algorithm that can be used to determine if a card number could possibly
be a valid number (doesn't mean the card is valid, though). ShopSite may
use this test internally on the card number when it is submitted, and
display a non-JavaScript error if it doesn't pass the algorithm check.
The JavaScript function that you can see in the source of the checkout
screen, however, only checks the length of the number and the first
couple of characters.

For testing, I would suggest a Visa card number of 4111 1111 1111 1111
and any name and any (future) expiration data. This will pass any
ShopSite tests, and even most real-time credit card gateways will accept
this number when the gateway account is set to test mode.

-Loren


Larry Bohen wrote:

I had new employee place an order (like a real customer would) to
familiarize him with the order process. He entered his VISA & Discover
numbers (two separate orders) with just one of the digits (at the end)
different than his actual number. He also entered valid expiration dates....
He got "enter valid card number" messages each time. Any idea why he would
get this message?
loren_d_c
 
Posts: 2571
Joined: Fri Aug 04, 2006 12:02 pm
Location: Anywhere


Return to User Forum Archive

Who is online

Users browsing this forum: No registered users and 23 guests