Install the totals collector module

To begin using the totals-collector app, ensure that you have completed the getting started and configuration steps.

For more ideas on how you can use the totals collector module, refer to totals collector use cases.

Prerequisites

Installation

data-src=/_includes/checkout-version.md

To enable out-of-process discount totals collection (from an external service) in Adobe Commerce, install the magento/module-out-of-process-totals-collector module using the following command:

composer require magento/module-out-of-process-totals-collector --with-dependencies

Configuration

data-src=/_includes/checkout-configuration.md

The totals-collector app does not have a custom installation step. Unlike the shipping-method, payment-method, and tax-integration apps, it does not create any Commerce entities. It only implements webhook-based discount and fee actions. There is nothing to install or uninstall beyond the app itself.

After installation, register one or more webhooks so that Adobe Commerce can call your app during quote totals collection: