New M2ePro orders from eBay sales are not created in Magento after SUPEE-11219 patch or 1.9.4.3 upgrade, the following error is reported:
Magento Order was not created. Reason: The password must have at least 7 characters. Leading or trailing spaces will be ignored.
Cause
SUPEE-11219 patch and 1.9.4.3 version introduced new requirement on password length, it has to be at least 7 characters long as of now. Auto-generated passwords for eBay orders were hardcoded to 6 characters in M2ePro extension.Solution
Update M2ePro extension to generate new passwords with at least 7 characters (or even better with 8-12) in app/code/community/Ess/M2ePro/Model/Magento/Customer.php file:--- app/code/community/Ess/M2ePro/Model/Magento/Customer.php +++ app/code/community/Ess/M2ePro/Model/Magento/Customer.php @@ -24,7 +24,7 @@ public function buildCustomer() { - $password = Mage::helper('core')->getRandomString(6); + $password = Mage::helper('core')->getRandomString(7); $this->customer = Mage::getModel('customer/customer') ->setData('firstname', $this->getData('customer_firstname'))
Posted in: Known issues, supee-11219