Contributions through pull requests are not supported for this topic. Open a GitHub issue to provide feedback.
PHP 7.3 reached end of support in December 2021 and Adobe Commerce 2.3.x reaches end of support in September 2022. You may want to consider planning your upgrade now to Adobe Commerce 2.4.x and PHP 7.4.x to help maintain PCI compliance.


The Magento_Braintree module implements integration with the Braintree payment system.


Extension developers can interact with the Magento_Braintree module. For more information about the Magento extension mechanism, see Magento plug-ins.

The Magento dependency injection mechanism enables you to override the functionality of the Magento_Braintree module.


This module observes the following events:

  • payment_method_assign_data_braintree event in Magento\Braintree\Observer\DataAssignObserver file.
  • payment_method_assign_data_braintree_paypal event in Magento\Braintree\Observer\DataAssignObserver file.
  • shortcut_buttons_container event in Magento\Braintree\Observer\AddPaypalShortcuts file.

For information about an event in Magento 2, see Events and observers.


This module interacts with the following layouts and layout handles in the view/adminhtml/layout directory:

  • braintree_paypal_review
  • checkout_index_index
  • multishipping_checkout_billing
  • vault_cards_listaction

This module interacts with the following layout handles in the view/frontend/layout directory:

  • adminhtml_system_config_edit
  • braintree_report_index
  • sales_order_create_index
  • sales_order_create_load_block_billing_method

For more information about layouts in Magento 2, see the Layout documentation.

UI components

You can extend admin notifications using the view/adminhtml/ui_component/braintree_report.xml configuration file.

For information about UI components in Magento 2, see Overview of UI components.

Additional information

For information about significant changes in patch releases, see 2.3.x Release information.