WooCommerce Braintree Payment Gateway


WooCommerce Braintree Payment Gateway allows you to accept credit card payments on your Woocommerce store via the Braintree gateway. It authorizes credit card payments and processes them securely with your Braintree merchant account.

It is compatible with WooCommerce High-Performance Order Storage (HPOS) feature.

Plugin Functionality:

  • Easy to install and configure
  • Compatible with WordPress/Woocommerce plugins
  • You don’t need any extra plugins or scripts to process the transaction
  • Accepts all major credit cards
  • It has the 3D secure payment support
  • Automatic Payment Confirmation to update order transaction
  • Very Simple Clean Code to add a Braintree payment method to woocommerce

Checkout Payment Form is responsive, adapts nicely to all mobile screen sizes.

Configuring this addon is very easy. Simply go to the following WooCommerce settings area to enable the Braintree gateway and enter your Braintree API details:

WooCommerce Settings -> Checkout -> Braintree

You can find detailed usage instruction with screenshots on the Braintree Gateway for WooCommerce extension page.

After that, your customers will be able to select the credit card checkout option on the WooCommere checkout page.

This Plugin does not support WooCommerce Subscriptions, but this functionality is in plan for the near future.

3D Secure Payment Option

This Braintree addon supports 3D secure payment option. If you want to use 3D Secure Payment then you just need to enable that option in your Braintree merchant account. You can contact Braintree support to enable 3D secure in your live account.

Also works with 3DS v2.


Github repository — https://github.com/wp-insider/woocommerce-braintree-payment-gateway


  • Configuration page with options for the Plugin.
  • Frontend shop Checkout page Payment Form.


Automatic Installation

  • Login to your WordPress Admin area
  • Go to «Plugins > Add New» from the left hand menu
  • In the search box type «WooCommerce Braintree Payment Gateway»
  • From the search result you will see «WooCommerce Braintree Payment Gateway» click on «Install Now» to install the plugin
  • A popup window will ask you to confirm your wish to install the Plugin.

Manual Installation

  1. Download the plugin zip file
  2. Login to your WordPress Admin. Click on «Plugins > Add New» from the left hand menu.
  3. Click on the «Upload» option, then click «Choose File» to select the zip file from your computer. Once selected, press «OK» and press the «Install Now» button.
  4. Activate the plugin.
  5. Open the Settings page for WooCommerce and click the «Checkout» tab.
  6. Click on the sub tab for «Braintree».
  7. Configure your «Braintree» settings. See below for details.

Configure the plugin

To configure the plugin, go to WooCommerce > Settings from the left hand menu, then click «Checkout» from the top tab menu. You should see «Braintree» as an option at the top of the screen. Click on it to configure the payment gateway.

  • Enable/Disable — check the box to enable Braintree Payment Gateway.
  • Title — allows you to determine what your customers will see this payment option as on the checkout page, default is «Credit card».
  • Description — controls the message that appears under the payment fields on the checkout page.
  • Sandbox — check the box to enable sandbox mode to test how would payments work for you, real payments will not be taken. Uncheck this option to put It in production mode.
  • Sandbox Merchant ID/Merchant ID — enter your Braintree Merchant ID, this is gotten from your account page on Braintree website.
  • Sandbox Public Key/Public Key — enter your Braintree Public Key, this is gotten from your account page on Braintree website.
  • Sandbox Private Key/Private Key — enter your Braintree Private Key, this is gotten from your account page on Braintree website.
  • Click on Save Changes for the changes you made to be effected.

Часто задаваемые вопросы

What Do I Need To Use The Plugin

  1. You need to have WooCommerce plugin installed and activated on your WordPress site.
  2. You need to open an account on Braintree website.

Will my customers be able to checkout using their credit cards after I install this plugin?


Does this Plugin support WooCommerce Subscriptions?

No, It doesn’t, but this functionality is in plan for the near future.

Does this plugin require the SSL?

As an online merchant, it is your responsibility to make sure the information you collect from your customers is protected so yes, you need it.


11.05.2019 1 ответ
I’m surprised people are saying this works. I can’t get it to work in production. Installed it 8 months ago. Worked fine in first installation. Then an update broke it. Then my client put a hold on the site and we never went live. Came back and wants to go live. I updated everything expecting it to be fine by now. Same error. Does not work in Production. No credit card form. Error says no payment method chosen for my state. Use Braintree For WooCommerce instead. It works perfectly.
Hello! Great plugin, thank you very much for it! Just one question — is there a way to translate the input fields and error messages? Example: Please check CVV number here: https://puu.sh/vIrE9/ede6e0ca74.png and¸expiry and verification number here https://puu.sh/vIwp2/dca6e7151c.png Thank you! Best regards, Damjan
03.09.2016 1 ответ
Hello, I really appreciate all Your effort on plugin. Want to know why after installing woo and this plugin (and setting all keys) still got massage like this «Error processing checkout. Please try again.»
Our Sandbox testing was easy and flawless. When we moved to Production, we got an initial error message but it was our fault. We hadn’t entered the CSE Key correctly. Make sure you’re copying the entire key, because it is long — so long that Braintree’s control panel doesn’t allow you to view it all. We’re very pleased with this plugin.
Посмотреть все 13 отзывов

Участники и разработчики

«WooCommerce Braintree Payment Gateway» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:


«WooCommerce Braintree Payment Gateway» переведён на 1 язык. Благодарим переводчиков за их работу.

Перевести «WooCommerce Braintree Payment Gateway» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.

Журнал изменений


  • Added HPOS feature compatibility.


  • Removed the admin notice for the secure checkout option which has been removed from WooCommerce.


  • Updated for WooCommerce v8.3.1
  • Tested on latest WP version.


  • Updated to work with 3DS version 2.
  • Updated the Braintree SDK to latest.


  • Postponed plugin init to ensure other addons have loaded.
  • Modified plugin code to follow WP Coding Standards.


  • Updated Braintree PHP SDK to prevent deprecation notice when using PHP 7+.


  • Fixed WooCommerce settings URL in force SSL notice.


  • Fixed inability to proceed with payment when 3D Secure is not enabled in Braintree account.


  • Added 3D Secure support.


  • Added a function_exists check to see if Braintree library is already loaded.


  • Replaced a deprecated call with the new method.
  • Added a link to the addon’s settings menu.


  • Added woocommerce tested upto version number in the plugin header.


  • Display error when the transaction is declined. Thanks to @bolint for making this change.


  • Fixed a typo.


  • Upgraded the Braintree library to the latest version.


  • PHP version check changed from 5.2.1 to 5.4.0
  • Updated Braintree PHP Client Library to version 3.9.0.
  • Added customer information to Braintree.


  • PHP version check changed from 5.3 to 5.2.1
  • Updated Braintree PHP Client Library to version 2.35.2. Released December 17, 2014.


  • First release