Friday, 24 April 2015

Magento Paypal Express bug: Guest user name not save

If user name not show in admin when place an order with paypal express as guest.


Please find below file and replace code:
app/code/core/Mage/Paypal/Model/Express/Checkout.php


protected function _prepareGuestQuote()
    {
        $quote = $this->_quote;
        $quote->setCustomerId(null)
            ->setCustomerFirstname($quote->getBillingAddress()->getFirstname())
            ->setCustomerLastname($quote->getBillingAddress()->getLastname())

            ->setCustomerEmail($quote->getBillingAddress()->getEmail())
            ->setCustomerIsGuest(true)
            ->setCustomerGroupId(Mage_Customer_Model_Group::NOT_LOGGED_IN_ID);
        return $this;
    }

5 comments:

  1. Really Very informative information for me and my website development teams..so am shared to my web development and social media sites..Thank you for sharing the useful information..Web Development Company in Bangalore | Bangalore Web Development Company

    ReplyDelete
  2. The blog was absolutely fantastic! Lot of great information which can be helpful in some or the other way. Keep updating the blog, looking forward for more contents...Great job, keep it up..
    magento development company in bangalore 

    ReplyDelete
  3. Much obliged to you for sharing this post about the best strategies for Content Management System , This is exceptionally valuable for Content Management System and Content Management System Company. Much obliged again :)

    eCommerce Web Development Company in Bangalore |outsource magento ecommerce services india

    ReplyDelete

Note: only a member of this blog may post a comment.