|
1 |
| -Module Magento\Braintree implements integration with the Braintree payment system. |
| 1 | +# Magento_Braintree module |
| 2 | + |
| 3 | +The Magento_Braintree module implements integration with the Braintree payment system. |
| 4 | + |
| 5 | +## Extensibility |
| 6 | + |
| 7 | +Extension developers can interact with the Magento_Braintree module. For more information about the Magento extension mechanism, see [Magento plug-ins](https://devdocs.magento.com/guides/v2.3/extension-dev-guide/plugins.html). |
| 8 | + |
| 9 | +[The Magento dependency injection mechanism](https://devdocs.magento.com/guides/v2.3/extension-dev-guide/depend-inj.html) enables you to override the functionality of the Magento_Braintree module. |
| 10 | + |
| 11 | +### Events |
| 12 | + |
| 13 | +This module observes the following events: |
| 14 | + |
| 15 | + - `payment_method_assign_data_braintree` event in `Magento\Braintree\Observer\DataAssignObserver` file. |
| 16 | + - `payment_method_assign_data_braintree_paypal` event in `Magento\Braintree\Observer\DataAssignObserver` file. |
| 17 | + - `shortcut_buttons_container` event in `Magento\Braintree\Observer\AddPaypalShortcuts` file. |
| 18 | + |
| 19 | +For information about an event in Magento 2, see [Events and observers](https://devdocs.magento.com/guides/v2.3/extension-dev-guide/events-and-observers.html#events). |
| 20 | + |
| 21 | +### Layouts |
| 22 | + |
| 23 | +This module interacts with the following layouts and layout handles in the `view/adminhtml/layout` directory: |
| 24 | + |
| 25 | +- `braintree_paypal_review` |
| 26 | +- `checkout_index_index` |
| 27 | +- `multishipping_checkout_billing` |
| 28 | +- `vault_cards_listaction` |
| 29 | + |
| 30 | +This module interacts with the following layout handles in the `view/frontend/layout` directory: |
| 31 | + |
| 32 | +- `adminhtml_system_config_edit` |
| 33 | +- `braintree_report_index` |
| 34 | +- `sales_order_create_index` |
| 35 | +- `sales_order_create_load_block_billing_method` |
| 36 | + |
| 37 | +For more information about layouts in Magento 2, see the [Layout documentation](https://devdocs.magento.com/guides/v2.3/frontend-dev-guide/layouts/layout-overview.html). |
| 38 | + |
| 39 | +### UI components |
| 40 | + |
| 41 | +You can extend admin notifications using the `view/adminhtml/ui_component/braintree_report.xml` configuration file. |
| 42 | + |
| 43 | +For information about UI components in Magento 2, see [Overview of UI components](https://devdocs.magento.com/guides/v2.3/ui_comp_guide/bk-ui_comps.html). |
| 44 | + |
| 45 | +## Additional information |
| 46 | + |
| 47 | +For information about significant changes in patch releases, see [2.3.x Release information](https://devdocs.magento.com/guides/v2.3/release-notes/bk-release-notes.html). |
0 commit comments