Microsoft KB Archive/889384

= FIX: Valid credit card numbers are not accepted in Microsoft Commerce Server 2002 =

Article ID: 889384

Article Last Modified on 6/2/2006

-

APPLIES TO


 * Microsoft Commerce Server 2002 Standard Edition
 * Microsoft Commerce Server 2002 Service Pack 1
 * Microsoft Commerce Server 2000 Standard Edition

-





SYMPTOMS
Valid credit card numbers are not accepted by the order processing pipeline in Microsoft Commerce Server. Some credit card numbers that were issued in the year 2004 or that may be issued in a later year may not be accepted as valid numbers. If a credit card number is not accepted as a valid number, an order that uses the credit card number cannot be completed. When this problem occurs, you may receive an error message that is similar to the following:

The credit-card number you provided is not valid. Please verify you payment information or use a different card.

Note Because this message can be customized in one of the resource files that are available with a Microsoft Commerce Server Sample site, the error message that you receive may be different.



CAUSE
This problem occurs because the number of digits and the ranges of numbers that are permitted for some credit cards have changed. This Microsoft Commerce Server software update supports the new credit card numbers that have been issued.



Software update information
A supported software update is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This software update may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Microsoft Commerce Server service pack that contains this software update.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the software update. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site:

http://support.microsoft.com/default.aspx?scid=fh;[LN;CNTACTMS]

Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

File download information
The following files are available for download from the Microsoft Download Center:

Commerce Server 2002
English

http://download.microsoft.com/download/D/5/5/D5517962-C2AA-4023-BD5E-491F7804DF45/CS2002-KB889384-ENU.EXE

German

http://download.microsoft.com/download/2/5/E/25EA4097-48BF-4C1D-A1ED-C55354BCC446/CS2002-KB889384-DEU.EXE

French

http://download.microsoft.com/download/6/3/C/63C753A7-A97E-4EC8-B936-C62EE4DCE2C1/CS2002-KB889384-FRC.EXE

Japanese

http://download.microsoft.com/download/A/4/3/A435F47B-7B12-41D6-998D-950D56939B88/CS2002-KB889384-JPN.EXE

Commerce Server 2002 Feature Pack 1
English

http://download.microsoft.com/download/3/D/F/3DF79ADC-F70B-4DC8-BDAD-E2CB34BDE60D/CS2002FP1-KB889384-ENU.EXE

German

http://download.microsoft.com/download/E/E/C/EEC9C250-2FBE-476E-8058-7FDF64D9CADD/CS2002FP1-KB889384-DEU.EXE

French

http://download.microsoft.com/download/C/3/B/C3BBDA02-2460-4D4C-9CA1-276F43EB2824/CS2002FP1-KB889384-FRC.EXE

Japanese

http://download.microsoft.com/download/0/3/F/03F6713A-9DA1-40ED-ACD3-B2729E77CB09/CS2002FP1-KB889384-JPN.EXE

Commerce Server 2000
English

http://download.microsoft.com/download/E/3/0/E306967A-28FC-4A7E-A091-3981D7BDFB01/CS2000-KB889384-ENU.EXE

German

http://download.microsoft.com/download/C/C/D/CCD2FAB1-95EC-4E02-A198-281E74B2C14F/CS2000-KB889384-DEU.EXE

French

http://download.microsoft.com/download/4/A/0/4A0E8D85-9F13-4BEF-948E-271DE5C60700/CS2000-KB889384-FRC.EXE

Japanese

http://download.microsoft.com/download/C/D/F/CDF8F7E6-0234-43C7-828B-E34C88232DBC/CS2000-KB889384-JPN.EXE

File information
The English version of this software update has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.

Commerce Server 2002
  Date         Time   Version     Size     File name ---  02-Nov-2004  22:32  4.5.3832.0  937,799  Stdretcomp.dll

Commerce Server 2002 Feature Pack 1
  Date         Time   Version     Size     File name ---  03-Nov-2004  22:19  4.6.5233.0  942,387  Stdretcomp.dll

Commerce Server 2000
  Date         Time   Version     Size     File name ---  04-Nov-2004  23:46  4.0.0.3868  356,624  Stdretcomp.dll



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.



MORE INFORMATION
For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

This Commerce Server software update applies if you use the ValidateCCNumber pipeline component to verify credit card numbers during the checkout process.

The ValidateCCNumber pipeline component first determines whether the credit card type that is specified in the order.cc_type key is one of the types that the ValidateCCNumber pipeline component accepts. The ValidateCCNumber pipeline component accepts VISA, MasterCard, AmericanExpress, Discover, and the abbreviations MC and AMEX.

The ValidateCCNumber pipeline component then examines the values that are stored in the order._cc_expmonth key and in the order._cc_expyear key to confirm that the credit card has not expired.

If the card is an accepted type, the component then runs a checksum test on the number that is stored in the order._cc_number key to make sure that the number is correctly formed. For example, if the specified credit card type is Discover, a well-formed number must start with a 3 and must be made up of 16 digits.

The third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, regarding the performance or reliability of these products.

Additional query words: credit-card not valid invalid credit card mastercard diners club

Keywords: kbqfe atdownload kbhotfixserver KB889384

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.