Sales > Payment Methods > Braintree
For versions of ÃÛ¶¹ÊÓƵ Commerce and Magento Open Source earlier than 2.4.0, it was recommended that merchants install and configure the official Braintree payment integration extension from the to replace the core integration. As of 2.4.0, the extension is now included in the core release.
When migrating to Commerce 2.4, merchants need to uninstall the extension distributed on the Marketplace (
paypal/module-braintree
or gene/module-braintree
) and update any code customizations to use the PayPal_Braintree
namespace instead of Magento_Braintree
. Configuration settings from the bundled extension for Commerce and the extension distributed on the Commerce Marketplace are persisted. Payments placed with those versions of the extension are captured, voided, or refunded as normal.If you are upgrading to Commerce 2.4.0 and do not use the recommended Commerce Marketplace extension in your previous 2.3.x version, the multi address feature does not work with the 2.4.0 version of Braintree. When a shopper selects deliver to multiple addresses , the Braintree payment method does not appear. The Commerce Marketplace extension previously recommended for 2.3.x has this multiple address issue.
To access the store configuration settings, choose Stores > Settings > Configuration from the Admin sidebar.
Basic Braintree Settings
Credit Card
(Braintree)Sandbox
/ Production
Authorize
- Funds on the customer’s credit card are authorized, but not transferred from the account. An order is created in your store Admin. You can later capture the sale and create an invoice.Intent Sale
(previously Authorize and Capture
in earlier releases) - Funds on the customer’s credit card are authorized and captured by Braintree, and an order and invoice are created in your store Admin.Sandbox
.Sandbox
.Sandbox
.Production
.Production
.Production
.Yes
/ No
Yes
/ No
Yes
/ No
Advanced Braintree Settings
{width="550" modal="regular"}
Yes
/ No
Yes
.Options:
Yes
/ No
Advanced Fraud Protection
checks are bypassed when the threshold value is met or exceeded. Leaving this field blank disables this option.Yes
/ No
Yes
/ No
Yes
/ No
Ctrl
(or Command
on Mac) to select a combination of cards. Options: American Express
/ Visa
/ MasterCard
/ Discover
/ JCB
/ Diners
/ Maestro International
Braintree Webhooks Settings
Yes
/ No
SETTLED
in Braintree.SETTLEMENT
is DECLINED
in Braintree.Country Specific Settings
All Allowed Countries
/ Specific Countries
Country
- Choose the country.Allowed Card Types
- Select each credit card that is accepted from the country as payment through Braintree.Add
- Add a line to allow credit cards for a different country.Action
- Deletes the record of allowed credit cards for the country.ACH through Braintree
Yes
/ No
Yes
/ No
Apple Pay through Braintree
Yes
/ No
The domain must be .
Yes
/ No
Authorize
- Funds on the customer’s card are authorized, but not transferred from the customer’s account. An order is created in your store Admin. You can later capture the sale and create an invoice.Intent Sale
- Funds on the customer’s card are authorized and captured by Braintree, and an order and invoice are created in your store Admin. Note: This was Authorize and Capture
in 2.3.x and earlier releases.Local Payment Methods
Yes
/ No
Local Payments
Complete Checkout
https://www.domain.com/checkout#payment
).Bancontact
/ EPS
/ giropay
/ iDeal
/ Klarna Pay Now
/ SOFORT
/ MyBank
/ P24
/ SEPA/ELV Direct Debit
(not yet supported)GooglePay through Braintree
Yes
/ No
Yes
/ No
Authorize
- Funds on the customer’s card are authorized, but not transferred from the customer’s account. An order is created in your store Admin. You can later capture the sale and create an invoice.Intent Sale
- Funds on the customer’s card are authorized and captured by Braintree, and an order and invoice are created in your store Admin. Note: This was Authorize and Capture
in 2.3.x and earlier releases.White
/ Black
Venmo through Braintree
Yes
/ No
Yes
/ No
Authorize
- Funds on the customer’s card are authorized, but not transferred from the customer’s account. An order is created in your store Admin. You can later capture the sale and create an invoice.Intent Sale
- Funds on the customer’s card are authorized and captured by Braintree, and an order and invoice are created in your store Admin. Note: This was Authorize and Capture in 2.3.x and earlier releases.PayPal through Braintree
{width="550" modal="regular"}
Yes
/ No
Yes
/ No
. This field gets visible when Enable PayPal through Braintree
is set to Yes
Yes
/ No
. This field gets visible when Enable PayPal through Braintree
is set to Yes
PayPal
Yes
/ No
Yes
/ No
Authorize
- Funds on the customer’s card are authorized, but not transferred from the customer’s account. An order is created in your store Admin. You can later capture the sale and create an invoice.Authorize and Capture
- Funds on the customer’s card are authorized and captured by PayPal through Braintree, and an order and invoice are created in your store Admin.All Allowed Countries
/ Specific Countries
Yes
/ No
Yes
/ No
Yes
/ No
Styling
Mini-Cart and Cart Page
/ Checkout Page
/ Product Page
Mini-Cart and Cart Page
The option and settings in this section vary according to the setting in the Location field.
PayPal Button
/ PayPal Pay Later Button
/ PayPal Credit Button
PayPal Button
The options and settings in this section vary according to the button type selected in the PayPal Button Type field.
Yes
/ No
Paypal
/ Checkout
/ Buy Now
/ Pay
Blue
/ Black
/ Gold
/ Silver
Pill
/ Rectangle
Medium
/ Large
/ Responsive
PayLater Messaging
Yes
/ No
. When enabled, it displays PayLater messaging for available offers ().Text
/ Flex
Inline
/ Primary
/ Alternative
/ None
Left
/ Right
/ Top
Black
/ White
/ Monochrome
/ Grayscale
When these options are set, you can see the preview of the PayPal buttons and PayLater messages. There are controls that you can use to apply the settings or reset the values:
3d Secure Verification Settings
Yes
/ No
Yes
/ No
All Allowed Countries
/ Specific Countries
Dynamic Descriptors
company*myproduct
The length of the Company and Product parts of the descriptor can be allocated in the following ways, for a combined length of up to 22 characters:
Option 1
- Company must be three characters / Product can be up to 18 charactersOption 2
- Company must be seven characters / Product can be up to 14 charactersOption 3
- Company must be 12 characters / Product can be up to nine characters9999999999
(999) 999-9999
999.999.9999
company.com