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;
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 :
In console:
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
add a comment |
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 :
In console:
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
This maybe an issue ref: github.com/magento/magento2/issues/5910
– Juliano Vargas
Mar 15 '18 at 19:58
add a comment |
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 :
In console:
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
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 :
In console:
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
magento2 payment-methods multi-website braintree
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
add a comment |
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
add a comment |
2 Answers
2
active
oldest
votes
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.
add a comment |
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.
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
add a comment |
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.
add a comment |
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.
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.
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
add a comment |
add a comment |
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.
add a comment |
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.
add a comment |
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.
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.
answered Mar 16 '18 at 16:29
LairenLairen
101
101
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
This maybe an issue ref: github.com/magento/magento2/issues/5910
– Juliano Vargas
Mar 15 '18 at 19:58