Magento – Checkout as Guest = “Please make sure your passwords match”
checkoutpassword
I found an error in my e-commerce website when I tried to checkout a product as guest.
When I try to continue the process, I get this message:
I would like to know how I can fix this issue.
Can someone help me?
Best Answer
First you need to copy Customer.php file from app/code/core/Mage/Customer/Model to app/code/local/Mage/Customer/Model path directory and go to line number 843 and find the code.
$confirmation = $this->getPasswordConfirmation();
In this file you need to replace above code by below code
$sessionCustomer = Mage::getSingleton("customer/session");
if($sessionCustomer->isLoggedIn())
{
$confirmation = $this->getPasswordConfirmation();
} else {
$confirmation = $this->getConfirmation();
}
Our solution was to disable persistent shopping cart
Somehow when a customer had an old cookie and they tried to checkout as customer - even although all settings pointed to guest checkout being enabled - this was not possible.
Best Answer
First you need to copy Customer.php file from
app/code/core/Mage/Customer/Model
toapp/code/local/Mage/Customer/Model
path directory and go to line number 843 and find the code.