Julian

Magento Order was not created. Reason: The password cannot be empty.

Recommended Posts

We have been using M2E on multiple sites with no issues for 2 1/2 years, then on one site we started to get this error intermittently on BOTH eBay and Amazon orders:

  • Magento Order was not created. Reason: The password cannot be empty.

The eBay and Amazon orders come into Magento and sit in their respective sales grids, but the order is never created in Magento because of the above error. Our order import settings are for a new customer account to be created, and the Group to be "Not logged in" - we have tried all the different permutations and nothing works except to change the order import settings to not create a new customer account - which is sort of OK, but them the customer doesn't get the sales order and VAT invoice emails.

As it worked before, and still works fine on our other sites this is infuriating. M2E support just told me to refer to our developers as it is a Magento issue, clearly for me it is not, there is something for that order missing from the import file - like a password in a field, or a default password or similar.

Just this morning we have received 4 Amazon orders, the first one has the error, the following 3 imported fine!

The same thing has happened on eBay, but no errors for the last few days!

Images attached to show this mornings problem, if anyone can shed some light on this it would be much appreciated!

amz1.jpg

amz2.jpg

amz3.jpg

Share this post


Link to post
Share on other sites

I have the same problem today for no reason that I can figure. Except our message is - Magento Order was not created. Reason: The password must have at least 7 characters. Leading or trailing spaces will be ignored. We haven't changed anything. What did you do to fix the problem?

Edited by Nils Hart
correction

Share this post


Link to post
Share on other sites

Hello

The error related to the length of the password, i.e. 'The password must have at least 7 characters' has to do with Magento SUPEE-11291 patch. You should be able to fix it by adjusting the affected part of the code. Here are the details:

in the file 

app/code/community/Ess/M2ePro/Model/Magento/Customer.php
 
the  
line ~27
must be changed from 
$password = Mage::helper('core')->getRandomString(6);
to
$password = Mage::helper('core')->getRandomString(7);
 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.