Wrong Country @ Paypal Express Checkout The Next CEO of Stack OverflowPaypal Express Checkout redirects to cart for United StatesMagento PayPal Express incorrect countryPaypal express bug with country?Disable address validation for PayPal Express CheckoutUnable to Place the Order Error with PayPal ExpressHow disable Paypal express checkout or require a shipping price1.9.2.1 Disable Paypal ExpressMagento 1.9 - PayPal Express mixes Magento's country with PayPal's addressPaypal express checkout address fields emptyPaypal express checkout magento 2 - Shipping address is invalid when place order using Russian country and address

Mathematica command that allows it to read my intentions

How seriously should I take size and weight limits of hand luggage?

How can a day be of 24 hours?

Can you teleport closer to a creature you are Frightened of?

"Eavesdropping" vs "Listen in on"

Is this a new Fibonacci Identity?

Oldie but Goldie

How badly should I try to prevent a user from XSSing themselves?

Can Sri Krishna be called 'a person'?

MT "will strike" & LXX "will watch carefully" (Gen 3:15)?

Finitely generated matrix groups whose eigenvalues are all algebraic

Shortening a title without changing its meaning

My boss doesn't want me to have a side project

How does a dynamic QR code work?

How can I prove that a state of equilibrium is unstable?

Is a distribution that is normal, but highly skewed, considered Gaussian?

Small nick on power cord from an electric alarm clock, and copper wiring exposed but intact

What is the difference between 'contrib' and 'non-free' packages repositories?

Could you use a laser beam as a modulated carrier wave for radio signal?

Could a dragon use its wings to swim?

Creating a script with console commands

Why do we say “un seul M” and not “une seule M” even though M is a “consonne”?

Gödel's incompleteness theorems - what are the religious implications?

Why doesn't Shulchan Aruch include the laws of destroying fruit trees?



Wrong Country @ Paypal Express Checkout



The Next CEO of Stack OverflowPaypal Express Checkout redirects to cart for United StatesMagento PayPal Express incorrect countryPaypal express bug with country?Disable address validation for PayPal Express CheckoutUnable to Place the Order Error with PayPal ExpressHow disable Paypal express checkout or require a shipping price1.9.2.1 Disable Paypal ExpressMagento 1.9 - PayPal Express mixes Magento's country with PayPal's addressPaypal express checkout address fields emptyPaypal express checkout magento 2 - Shipping address is invalid when place order using Russian country and address










2















our magento has installed :



0 Step Checkout



http://www.magentocommerce.com/magento-connect/0-step-checkout.html



MSP Multi-Flat Shipping



http://www.magentocommerce.com/magento-connect/multi-flat-shipping.html



And we are using Paypal Express Checkout without Order Review Page, and Paypal would return us the shipping address after paying process is finished. And we only use the shipping address from paypal, so the Checkout page has no address textbox allows customer to type address.



Here is the setting of
Multi-Flat Shipping :
Created 4 x Flat Rate shipping method with "All Countries Allow" .
0 Step Checkout :
Didn't set default country as UK (let say)



And the problem is happened at Checkout.
For example If the customer finished paying at Paypal, and deliver to "USA". but the parameter at paypal log that says shipping address become "UK" (the default country at 0 Step Checkout).



I have checked the Paypal log, the Country code has been changed when Magento calling DoEC API, but the country still "USA" at SetEC and GetEC.



I have no idea where (the code) has changed the Country to "UK" from "USA".



Is there anyone can help me and tell the reason of causing this problem(i know it is about the request data, but i have no idea where can fix it.). and please kindly give me a suggestion that I should pursue or it is the nature of Paypal Express doing.










share|improve this question
















bumped to the homepage by Community 2 days ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.



















    2















    our magento has installed :



    0 Step Checkout



    http://www.magentocommerce.com/magento-connect/0-step-checkout.html



    MSP Multi-Flat Shipping



    http://www.magentocommerce.com/magento-connect/multi-flat-shipping.html



    And we are using Paypal Express Checkout without Order Review Page, and Paypal would return us the shipping address after paying process is finished. And we only use the shipping address from paypal, so the Checkout page has no address textbox allows customer to type address.



    Here is the setting of
    Multi-Flat Shipping :
    Created 4 x Flat Rate shipping method with "All Countries Allow" .
    0 Step Checkout :
    Didn't set default country as UK (let say)



    And the problem is happened at Checkout.
    For example If the customer finished paying at Paypal, and deliver to "USA". but the parameter at paypal log that says shipping address become "UK" (the default country at 0 Step Checkout).



    I have checked the Paypal log, the Country code has been changed when Magento calling DoEC API, but the country still "USA" at SetEC and GetEC.



    I have no idea where (the code) has changed the Country to "UK" from "USA".



    Is there anyone can help me and tell the reason of causing this problem(i know it is about the request data, but i have no idea where can fix it.). and please kindly give me a suggestion that I should pursue or it is the nature of Paypal Express doing.










    share|improve this question
















    bumped to the homepage by Community 2 days ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.

















      2












      2








      2








      our magento has installed :



      0 Step Checkout



      http://www.magentocommerce.com/magento-connect/0-step-checkout.html



      MSP Multi-Flat Shipping



      http://www.magentocommerce.com/magento-connect/multi-flat-shipping.html



      And we are using Paypal Express Checkout without Order Review Page, and Paypal would return us the shipping address after paying process is finished. And we only use the shipping address from paypal, so the Checkout page has no address textbox allows customer to type address.



      Here is the setting of
      Multi-Flat Shipping :
      Created 4 x Flat Rate shipping method with "All Countries Allow" .
      0 Step Checkout :
      Didn't set default country as UK (let say)



      And the problem is happened at Checkout.
      For example If the customer finished paying at Paypal, and deliver to "USA". but the parameter at paypal log that says shipping address become "UK" (the default country at 0 Step Checkout).



      I have checked the Paypal log, the Country code has been changed when Magento calling DoEC API, but the country still "USA" at SetEC and GetEC.



      I have no idea where (the code) has changed the Country to "UK" from "USA".



      Is there anyone can help me and tell the reason of causing this problem(i know it is about the request data, but i have no idea where can fix it.). and please kindly give me a suggestion that I should pursue or it is the nature of Paypal Express doing.










      share|improve this question
















      our magento has installed :



      0 Step Checkout



      http://www.magentocommerce.com/magento-connect/0-step-checkout.html



      MSP Multi-Flat Shipping



      http://www.magentocommerce.com/magento-connect/multi-flat-shipping.html



      And we are using Paypal Express Checkout without Order Review Page, and Paypal would return us the shipping address after paying process is finished. And we only use the shipping address from paypal, so the Checkout page has no address textbox allows customer to type address.



      Here is the setting of
      Multi-Flat Shipping :
      Created 4 x Flat Rate shipping method with "All Countries Allow" .
      0 Step Checkout :
      Didn't set default country as UK (let say)



      And the problem is happened at Checkout.
      For example If the customer finished paying at Paypal, and deliver to "USA". but the parameter at paypal log that says shipping address become "UK" (the default country at 0 Step Checkout).



      I have checked the Paypal log, the Country code has been changed when Magento calling DoEC API, but the country still "USA" at SetEC and GetEC.



      I have no idea where (the code) has changed the Country to "UK" from "USA".



      Is there anyone can help me and tell the reason of causing this problem(i know it is about the request data, but i have no idea where can fix it.). and please kindly give me a suggestion that I should pursue or it is the nature of Paypal Express doing.







      checkout paypal-express






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 5 '15 at 8:55









      ND17

      3,48173370




      3,48173370










      asked Sep 26 '15 at 18:40









      Aston MakAston Mak

      112




      112





      bumped to the homepage by Community 2 days ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 2 days ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.






















          1 Answer
          1






          active

          oldest

          votes


















          0














          The Problem is caused by the Method: Mage_Paypal_Model_Express_Checkout::_involveNewCustomer() in line 1045 and 1051. It do not pass any store parameter:



          protected function _involveNewCustomer()

          $customer = $this->_quote->getCustomer();
          if ($customer->isConfirmationRequired())
          $customer->sendNewAccountEmail('confirmation');
          $url = Mage::helper('customer')->getEmailConfirmationUrl($customer->getEmail());
          $this->getCustomerSession()->addSuccess(
          Mage::helper('customer')->__('Account confirmation is required. Please, check your e-mail for confirmation link. To resend confirmation email please <a href="%s">click here</a>.', $url)
          );
          else
          $customer->sendNewAccountEmail();
          $this->getCustomerSession()->loginById($customer->getId());

          return $this;



          That causes the call $this->_getWebsiteStoreId(null) in Mage_Customer_Model_Customer::sendNewAccountEmail() in line 603:



          public function sendNewAccountEmail($type = 'registered', $backUrl = '', $storeId = '0')

          $types = array(
          'registered' => self::XML_PATH_REGISTER_EMAIL_TEMPLATE, // welcome email, when confirmation is disabled
          'confirmed' => self::XML_PATH_CONFIRMED_EMAIL_TEMPLATE, // welcome email, when confirmation is enabled
          'confirmation' => self::XML_PATH_CONFIRM_EMAIL_TEMPLATE, // email with confirmation link
          );
          if (!isset($types[$type]))
          Mage::throwException(Mage::helper('customer')->__('Wrong transactional account email type'));


          if (!$storeId)
          $storeId = $this->_getWebsiteStoreId($this->getSendemailStoreId());


          $this->_sendEmailTemplate($types[$type], self::XML_PATH_REGISTER_EMAIL_IDENTITY,
          array('customer' => $this, 'back_url' => $backUrl), $storeId);

          return $this;



          Which leads to choosing the first store of the current website in:



          protected function _getWebsiteStoreId($defaultStoreId = null)

          if ($this->getWebsiteId() != 0 && empty($defaultStoreId))
          $storeIds = Mage::app()->getWebsite($this->getWebsiteId())->getStoreIds();
          reset($storeIds);
          $defaultStoreId = current($storeIds);

          return $defaultStoreId;



          You need to rewrite the method Mage_Paypal_Model_Express_Checkout::_involveNewCustomer() and pass the current store ID:



          protected function _involveNewCustomer()

          $customer = $this->_quote->getCustomer();
          if ($customer->isConfirmationRequired())
          $customer->sendNewAccountEmail('confirmation', '', Mage::app()->getStore()->getId());
          $url = Mage::helper('customer')->getEmailConfirmationUrl($customer->getEmail());
          $this->getCustomerSession()->addSuccess(
          Mage::helper('customer')->__('Account confirmation is required. Please, check your e-mail for confirmation link. To resend confirmation email please <a href="%s">click here</a>.', $url)
          );
          else
          $customer->sendNewAccountEmail('registered', '', Mage::app()->getStore()->getId());
          $this->getCustomerSession()->loginById($customer->getId());

          return $this;






          share|improve this answer























            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "479"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f84353%2fwrong-country-paypal-express-checkout%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            The Problem is caused by the Method: Mage_Paypal_Model_Express_Checkout::_involveNewCustomer() in line 1045 and 1051. It do not pass any store parameter:



            protected function _involveNewCustomer()

            $customer = $this->_quote->getCustomer();
            if ($customer->isConfirmationRequired())
            $customer->sendNewAccountEmail('confirmation');
            $url = Mage::helper('customer')->getEmailConfirmationUrl($customer->getEmail());
            $this->getCustomerSession()->addSuccess(
            Mage::helper('customer')->__('Account confirmation is required. Please, check your e-mail for confirmation link. To resend confirmation email please <a href="%s">click here</a>.', $url)
            );
            else
            $customer->sendNewAccountEmail();
            $this->getCustomerSession()->loginById($customer->getId());

            return $this;



            That causes the call $this->_getWebsiteStoreId(null) in Mage_Customer_Model_Customer::sendNewAccountEmail() in line 603:



            public function sendNewAccountEmail($type = 'registered', $backUrl = '', $storeId = '0')

            $types = array(
            'registered' => self::XML_PATH_REGISTER_EMAIL_TEMPLATE, // welcome email, when confirmation is disabled
            'confirmed' => self::XML_PATH_CONFIRMED_EMAIL_TEMPLATE, // welcome email, when confirmation is enabled
            'confirmation' => self::XML_PATH_CONFIRM_EMAIL_TEMPLATE, // email with confirmation link
            );
            if (!isset($types[$type]))
            Mage::throwException(Mage::helper('customer')->__('Wrong transactional account email type'));


            if (!$storeId)
            $storeId = $this->_getWebsiteStoreId($this->getSendemailStoreId());


            $this->_sendEmailTemplate($types[$type], self::XML_PATH_REGISTER_EMAIL_IDENTITY,
            array('customer' => $this, 'back_url' => $backUrl), $storeId);

            return $this;



            Which leads to choosing the first store of the current website in:



            protected function _getWebsiteStoreId($defaultStoreId = null)

            if ($this->getWebsiteId() != 0 && empty($defaultStoreId))
            $storeIds = Mage::app()->getWebsite($this->getWebsiteId())->getStoreIds();
            reset($storeIds);
            $defaultStoreId = current($storeIds);

            return $defaultStoreId;



            You need to rewrite the method Mage_Paypal_Model_Express_Checkout::_involveNewCustomer() and pass the current store ID:



            protected function _involveNewCustomer()

            $customer = $this->_quote->getCustomer();
            if ($customer->isConfirmationRequired())
            $customer->sendNewAccountEmail('confirmation', '', Mage::app()->getStore()->getId());
            $url = Mage::helper('customer')->getEmailConfirmationUrl($customer->getEmail());
            $this->getCustomerSession()->addSuccess(
            Mage::helper('customer')->__('Account confirmation is required. Please, check your e-mail for confirmation link. To resend confirmation email please <a href="%s">click here</a>.', $url)
            );
            else
            $customer->sendNewAccountEmail('registered', '', Mage::app()->getStore()->getId());
            $this->getCustomerSession()->loginById($customer->getId());

            return $this;






            share|improve this answer



























              0














              The Problem is caused by the Method: Mage_Paypal_Model_Express_Checkout::_involveNewCustomer() in line 1045 and 1051. It do not pass any store parameter:



              protected function _involveNewCustomer()

              $customer = $this->_quote->getCustomer();
              if ($customer->isConfirmationRequired())
              $customer->sendNewAccountEmail('confirmation');
              $url = Mage::helper('customer')->getEmailConfirmationUrl($customer->getEmail());
              $this->getCustomerSession()->addSuccess(
              Mage::helper('customer')->__('Account confirmation is required. Please, check your e-mail for confirmation link. To resend confirmation email please <a href="%s">click here</a>.', $url)
              );
              else
              $customer->sendNewAccountEmail();
              $this->getCustomerSession()->loginById($customer->getId());

              return $this;



              That causes the call $this->_getWebsiteStoreId(null) in Mage_Customer_Model_Customer::sendNewAccountEmail() in line 603:



              public function sendNewAccountEmail($type = 'registered', $backUrl = '', $storeId = '0')

              $types = array(
              'registered' => self::XML_PATH_REGISTER_EMAIL_TEMPLATE, // welcome email, when confirmation is disabled
              'confirmed' => self::XML_PATH_CONFIRMED_EMAIL_TEMPLATE, // welcome email, when confirmation is enabled
              'confirmation' => self::XML_PATH_CONFIRM_EMAIL_TEMPLATE, // email with confirmation link
              );
              if (!isset($types[$type]))
              Mage::throwException(Mage::helper('customer')->__('Wrong transactional account email type'));


              if (!$storeId)
              $storeId = $this->_getWebsiteStoreId($this->getSendemailStoreId());


              $this->_sendEmailTemplate($types[$type], self::XML_PATH_REGISTER_EMAIL_IDENTITY,
              array('customer' => $this, 'back_url' => $backUrl), $storeId);

              return $this;



              Which leads to choosing the first store of the current website in:



              protected function _getWebsiteStoreId($defaultStoreId = null)

              if ($this->getWebsiteId() != 0 && empty($defaultStoreId))
              $storeIds = Mage::app()->getWebsite($this->getWebsiteId())->getStoreIds();
              reset($storeIds);
              $defaultStoreId = current($storeIds);

              return $defaultStoreId;



              You need to rewrite the method Mage_Paypal_Model_Express_Checkout::_involveNewCustomer() and pass the current store ID:



              protected function _involveNewCustomer()

              $customer = $this->_quote->getCustomer();
              if ($customer->isConfirmationRequired())
              $customer->sendNewAccountEmail('confirmation', '', Mage::app()->getStore()->getId());
              $url = Mage::helper('customer')->getEmailConfirmationUrl($customer->getEmail());
              $this->getCustomerSession()->addSuccess(
              Mage::helper('customer')->__('Account confirmation is required. Please, check your e-mail for confirmation link. To resend confirmation email please <a href="%s">click here</a>.', $url)
              );
              else
              $customer->sendNewAccountEmail('registered', '', Mage::app()->getStore()->getId());
              $this->getCustomerSession()->loginById($customer->getId());

              return $this;






              share|improve this answer

























                0












                0








                0







                The Problem is caused by the Method: Mage_Paypal_Model_Express_Checkout::_involveNewCustomer() in line 1045 and 1051. It do not pass any store parameter:



                protected function _involveNewCustomer()

                $customer = $this->_quote->getCustomer();
                if ($customer->isConfirmationRequired())
                $customer->sendNewAccountEmail('confirmation');
                $url = Mage::helper('customer')->getEmailConfirmationUrl($customer->getEmail());
                $this->getCustomerSession()->addSuccess(
                Mage::helper('customer')->__('Account confirmation is required. Please, check your e-mail for confirmation link. To resend confirmation email please <a href="%s">click here</a>.', $url)
                );
                else
                $customer->sendNewAccountEmail();
                $this->getCustomerSession()->loginById($customer->getId());

                return $this;



                That causes the call $this->_getWebsiteStoreId(null) in Mage_Customer_Model_Customer::sendNewAccountEmail() in line 603:



                public function sendNewAccountEmail($type = 'registered', $backUrl = '', $storeId = '0')

                $types = array(
                'registered' => self::XML_PATH_REGISTER_EMAIL_TEMPLATE, // welcome email, when confirmation is disabled
                'confirmed' => self::XML_PATH_CONFIRMED_EMAIL_TEMPLATE, // welcome email, when confirmation is enabled
                'confirmation' => self::XML_PATH_CONFIRM_EMAIL_TEMPLATE, // email with confirmation link
                );
                if (!isset($types[$type]))
                Mage::throwException(Mage::helper('customer')->__('Wrong transactional account email type'));


                if (!$storeId)
                $storeId = $this->_getWebsiteStoreId($this->getSendemailStoreId());


                $this->_sendEmailTemplate($types[$type], self::XML_PATH_REGISTER_EMAIL_IDENTITY,
                array('customer' => $this, 'back_url' => $backUrl), $storeId);

                return $this;



                Which leads to choosing the first store of the current website in:



                protected function _getWebsiteStoreId($defaultStoreId = null)

                if ($this->getWebsiteId() != 0 && empty($defaultStoreId))
                $storeIds = Mage::app()->getWebsite($this->getWebsiteId())->getStoreIds();
                reset($storeIds);
                $defaultStoreId = current($storeIds);

                return $defaultStoreId;



                You need to rewrite the method Mage_Paypal_Model_Express_Checkout::_involveNewCustomer() and pass the current store ID:



                protected function _involveNewCustomer()

                $customer = $this->_quote->getCustomer();
                if ($customer->isConfirmationRequired())
                $customer->sendNewAccountEmail('confirmation', '', Mage::app()->getStore()->getId());
                $url = Mage::helper('customer')->getEmailConfirmationUrl($customer->getEmail());
                $this->getCustomerSession()->addSuccess(
                Mage::helper('customer')->__('Account confirmation is required. Please, check your e-mail for confirmation link. To resend confirmation email please <a href="%s">click here</a>.', $url)
                );
                else
                $customer->sendNewAccountEmail('registered', '', Mage::app()->getStore()->getId());
                $this->getCustomerSession()->loginById($customer->getId());

                return $this;






                share|improve this answer













                The Problem is caused by the Method: Mage_Paypal_Model_Express_Checkout::_involveNewCustomer() in line 1045 and 1051. It do not pass any store parameter:



                protected function _involveNewCustomer()

                $customer = $this->_quote->getCustomer();
                if ($customer->isConfirmationRequired())
                $customer->sendNewAccountEmail('confirmation');
                $url = Mage::helper('customer')->getEmailConfirmationUrl($customer->getEmail());
                $this->getCustomerSession()->addSuccess(
                Mage::helper('customer')->__('Account confirmation is required. Please, check your e-mail for confirmation link. To resend confirmation email please <a href="%s">click here</a>.', $url)
                );
                else
                $customer->sendNewAccountEmail();
                $this->getCustomerSession()->loginById($customer->getId());

                return $this;



                That causes the call $this->_getWebsiteStoreId(null) in Mage_Customer_Model_Customer::sendNewAccountEmail() in line 603:



                public function sendNewAccountEmail($type = 'registered', $backUrl = '', $storeId = '0')

                $types = array(
                'registered' => self::XML_PATH_REGISTER_EMAIL_TEMPLATE, // welcome email, when confirmation is disabled
                'confirmed' => self::XML_PATH_CONFIRMED_EMAIL_TEMPLATE, // welcome email, when confirmation is enabled
                'confirmation' => self::XML_PATH_CONFIRM_EMAIL_TEMPLATE, // email with confirmation link
                );
                if (!isset($types[$type]))
                Mage::throwException(Mage::helper('customer')->__('Wrong transactional account email type'));


                if (!$storeId)
                $storeId = $this->_getWebsiteStoreId($this->getSendemailStoreId());


                $this->_sendEmailTemplate($types[$type], self::XML_PATH_REGISTER_EMAIL_IDENTITY,
                array('customer' => $this, 'back_url' => $backUrl), $storeId);

                return $this;



                Which leads to choosing the first store of the current website in:



                protected function _getWebsiteStoreId($defaultStoreId = null)

                if ($this->getWebsiteId() != 0 && empty($defaultStoreId))
                $storeIds = Mage::app()->getWebsite($this->getWebsiteId())->getStoreIds();
                reset($storeIds);
                $defaultStoreId = current($storeIds);

                return $defaultStoreId;



                You need to rewrite the method Mage_Paypal_Model_Express_Checkout::_involveNewCustomer() and pass the current store ID:



                protected function _involveNewCustomer()

                $customer = $this->_quote->getCustomer();
                if ($customer->isConfirmationRequired())
                $customer->sendNewAccountEmail('confirmation', '', Mage::app()->getStore()->getId());
                $url = Mage::helper('customer')->getEmailConfirmationUrl($customer->getEmail());
                $this->getCustomerSession()->addSuccess(
                Mage::helper('customer')->__('Account confirmation is required. Please, check your e-mail for confirmation link. To resend confirmation email please <a href="%s">click here</a>.', $url)
                );
                else
                $customer->sendNewAccountEmail('registered', '', Mage::app()->getStore()->getId());
                $this->getCustomerSession()->loginById($customer->getId());

                return $this;







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Jul 24 '18 at 10:13









                user3614010user3614010

                1




                1



























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Magento Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f84353%2fwrong-country-paypal-express-checkout%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Sum ergo cogito? 1 nng

                    三茅街道4182Guuntc Dn precexpngmageondP