for some reason, in recent weeks my customers are getting "password does not match" errors when making accounts etc.
I know there is a known issue on 1.9.1.0, but I am using 1.9.0.1
Does anyone have a fix or workaround that applies to 1.9.0.1?
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.
Sign up to join this communityfor some reason, in recent weeks my customers are getting "password does not match" errors when making accounts etc.
I know there is a known issue on 1.9.1.0, but I am using 1.9.0.1
Does anyone have a fix or workaround that applies to 1.9.0.1?
Enable template path hints and look in template for this line:
<?php echo $this->getBlockHtml('formkey'); ?>
If this is missing, add it in your template file.
Search for setConfirmation()
and getConfirmation()
in your extensions and replace with setPasswordConfirmation()
and getPasswordConfirmation()
.
Or if they should stay compatible with older versions, use something like this:
$info = Mage::getVersionInfo();
$version = "{$info['major']}.{$info['minor']}.{$info['revision']}.{$info['patch']}";
if($version >= '1.9.1.0'){
$customer->setPasswordConfirmation($this->getRequest()->getPost('confirmation')); // just check the name of confirm password field in the registration form accordlingly add the name in the get Post
} else {
$customer->setConfirmation($this->getRequest()->getPost('confirmation')); // just check the name of confirm password field in the registration form accordlingly add the name in the get Post
}
Have you used any extension for checkout???
I had same error in firechecout extension then I change the following code, set $customer->setPasswordConfirmation
instead of $customer->setConfirmation
in Model/Standered.php