Braintree Payment Gateway | Braintree Payment Provider, Braintree PayPal, Venmo, 3D Secure
by Modvanta https://modvantaapps.tech/odoo-apps/payment-braintree/$ 29.91

Accept Braintree card payments in your Odoo shop - with saved cards, refunds and voids from Odoo
Customers pay by card in the Braintree Drop-in form on the Odoo checkout and can save the card for the next order. Refunds, voids, settlement updates and every call to Braintree are handled and logged in Odoo, and a demo mode lets you test it all before you have API keys.
Written and supported by Modvanta - modvantaapps@gmail.com
What it does
This module adds Braintree as a payment provider for Odoo. The Braintree Drop-in form is shown inline on the checkout, so the customer pays without leaving your website. Logged-in customers can tick Save my payment details; the card is stored in the Braintree vault and offered as a saved payment method on their next order.
On the provider you enter the merchant ID and the public and private API keys, and choose 3D Secure, the cardholder name field, device data collection, how saved cards are charged without the customer and how long to keep the API log. The webhook URL to register in the Braintree Control Panel is shown on the provider.
Refunds are made from Odoo. Braintree refunds part of a payment only once it has settled; until then a full refund voids the payment so nothing is charged. Each transaction shows its Braintree ID, status and merchant account, with Check Status at Braintree. Demo mode replaces the Drop-in with a labelled stand-in and simulates Braintree inside Odoo: no call leaves the database and no money moves.
Who it is for
Shops already on Braintree Take card payments on your Odoo website with your existing Braintree merchant account. | Stores with returning customers Saved cards make the next checkout one click. | Teams that test first Run checkout, saved cards, declines and refunds in demo mode. |
Key features
Every screen below is the module running on Odoo 19 with its demo mode, which simulates Braintree inside Odoo; placeholder API keys and Braintree's documented test payment methods were used and no money moved.
Feature 1
Card payment on the checkout
The payment form is shown inline on the checkout, secured by Braintree, with Save my payment details. In demo mode a labelled stand-in lets you pick one of Braintree's test payment methods instead of entering a card.

Feature 2
Payment confirmed
The order is confirmed and the customer sees that the payment has been processed.

Feature 3
Saved card on the next order
The saved Mastercard ending 4444 is offered under Your payment methods the next time the customer checks out.

Feature 4
Clear message when declined
A declined card shows the Braintree reason and code, here PROCESSOR_DECLINED: 2000 Do Not Honor.

Feature 5
API keys and webhook
Merchant ID, public and private keys, merchant accounts, demo mode, and the webhook URL with the notifications to tick in the Braintree Control Panel.

Feature 6
Payment form and saved card options
3D Secure, cardholder name field, collect device data, Google Pay merchant ID, how saved cards are charged without the customer, and API log retention.

Feature 7
Payments, declines and refunds
Confirmed and declined Braintree payments, and the refund R-S00041 of an unsettled payment, which voids it so nothing is charged.

Feature 8
Braintree details on the transaction
Provider reference, the saved payment token, the refund as child transaction, and the Braintree ID, status and merchant account. Check Status at Braintree; in demo mode you can also simulate settlement.

Feature 9
Saved cards in the Braintree vault
The payment token with the card brand, last digits, customer and its Braintree payment method token.

Feature 10
API log
Create customer, charge payment method and reverse transaction calls with the transaction, HTTP status, duration, Braintree code and error.

How it works, step by step
| 1 | Install the module Braintree is added to the payment providers. |
| 2 | Try demo mode Tick Demo Mode with the provider in Test Mode and pay an order with a test payment method. |
| 3 | Enter your API keys Merchant ID, public key and private key from the Braintree Control Panel. |
| 4 | Register the webhook Copy the webhook URL shown on the provider into Braintree and tick the listed notifications. |
| 5 | Go live Untick demo mode and enable the provider. |
Settings
On the Braintree payment provider.
| Account | Merchant ID, public key, private key, merchant accounts per currency, demo mode. |
| Webhook | Destination URL and the notifications to tick in the Braintree Control Panel. |
| Payment form | 3D Secure, cardholder name field, collect device data, Google Pay merchant ID. |
| Saved cards | Save my payment details for logged-in customers; how saved cards are charged without the customer. |
| API log | Days to keep the API log. |
Frequently asked questions
Can customers save their card?
Yes. Logged-in customers tick Save my payment details and the card is offered on their next order.
Can I refund from Odoo?
Yes. Before the payment settles, a full refund voids it so nothing is charged; partial refunds are possible once Braintree has settled the payment.
What does the customer see when a card is declined?
The reason and code from Braintree, for example PROCESSOR_DECLINED: 2000 Do Not Honor.
Can I try it without Braintree keys?
Yes. Demo mode simulates Braintree inside Odoo with its documented test payment methods. The screenshots on this page were taken in demo mode.
Do card numbers reach Odoo?
No. Odoo only stores the Braintree references, the card brand and the last four digits.
Compatibility
Odoo 19 Community and Enterprise | Works with Odoo eCommerce | Gateway Braintree Drop-in and API | Tested 122 automated tests |
Take Braintree card payments in Odoo
Questions before you buy, help with setup, or a change for your own workflow - write to us and a developer answers.
SUPPORT | AUTHOR Modvanta | INCLUDED Module, setup help by e-mail, Odoo 19 updates |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Invoicing (account)
• Discuss (mail) |
| Lines of code | 2892 |
| Technical Name |
mdv_payment_braintree |
| License | OPL-1 |
| Website | https://modvantaapps.tech/odoo-apps/payment-braintree/ |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module