Magento 2 Braintree Payment Method Error For Second WebsiteMagento 2 configure stock by websiteJS error with Braintree - no clientToken?Magento 2 disable Bank Transfer on website levelPayPal Website Payments Pro - Payment DeclinedChanged Secure and unsecure URL on a View. Now admin redirects to the unsecure URL of the View. Why?Braintree partail paymentError: Braintree API Client Misconfigured: clientToken required. after switching from sandbox to productionError Payment Gateway Braintree in Magento 2changed default store for website - now some products do not work properly anymoreError Payment Method braintree credit card

mv Command Deleted Files In Source Directory and Target Directory

Has the US government provided details on plans to deal with AIDS and childhood cancer?

"DDoouubbllee ssppeeaakk!!"

How to let cacti grow even if no player is near?

Disease transmitted by postage stamps

Best Ergonomic Design for a handheld ranged weapon

"Will flex for food". What does this phrase mean?

Derivative is just speed of change?

Gold Battle KoTH

Can living where magnetic ore is abundant provide any protection from cosmic radiation?

A game of red and black

Is Norway in the Single Market?

Why should I use a big powerstone instead of smaller ones?

How do Canadians get a visa to go to Saudi Arabia?

Can black block with a hanging piece in a back rank mate situation?

What is my clock telling me to do?

Why are prop blades not shaped like household fan blades?

Word for giving preference to the oldest child

How do I find SFDX CLI default installation folder on Mac?

Should students have access to past exams or an exam bank?

How to prevent a single-element caster from being useless against immune foes?

If the Moon were impacted by a suitably sized meteor, how long would it take to impact the Earth?

How do I safety check that there is no light in Darkroom / Darkbag?

Being told my "network" isn't PCI Complaint. I don't even have a server! Do I have to comply?



Magento 2 Braintree Payment Method Error For Second Website


Magento 2 configure stock by websiteJS error with Braintree - no clientToken?Magento 2 disable Bank Transfer on website levelPayPal Website Payments Pro - Payment DeclinedChanged Secure and unsecure URL on a View. Now admin redirects to the unsecure URL of the View. Why?Braintree partail paymentError: Braintree API Client Misconfigured: clientToken required. after switching from sandbox to productionError Payment Gateway Braintree in Magento 2changed default store for website - now some products do not work properly anymoreError Payment Method braintree credit card






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















I've set 2 websites us and uk.



Signed up for Braintree sandbox account.



Created 2 Merchant Account ID.



1- uk_maid.



2- us_maid.



Magento admin Stores->Configuration->Sales->Payment Method on the left changed Store View: uk_website then configured Braintree entered all details plus Merchant ID = uk_maid saved.



Again same process as above but Merchant ID will be us_maid:



Magento admin Stores->Configuration->Sales->Payment Method on the left changed Store View: us_website then configured Braintree entered all the details and Merchant ID = us_maid saved.



Placed order in uk website everything works payment were taken and appear in my sanbox Braintree dashboard under the uk_maid which is set to default.



Now using us website in ../checkout/#payment as soon as check radio box Braintree as payment option :
enter image description here



In console:
enter image description here



I don't get it why can't use alternative merchant id for us website?



Is this a bug? Anyone have had this set up any experienced the issue?
Thanks.










share|improve this question


























  • This maybe an issue ref: github.com/magento/magento2/issues/5910

    – Juliano Vargas
    Mar 15 '18 at 19:58


















1















I've set 2 websites us and uk.



Signed up for Braintree sandbox account.



Created 2 Merchant Account ID.



1- uk_maid.



2- us_maid.



Magento admin Stores->Configuration->Sales->Payment Method on the left changed Store View: uk_website then configured Braintree entered all details plus Merchant ID = uk_maid saved.



Again same process as above but Merchant ID will be us_maid:



Magento admin Stores->Configuration->Sales->Payment Method on the left changed Store View: us_website then configured Braintree entered all the details and Merchant ID = us_maid saved.



Placed order in uk website everything works payment were taken and appear in my sanbox Braintree dashboard under the uk_maid which is set to default.



Now using us website in ../checkout/#payment as soon as check radio box Braintree as payment option :
enter image description here



In console:
enter image description here



I don't get it why can't use alternative merchant id for us website?



Is this a bug? Anyone have had this set up any experienced the issue?
Thanks.










share|improve this question


























  • This maybe an issue ref: github.com/magento/magento2/issues/5910

    – Juliano Vargas
    Mar 15 '18 at 19:58














1












1








1








I've set 2 websites us and uk.



Signed up for Braintree sandbox account.



Created 2 Merchant Account ID.



1- uk_maid.



2- us_maid.



Magento admin Stores->Configuration->Sales->Payment Method on the left changed Store View: uk_website then configured Braintree entered all details plus Merchant ID = uk_maid saved.



Again same process as above but Merchant ID will be us_maid:



Magento admin Stores->Configuration->Sales->Payment Method on the left changed Store View: us_website then configured Braintree entered all the details and Merchant ID = us_maid saved.



Placed order in uk website everything works payment were taken and appear in my sanbox Braintree dashboard under the uk_maid which is set to default.



Now using us website in ../checkout/#payment as soon as check radio box Braintree as payment option :
enter image description here



In console:
enter image description here



I don't get it why can't use alternative merchant id for us website?



Is this a bug? Anyone have had this set up any experienced the issue?
Thanks.










share|improve this question
















I've set 2 websites us and uk.



Signed up for Braintree sandbox account.



Created 2 Merchant Account ID.



1- uk_maid.



2- us_maid.



Magento admin Stores->Configuration->Sales->Payment Method on the left changed Store View: uk_website then configured Braintree entered all details plus Merchant ID = uk_maid saved.



Again same process as above but Merchant ID will be us_maid:



Magento admin Stores->Configuration->Sales->Payment Method on the left changed Store View: us_website then configured Braintree entered all the details and Merchant ID = us_maid saved.



Placed order in uk website everything works payment were taken and appear in my sanbox Braintree dashboard under the uk_maid which is set to default.



Now using us website in ../checkout/#payment as soon as check radio box Braintree as payment option :
enter image description here



In console:
enter image description here



I don't get it why can't use alternative merchant id for us website?



Is this a bug? Anyone have had this set up any experienced the issue?
Thanks.







magento2 payment-methods multi-website braintree






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 15 '18 at 19:56







Juliano Vargas

















asked Mar 15 '18 at 19:47









Juliano VargasJuliano Vargas

7626 silver badges27 bronze badges




7626 silver badges27 bronze badges















  • This maybe an issue ref: github.com/magento/magento2/issues/5910

    – Juliano Vargas
    Mar 15 '18 at 19:58


















  • This maybe an issue ref: github.com/magento/magento2/issues/5910

    – Juliano Vargas
    Mar 15 '18 at 19:58

















This maybe an issue ref: github.com/magento/magento2/issues/5910

– Juliano Vargas
Mar 15 '18 at 19:58






This maybe an issue ref: github.com/magento/magento2/issues/5910

– Juliano Vargas
Mar 15 '18 at 19:58











2 Answers
2






active

oldest

votes


















0














I had similar issue.



For me direct place where the issue happened is here:




vendor/braintree/braintree_php/lib/Braintree/Http.php : 175




$response = curl_exec($curl);
file_put_contents('/var/www/magento/var/log/braintree.log', $response . "n", FILE_APPEND);


And response was:



<errors>Unauthorized</errors>


How I solved it I really don't know. Let me explain what was configured and what I did:



In magento backend there are two settings:



Merchant ID and Merchant Account ID
Pay attention! These are two DIFFERENT settings.



Let's move to braintree website.
https://sandbox.braintreegateway.com/merchants/*************/merchant_accounts/info



You may see:




Merchant ID



Your merchant ID is a unique identifier for your entire gateway account. This value is required to connect your API calls to the Braintree gateway.



Merchant Accounts



Below is a list of payment methods and currencies you are currently accepting. The merchant account ID is a unique identifier for a specific merchant account in your gateway, and is used to specify which merchant account to use when creating a transaction.




Now let's move to




Braintree website / Settings / User and Roles / edit any role




Scroll to the bottom and you will see:




Merchant Accounts



Allow the user to search for and manipulate transactions and disputes tied to the following merchant accounts (in accordance with their roles):



All



(If 'All' is selected, any merchant accounts added in the future will be added to the user automatically)



All Sub-merchant Accounts



Here are your merchant accounts




I'm not sure but I think you need to select checkbox "All" and on magento side leave Merchant Account ID field !!empty. (Or put save value, as configured in braintree account)



As for me it started working after I selected "All" and made empty field.
BUT! When I filled this value again to doublecheck - the issue didn't reproduce anymore. So I can't 100% be sure, that this is silver bullet.






share|improve this answer


































    -1














    Based on this issue from Magento's Github, Braintree is not configurable through the store view within the Magento 2 core extension. It needs to be configured through the website view.






    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%2f217570%2fmagento-2-braintree-payment-method-error-for-second-website%23new-answer', 'question_page');

      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      0














      I had similar issue.



      For me direct place where the issue happened is here:




      vendor/braintree/braintree_php/lib/Braintree/Http.php : 175




      $response = curl_exec($curl);
      file_put_contents('/var/www/magento/var/log/braintree.log', $response . "n", FILE_APPEND);


      And response was:



      <errors>Unauthorized</errors>


      How I solved it I really don't know. Let me explain what was configured and what I did:



      In magento backend there are two settings:



      Merchant ID and Merchant Account ID
      Pay attention! These are two DIFFERENT settings.



      Let's move to braintree website.
      https://sandbox.braintreegateway.com/merchants/*************/merchant_accounts/info



      You may see:




      Merchant ID



      Your merchant ID is a unique identifier for your entire gateway account. This value is required to connect your API calls to the Braintree gateway.



      Merchant Accounts



      Below is a list of payment methods and currencies you are currently accepting. The merchant account ID is a unique identifier for a specific merchant account in your gateway, and is used to specify which merchant account to use when creating a transaction.




      Now let's move to




      Braintree website / Settings / User and Roles / edit any role




      Scroll to the bottom and you will see:




      Merchant Accounts



      Allow the user to search for and manipulate transactions and disputes tied to the following merchant accounts (in accordance with their roles):



      All



      (If 'All' is selected, any merchant accounts added in the future will be added to the user automatically)



      All Sub-merchant Accounts



      Here are your merchant accounts




      I'm not sure but I think you need to select checkbox "All" and on magento side leave Merchant Account ID field !!empty. (Or put save value, as configured in braintree account)



      As for me it started working after I selected "All" and made empty field.
      BUT! When I filled this value again to doublecheck - the issue didn't reproduce anymore. So I can't 100% be sure, that this is silver bullet.






      share|improve this answer































        0














        I had similar issue.



        For me direct place where the issue happened is here:




        vendor/braintree/braintree_php/lib/Braintree/Http.php : 175




        $response = curl_exec($curl);
        file_put_contents('/var/www/magento/var/log/braintree.log', $response . "n", FILE_APPEND);


        And response was:



        <errors>Unauthorized</errors>


        How I solved it I really don't know. Let me explain what was configured and what I did:



        In magento backend there are two settings:



        Merchant ID and Merchant Account ID
        Pay attention! These are two DIFFERENT settings.



        Let's move to braintree website.
        https://sandbox.braintreegateway.com/merchants/*************/merchant_accounts/info



        You may see:




        Merchant ID



        Your merchant ID is a unique identifier for your entire gateway account. This value is required to connect your API calls to the Braintree gateway.



        Merchant Accounts



        Below is a list of payment methods and currencies you are currently accepting. The merchant account ID is a unique identifier for a specific merchant account in your gateway, and is used to specify which merchant account to use when creating a transaction.




        Now let's move to




        Braintree website / Settings / User and Roles / edit any role




        Scroll to the bottom and you will see:




        Merchant Accounts



        Allow the user to search for and manipulate transactions and disputes tied to the following merchant accounts (in accordance with their roles):



        All



        (If 'All' is selected, any merchant accounts added in the future will be added to the user automatically)



        All Sub-merchant Accounts



        Here are your merchant accounts




        I'm not sure but I think you need to select checkbox "All" and on magento side leave Merchant Account ID field !!empty. (Or put save value, as configured in braintree account)



        As for me it started working after I selected "All" and made empty field.
        BUT! When I filled this value again to doublecheck - the issue didn't reproduce anymore. So I can't 100% be sure, that this is silver bullet.






        share|improve this answer





























          0












          0








          0







          I had similar issue.



          For me direct place where the issue happened is here:




          vendor/braintree/braintree_php/lib/Braintree/Http.php : 175




          $response = curl_exec($curl);
          file_put_contents('/var/www/magento/var/log/braintree.log', $response . "n", FILE_APPEND);


          And response was:



          <errors>Unauthorized</errors>


          How I solved it I really don't know. Let me explain what was configured and what I did:



          In magento backend there are two settings:



          Merchant ID and Merchant Account ID
          Pay attention! These are two DIFFERENT settings.



          Let's move to braintree website.
          https://sandbox.braintreegateway.com/merchants/*************/merchant_accounts/info



          You may see:




          Merchant ID



          Your merchant ID is a unique identifier for your entire gateway account. This value is required to connect your API calls to the Braintree gateway.



          Merchant Accounts



          Below is a list of payment methods and currencies you are currently accepting. The merchant account ID is a unique identifier for a specific merchant account in your gateway, and is used to specify which merchant account to use when creating a transaction.




          Now let's move to




          Braintree website / Settings / User and Roles / edit any role




          Scroll to the bottom and you will see:




          Merchant Accounts



          Allow the user to search for and manipulate transactions and disputes tied to the following merchant accounts (in accordance with their roles):



          All



          (If 'All' is selected, any merchant accounts added in the future will be added to the user automatically)



          All Sub-merchant Accounts



          Here are your merchant accounts




          I'm not sure but I think you need to select checkbox "All" and on magento side leave Merchant Account ID field !!empty. (Or put save value, as configured in braintree account)



          As for me it started working after I selected "All" and made empty field.
          BUT! When I filled this value again to doublecheck - the issue didn't reproduce anymore. So I can't 100% be sure, that this is silver bullet.






          share|improve this answer















          I had similar issue.



          For me direct place where the issue happened is here:




          vendor/braintree/braintree_php/lib/Braintree/Http.php : 175




          $response = curl_exec($curl);
          file_put_contents('/var/www/magento/var/log/braintree.log', $response . "n", FILE_APPEND);


          And response was:



          <errors>Unauthorized</errors>


          How I solved it I really don't know. Let me explain what was configured and what I did:



          In magento backend there are two settings:



          Merchant ID and Merchant Account ID
          Pay attention! These are two DIFFERENT settings.



          Let's move to braintree website.
          https://sandbox.braintreegateway.com/merchants/*************/merchant_accounts/info



          You may see:




          Merchant ID



          Your merchant ID is a unique identifier for your entire gateway account. This value is required to connect your API calls to the Braintree gateway.



          Merchant Accounts



          Below is a list of payment methods and currencies you are currently accepting. The merchant account ID is a unique identifier for a specific merchant account in your gateway, and is used to specify which merchant account to use when creating a transaction.




          Now let's move to




          Braintree website / Settings / User and Roles / edit any role




          Scroll to the bottom and you will see:




          Merchant Accounts



          Allow the user to search for and manipulate transactions and disputes tied to the following merchant accounts (in accordance with their roles):



          All



          (If 'All' is selected, any merchant accounts added in the future will be added to the user automatically)



          All Sub-merchant Accounts



          Here are your merchant accounts




          I'm not sure but I think you need to select checkbox "All" and on magento side leave Merchant Account ID field !!empty. (Or put save value, as configured in braintree account)



          As for me it started working after I selected "All" and made empty field.
          BUT! When I filled this value again to doublecheck - the issue didn't reproduce anymore. So I can't 100% be sure, that this is silver bullet.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Jul 7 '18 at 14:53

























          answered Jul 7 '18 at 14:44









          zhartaunikzhartaunik

          2,6731 gold badge15 silver badges44 bronze badges




          2,6731 gold badge15 silver badges44 bronze badges


























              -1














              Based on this issue from Magento's Github, Braintree is not configurable through the store view within the Magento 2 core extension. It needs to be configured through the website view.






              share|improve this answer





























                -1














                Based on this issue from Magento's Github, Braintree is not configurable through the store view within the Magento 2 core extension. It needs to be configured through the website view.






                share|improve this answer



























                  -1












                  -1








                  -1







                  Based on this issue from Magento's Github, Braintree is not configurable through the store view within the Magento 2 core extension. It needs to be configured through the website view.






                  share|improve this answer













                  Based on this issue from Magento's Github, Braintree is not configurable through the store view within the Magento 2 core extension. It needs to be configured through the website view.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Mar 16 '18 at 16:29









                  LairenLairen

                  101




                  101






























                      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%2f217570%2fmagento-2-braintree-payment-method-error-for-second-website%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

                      Grendel Contents Story Scholarship Depictions Notes References Navigation menu10.1093/notesj/gjn112Berserkeree

                      Area configuration aggregation error after install Porto themeMagento 2.1 CE Installed but front/backend not loading/workingCSS not loading on page within Magento 2 pageCannot install module in Magento 2no commands defined in the “setup” namespace. in Magento2Magento 2: Static files are present but shows 404Why do i have to always run the commands to clean cache in Magento 2.1.8?Failure reason: 'Unable to unserialize value.'Error 500 after magento migrationIn production mode the site does not loadMagento 2 : Error 500 after installing

                      Middle Expansion Olielle Resaix Definition: Uttering songs of triumph shouting with joy triumphant exulting Sejunction Journal 붙다 달 고급 품목 외출 The stretch trades the screeching tin. Definition: The act of speaking with a drawl a drawl Cough Sand Definition: An uproar a quarrel a noisy outbreak Shake Iron Publicize Horse House Baby 사과 Resaix Flaggy Jelly Temporary Unequaled Puppet A drop in the bucket Shrew 성격 회원 성질 미팅 The burn frames the tacky quality. Materialistic The smoke reduces the way. Yammoe Nondescript Cheek 얼굴 배 약하다 날리다 타다 The illegal country shows the iron. Help Rule Drearien Smoke Teaching Meaty Wasp Abraham Lincoln Jaws 진심 수리하다 Size Cork Idea Convert Think Lark John Lennon 거울 청소 군 추천하다 아이스크림