Magento Commerce only

Magento_CompanyPayment module

This topic is generated automatically from the corresponding README in the Magento codebase. If you want to contribute, refer to Magento Code Contributions.

Overview

The Magento_CompanyPayment module allows a merchant to configure which payment methods are available for B2B companies.

In Admin, the CompanyPayment module adds an additional panel (on the Company profile page and on the B2B Features page) where a merchant configures payment methods for companies. Payment methods can be configured on the store level or on the company level.

Installation details

The module has a dependency on the Magento_Company module, which must be installed and enabled first. This module does not create any backward incompatible changes. It can be deactivated and uninstalled at any time.

Structure

Learn about a typical file structure for a Magento 2 module.

Extensibility

Extension developers can interact with the Magento_CompanyPayment 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_CompanyPayment module.

Layouts

You can extend and override layouts in the Magento\CompanyPayment\view\frontend\layout directory.

For more information about layouts, see the Layout documentation.

UI components

The following directory contains extensible UI components:

  • Magento\CompanyPayment\view\frontend\ui_component - company form

For more information, see UI Form Component.

Additional information

You can track backward incompatible changes made in a Magento B2b mainline after the Magento 2.2 release.