The Magento_CompanyCredit module adds the "Payment on Account" payment method for B2B companies. It also allows the credit history to be viewed from both Admin and the storefront.
With the Magento_Company Credit module:
- A customer can pay orders with Payment on Account method (or in credit)
- An admin user can manage credit and credit settings for a company (in the admin panel)
- Merchants and customers can track credit history, and specifically: credit allocation, order placement, credit reimbursement, credit change (amount, currency or possibility to exceed credit limit)
The company credit functionality is available for company users only.
The module has a dependency on the Magento_Company module, which must be installed and enabled first. The module does not create any backward incompatible changes. The CompanyCredit module can be deactivated and uninstalled at any time.
Extension developers can interact with the Magento_CompanyCredit 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_CompanyCredit module.
Payment method configuration will allow you additional configuration to extend module functionality.
You can extend and override layouts in the
For more information about layouts, see the Layout documentation.
The following directories contain extensible UI components:
Magento\CompanyCredit\view\adminhtml\ui_component- company form, company listing, history listing
Magento\CompanyCredit\view\frontend\ui_component- balance history listing