MasterCard recently added the series-2 card numbers to their list of possible numbers issued to cardholders (2xxx-xxxx-xxxx-xxxx). The in-cart validation available in AspDotNetStorefront requires a patch in order to recognize this new card number format (AppConfig/Setting: ValidateCreditCardNumbers TRUE).
NOTE: The patch affects source code files so please check with your developer to determine if your site has ASPDNSFCore and/or GatewayAuthorizeNet modifications and requires the SOURCE patch, or if your site is eligible for the COMPILED web files.
NOTE: These instructions assume you are a subscriber to our Gold YRB benefits program. If you do not see the patch in your license portal 'Software Updates' tab (version 9.5.1.0), then please check your eligibility with our ASPDNSF Help Desk . If you have onboarded to our preFIX model, then you don’t need to take any action – your store is always-up-to-date.
Installing the MasterCard Patch
COMPILED (sites with no ASPDNSFCore or GatewayAuthorizeNet source code modifications):
Backup your site files. Please contact your site host if necessary.
Verify with your developer that your site is eligible for the COMPILED patch version.
Execute the installation file locally (double-click patch-mastercard-951-source.exe), selecting an empty folder location on your computer.
Compare the ASPDNSFCore and ASPDNSFGatewayProcessors folder contents with the existing current site file source code and merge as needed.
Compile the source code and copy/publish the DLLs (AspDotNetStorefrontCore.dll and GatewayAuthorizeNet.dll) to the site bin folder, overwriting the existing files.
Open the extracted Web folder and Rename the Admin folder to match the site Admin folder name if different.
Select the {Admin} and OPCControls folders, and copy them to the site root folder using FTP, overwriting the existing files.
Access your site Admin and Refresh Store (button).
NOTE: Your javascript may be cached if you immediately attempt to test a series-2 card. Please refresh the checkout page cache in your browser using Ctrl+F5 if the test fails to pass validation.