I am using Magento version On new customer registration, I am getting "Please make sure your passwords match" error. I have tried different solutions, but nothing works, still same error appears.

  • "I have tried different solutions, but nothing works, still same error appears" which one ? – Minesh Patel Oct 13 '15 at 7:49
  • There are many questions regarding this issue.. I have read those issues.. I have added <input type="hidden" name="form_key" value="<?php echo Mage::getSingleton('core/session')->getFormKey(); ?>" /> after <ul class="form-list"> in login.phtml.. and register.phtml . Added <?php echo $this->getBlockHtml('formkey'); ?> before </form> in register.phtml. – ved Oct 13 '15 at 7:51
  • Did you recently upgrade your system? – David Manners Oct 13 '15 at 7:51
  • No.. From starting only I am using version – ved Oct 13 '15 at 7:53
  • FYI validation trigger on form submit not on lost focus of field can you confirm ? – Minesh Patel Oct 13 '15 at 8:02

Check register.phtml name for Confirmation Password should be confirmation.
Because setConfirmation method is used in customer AccountController in various places to set the confirmation value.
If there is some mismatch try changing setConfirmation to setPasswordConfirmation() in AccountController.

  • Yes name for Confirmation Password is 'confirmation'. In AccountController.php setConfirmation is present at 4 to 5 places. – ved Oct 13 '15 at 8:11
  • Changes setConfirmation to setPasswordConfirmation but still not workig. – ved Oct 13 '15 at 9:03
  • @ved Try changing in file app/code/core/Mage/Checkout/Model/Type/Onepage.php as well. – Anshu Mishra Oct 13 '15 at 9:08
  • I have changed register.phtml with othe Magentor installation's register.phtml and Now it is working. Thank you for your help. – ved Oct 13 '15 at 10:02
  • This answer is a bit vague, it would be better to highlight when the confirmation field name changed in the recent patches rather than suggesting to "try" changing it. – Robbie Averill Jun 9 '16 at 2:24

Its worked for me in Magento- by below changes in app/code/core/Mage/Customer/controllers/Accountcontroller.php




Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.