PayPal gateway has rejected request Paypal is not supported (#10605: Transaction refused because of an...












0















I am using two store for my website one is for India and other for global(other country).
for Global is used paypal payment method. in global store currency is USD, India store currency is INR, Default config currency is USD. When i going to place order using paypal payment method in global store. i got error




PayPal gateway has rejected request. Currency is not supported (#10605: Transaction refused because of an invalid argument. See additional error messages for details) and redirect to shopping cart page.





But when i set USD currency in all my store India, global and default config and try to place order from global store using paypal payment method then successfully redirect to paypal account.










share|improve this question
















bumped to the homepage by Community 16 mins ago


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
















  • is your issue solved?

    – Gem
    Jul 25 '17 at 10:00
















0















I am using two store for my website one is for India and other for global(other country).
for Global is used paypal payment method. in global store currency is USD, India store currency is INR, Default config currency is USD. When i going to place order using paypal payment method in global store. i got error




PayPal gateway has rejected request. Currency is not supported (#10605: Transaction refused because of an invalid argument. See additional error messages for details) and redirect to shopping cart page.





But when i set USD currency in all my store India, global and default config and try to place order from global store using paypal payment method then successfully redirect to paypal account.










share|improve this question
















bumped to the homepage by Community 16 mins ago


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
















  • is your issue solved?

    – Gem
    Jul 25 '17 at 10:00














0












0








0








I am using two store for my website one is for India and other for global(other country).
for Global is used paypal payment method. in global store currency is USD, India store currency is INR, Default config currency is USD. When i going to place order using paypal payment method in global store. i got error




PayPal gateway has rejected request. Currency is not supported (#10605: Transaction refused because of an invalid argument. See additional error messages for details) and redirect to shopping cart page.





But when i set USD currency in all my store India, global and default config and try to place order from global store using paypal payment method then successfully redirect to paypal account.










share|improve this question
















I am using two store for my website one is for India and other for global(other country).
for Global is used paypal payment method. in global store currency is USD, India store currency is INR, Default config currency is USD. When i going to place order using paypal payment method in global store. i got error




PayPal gateway has rejected request. Currency is not supported (#10605: Transaction refused because of an invalid argument. See additional error messages for details) and redirect to shopping cart page.





But when i set USD currency in all my store India, global and default config and try to place order from global store using paypal payment method then successfully redirect to paypal account.







magento-1.9 multistore paypal-express






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jul 7 '16 at 5:06









Rushvi

2,3991729




2,3991729










asked Dec 3 '15 at 14:01









Code KillerCode Killer

6819




6819





bumped to the homepage by Community 16 mins 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 16 mins ago


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















  • is your issue solved?

    – Gem
    Jul 25 '17 at 10:00



















  • is your issue solved?

    – Gem
    Jul 25 '17 at 10:00

















is your issue solved?

– Gem
Jul 25 '17 at 10:00





is your issue solved?

– Gem
Jul 25 '17 at 10:00










1 Answer
1






active

oldest

votes


















0














I have used small trick to rid this error. It is not good solution but sometime it is useful.



Go to appcodecoreMagePaypalModelExpressCheckout.php. Find the public function start and find below code



$this->_api->setAmount($this->_quote->getBaseGrandTotal())
->setCurrencyCode($this->_quote->getBaseCurrencyCode())
->setInvNum($this->_quote->getReservedOrderId())
->setReturnUrl($returnUrl)
->setCancelUrl($cancelUrl)
->setSolutionType($solutionType)
->setPaymentAction($this->_config->paymentAction);

Just replace the below code

$this->_api->setAmount($this->_quote->getBaseGrandTotal())
->setCurrencyCode('USD')
->setInvNum($this->_quote->getReservedOrderId())
->setReturnUrl($returnUrl)
->setCancelUrl($cancelUrl)
->setSolutionType($solutionType)
->setPaymentAction($this->_config->paymentAction);


With this trick now you will go to paypal without any error. But you have to convert the price from Base Currency to USD.



Note: This solution is only for Paypal Express Users.



Code Taken From: http://chandreshrana.blogspot.in/2016/11/paypal-gateway-has-rejected-request.html






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%2f92527%2fpaypal-gateway-has-rejected-request-paypal-is-not-supported-10605-transaction%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














    I have used small trick to rid this error. It is not good solution but sometime it is useful.



    Go to appcodecoreMagePaypalModelExpressCheckout.php. Find the public function start and find below code



    $this->_api->setAmount($this->_quote->getBaseGrandTotal())
    ->setCurrencyCode($this->_quote->getBaseCurrencyCode())
    ->setInvNum($this->_quote->getReservedOrderId())
    ->setReturnUrl($returnUrl)
    ->setCancelUrl($cancelUrl)
    ->setSolutionType($solutionType)
    ->setPaymentAction($this->_config->paymentAction);

    Just replace the below code

    $this->_api->setAmount($this->_quote->getBaseGrandTotal())
    ->setCurrencyCode('USD')
    ->setInvNum($this->_quote->getReservedOrderId())
    ->setReturnUrl($returnUrl)
    ->setCancelUrl($cancelUrl)
    ->setSolutionType($solutionType)
    ->setPaymentAction($this->_config->paymentAction);


    With this trick now you will go to paypal without any error. But you have to convert the price from Base Currency to USD.



    Note: This solution is only for Paypal Express Users.



    Code Taken From: http://chandreshrana.blogspot.in/2016/11/paypal-gateway-has-rejected-request.html






    share|improve this answer






























      0














      I have used small trick to rid this error. It is not good solution but sometime it is useful.



      Go to appcodecoreMagePaypalModelExpressCheckout.php. Find the public function start and find below code



      $this->_api->setAmount($this->_quote->getBaseGrandTotal())
      ->setCurrencyCode($this->_quote->getBaseCurrencyCode())
      ->setInvNum($this->_quote->getReservedOrderId())
      ->setReturnUrl($returnUrl)
      ->setCancelUrl($cancelUrl)
      ->setSolutionType($solutionType)
      ->setPaymentAction($this->_config->paymentAction);

      Just replace the below code

      $this->_api->setAmount($this->_quote->getBaseGrandTotal())
      ->setCurrencyCode('USD')
      ->setInvNum($this->_quote->getReservedOrderId())
      ->setReturnUrl($returnUrl)
      ->setCancelUrl($cancelUrl)
      ->setSolutionType($solutionType)
      ->setPaymentAction($this->_config->paymentAction);


      With this trick now you will go to paypal without any error. But you have to convert the price from Base Currency to USD.



      Note: This solution is only for Paypal Express Users.



      Code Taken From: http://chandreshrana.blogspot.in/2016/11/paypal-gateway-has-rejected-request.html






      share|improve this answer




























        0












        0








        0







        I have used small trick to rid this error. It is not good solution but sometime it is useful.



        Go to appcodecoreMagePaypalModelExpressCheckout.php. Find the public function start and find below code



        $this->_api->setAmount($this->_quote->getBaseGrandTotal())
        ->setCurrencyCode($this->_quote->getBaseCurrencyCode())
        ->setInvNum($this->_quote->getReservedOrderId())
        ->setReturnUrl($returnUrl)
        ->setCancelUrl($cancelUrl)
        ->setSolutionType($solutionType)
        ->setPaymentAction($this->_config->paymentAction);

        Just replace the below code

        $this->_api->setAmount($this->_quote->getBaseGrandTotal())
        ->setCurrencyCode('USD')
        ->setInvNum($this->_quote->getReservedOrderId())
        ->setReturnUrl($returnUrl)
        ->setCancelUrl($cancelUrl)
        ->setSolutionType($solutionType)
        ->setPaymentAction($this->_config->paymentAction);


        With this trick now you will go to paypal without any error. But you have to convert the price from Base Currency to USD.



        Note: This solution is only for Paypal Express Users.



        Code Taken From: http://chandreshrana.blogspot.in/2016/11/paypal-gateway-has-rejected-request.html






        share|improve this answer















        I have used small trick to rid this error. It is not good solution but sometime it is useful.



        Go to appcodecoreMagePaypalModelExpressCheckout.php. Find the public function start and find below code



        $this->_api->setAmount($this->_quote->getBaseGrandTotal())
        ->setCurrencyCode($this->_quote->getBaseCurrencyCode())
        ->setInvNum($this->_quote->getReservedOrderId())
        ->setReturnUrl($returnUrl)
        ->setCancelUrl($cancelUrl)
        ->setSolutionType($solutionType)
        ->setPaymentAction($this->_config->paymentAction);

        Just replace the below code

        $this->_api->setAmount($this->_quote->getBaseGrandTotal())
        ->setCurrencyCode('USD')
        ->setInvNum($this->_quote->getReservedOrderId())
        ->setReturnUrl($returnUrl)
        ->setCancelUrl($cancelUrl)
        ->setSolutionType($solutionType)
        ->setPaymentAction($this->_config->paymentAction);


        With this trick now you will go to paypal without any error. But you have to convert the price from Base Currency to USD.



        Note: This solution is only for Paypal Express Users.



        Code Taken From: http://chandreshrana.blogspot.in/2016/11/paypal-gateway-has-rejected-request.html







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Nov 10 '16 at 5:31

























        answered Jun 4 '16 at 6:32









        Chandresh RanaChandresh Rana

        29927




        29927






























            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%2f92527%2fpaypal-gateway-has-rejected-request-paypal-is-not-supported-10605-transaction%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

            Polycentropodidae

            Magento 2 Error message: Invalid state change requested

            Paulmy