Page 1 of 1
Guide to Patch 7.0.5
Posted: Wed May 24, 2017 1:11 am
by Crazziee
Does anyone have a guide to patch 7.0.5 for the new MasterCard/PayPal changes?
Basically how is anyone handling this if they are running 7.0.5
http://help.ablecommerce.com/upgrades/a ... atches.htm
thanks,
Re: Guide to Patch 7.0.5
Posted: Wed May 24, 2017 5:29 am
by Katie
Hi,
Take a look here:
viewtopic.php?f=65&t=19075
Please see Judy's post on May 17th. She can probably help you with the changes.
Thanks
Katie
Re: Guide to Patch 7.0.5
Posted: Wed May 24, 2017 5:50 am
by Crazziee
thanks, but I was looking for a way to do it without having to purchase a patch.
Re: Guide to Patch 7.0.5
Posted: Wed May 24, 2017 6:17 am
by Katie
Well, there is a significant cost to keeping the software updated to meet the ever-changing requirements. PayPal will eventually stop working without an upgrade, and the validation for MC could be fixed if you have the source code.
You could also consider investing in an upgrade to the latest version of Gold.
Thanks
Katie
Re: Guide to Patch 7.0.5
Posted: Thu May 25, 2017 5:41 am
by Crazziee
Katie wrote:
You could also consider investing in an upgrade to the latest version of Gold.
Thanks
Katie
That's the plan, This is only for the interim, And Yes I do have the source code.
thanks,
Re: Guide to Patch 7.0.5
Posted: Thu May 25, 2017 6:35 am
by Katie
The Mastercard change was limited to /CommerceBuilder.UI/WebControls/CreditCardValidator.cs
Find these lines of code:
Code: Select all
case CardType.MasterCard:
// MasterCard -- 51 through 55 -- 16 length
Change from:
Code: Select all
return ((cardNumber.Length == 16) && (Regex.IsMatch(cardNumber, "^(51|52|53|54|55)")));
Change to:
Code: Select all
return ((cardNumber.Length == 16) && (Regex.IsMatch(cardNumber, "^(51|52|53|54|55|222[1-9]|22[3-9][0-9]|2[3-6][0-9][0-9]|27[0-1][0-9]|2720)")));
This is documented for Gold, but it may be similar for AC7.0.5 if you can find the validation code.
Re: Guide to Patch 7.0.5
Posted: Wed Aug 09, 2017 2:56 am
by Crazziee
Thanks Katie, I ended up getting it patched with the help of Judy.