6 votes

Braintree Payment Gateway Failure - Magneto2 - "Something Went Wrong"

For me, the issue was because I put the wrong Merchant Account ID under Advanced Settings. I assumed that Merchant ID was equivalent to Merchant Account ID, but no, they're two different things. You ...
Mingle Li's user avatar
  • 265
3 votes
Accepted

Braintree Payment Gateway Failure - Magneto2 - "Something Went Wrong"

Just had this happen to me, the advanced setting for the account was that of production not of the sandbox, remove this to use default or add the one from the sandbox account.
Daniel Kozlowski's user avatar
3 votes

Braintree Payment Gateway Failure - Magneto2 - "Something Went Wrong"

Full disclosure: I work at Braintree. If you have any further questions, feel free to contact support. There are a few known issues with the Magento2 + Braintree module that I'm aware of, but I'd ...
Ryan Regan's user avatar
2 votes

Magento 2 get transaction status from Braintree

Somethink like this namespace Vendore\ModuleName\Helper\Braintree; use Magento\Braintree\Model\Adapter\BraintreeAdapterFactory; use Magento\Braintree\Model\Adapter\BraintreeSearchAdapter; class ...
Max O's user avatar
  • 61
2 votes

How to override html for a module within custom theme?

The correct path is: app/design/frontend/MJ/theme/Magento_Braintree/web/template/form.html Delete all the other files and make sure you’ve deployed static content. Depending on the version of Magento ...
hungersoft's user avatar
2 votes

Magento 2 Braintree Payment Method Error For Second Website

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/...
zhartaunik's user avatar
  • 3,848
2 votes
Accepted

Braintree charging twice when order is shipped

After a few days investigating that problem, we had a conversation with the client to understand how they were shipping the orders then we found out they use ShippingEasy integration to ship the ...
andrewdaluz's user avatar
2 votes

Braintree charging twice when order is shipped

Braintree Duplicate checking logic Our duplicate checking logic runs within a specific time frame. If all of the general and relevant payment method-specific conditions are met within the designated ...
Muhammad Hasham's user avatar
2 votes
Accepted

Magento 2 -Problem with Braintree Method

Full disclosure: I work at Braintree. If you have any further questions, feel free to contact support. There are several things that could potentially cause this issue. One of the more common ...
bbusby's user avatar
  • 46
2 votes

how to override core JS file in module

Found the answer var config = { config: { mixins: { '[core_module_name]/js/view/payment/method-renderer/cc-form': { '[module_name]/js/view/payment/method-...
jibin george's user avatar
2 votes

how to override core JS file in module

If you want to override the Magento JS core and replace it by your custom Javascript. Step 1: Create a RequireJS configuration file requirejs-config.js var config = {  "map": {    "*": {      "&...
Muhammad Hasham's user avatar
2 votes

Magento 2.4.6 Paypal Braintree error when adding item to cart

Found this that answers my above issue. https://github.com/magento/magento2/issues/37242 After consultation, I have learned that the Braintree V4.5.0 module in M2.4.6 includes new functionality and is ...
Rich D's user avatar
  • 21
2 votes
Accepted

Magento 2 Braintree compilation issue

I contacted Gene for support and as suggest by Petar, the braintree module did not install properly. Gene advised to me run composer require braintree/braintree_php:5.2.0 Which resolved the issue.
neit's user avatar
  • 63
1 vote

Magento 2.4.6 + Braintree: How to stop placing order when tranasaction is failed

Check this two event's sales_order_place_after sales_model_service_quote_submit_before and check save() method. Need to remove save() method from observer file. Ex. $this->orderRepository->save(...
Jimit Bhavsar's user avatar
1 vote

Payment method class override

The PayPal\Braintree\Gateway\Command\GatewayCommand class (vendor/paypal/module-braintree-core/Gateway/Command/GatewayCommand.php) is not directly injected via Dependency Injection, so you can't use ...
Tu Van's user avatar
  • 7,008
1 vote

Payment method class override

You can override a class in Magento 2.4 (Assuming this is the version), including the one you mentioned (vendor/paypal/module-braintree-core/Gateway/Command/GatewayCommand.php). The primary methods ...
brentwpeterson's user avatar
1 vote

The requested Payment Method is not available. When using a saved credit card

This is a reported bug with Magento. It appears to have been around since v2.3.5 https://github.com/magento/magento2/issues/29248 Javascript expects a unique ID to be passed to know which payment ...
PromInc's user avatar
  • 460
1 vote

Magento 2.3.5-p2 3D Secure to Braintree not working Too many decimal places in amount field

Yes, it is a bit of a hack job, but it is the only way I could figure out how to fix it. Edit \vendor\magento\module-quote\Model\Quote\Address\Total.php Change line 59 & 79 to $amount = is_float($...
Zero Pulser's user avatar
1 vote

Braintree PayPal error after upgrading magento version to 2.3.5

You should try to link your PayPal Sandbox account with Sandbox Braintree account. Here are described steps -> linked-paypal-testing
Aliaksei Korshyn's user avatar
1 vote

Error Payment Method braintree credit card

I have configured the sandbox and the test is working perfectly however live is not working. I try to configure the authorize net however I have other problem the authorize net update the new module ...
Felix's user avatar
  • 51
1 vote

Error Payment Method braintree credit card

As I checked your site, you got the following error in checkout page. You can also view on your console as well. Uncaught Error: Braintree API Client Misconfigured: clientToken required. One of ...
Muhammad Hasham's user avatar
1 vote

Braintree with Magento 2 - Configuration

Full disclosure: I work at Braintree. If you have any further questions, feel free to contact support. 
Based off of the response object you included it appears that you are passing your merchant ID ...
bbusby's user avatar
  • 46
1 vote
Accepted

Is their any Way to create client token for braintree with api in magento 2

Call this Library > \Magento\Braintree\Model\Adapter\BraintreeAdapterFactory $bt_adapter in construct. afterwards, $bt_adapter = $this->bt_factory->create(); $value = $bt_adapter->generate(); That ...
Bumpire's user avatar
  • 26
1 vote

Payment with REST API

Here how Braintree integration looks like (https://developers.braintreepayments.com/start/overview) So you need do the following 1) Get client token from Magento server. I didn't find rest endpoint ...
Dima Portenko's user avatar
1 vote

Magento2 Braintree Timing

The amount of time a transaction spends in the Settling state mostly depends on the processing bank. Order amount Authorization will expired in certain cases, American Express authorizations will ...
Keyur Shah's user avatar
  • 18.1k
1 vote

Magento 2 and BrainTree - Phone Number

Full disclosure: I work at Braintree. If you have any further questions, feel free to contact support. The dynamic descriptors section can be empty as they are optional. If left empty, the ...
hollabaq's user avatar
  • 121
1 vote

How do I integrate Braintree with Magento 1.9.3?

The simplest way to do it is by using Braintree Payments module.
Sigismund's user avatar
  • 183
1 vote
Accepted

Magento 2 Braintree - few store view

Setting different merchant accounts within Breaintree for differen currencies helped. All you have to do next is setting those IDs in proper store views.
Pete Jaworski's user avatar
1 vote
Accepted

how to capture braintree using customer token in magento2

Magento provides API to work with payment tokens. The PaymentTokenManagementInterface contains a list of methods to retrieve tokens: getListByCustomerId getByPaymentId getByGatewayToken ...
joni jones's user avatar
  • 2,549
1 vote

Way to keep track of credit card authorization expirations?

I don't think there's a module created specifically to track authorization expirations. Well, I couldn't find one after some extensive Googling. I tried searching for time tracker modules in case you ...
hollabaq's user avatar
  • 121

Only top scored, non community-wiki answers of a minimum length are eligible