---
schema_version: "1"
id: 186633ef8bcb91c1440d884414255fd7d3baa02d07d7f9851685ec1b8cd81be8
title: License Requirements for Custom Checkout Order Tracking
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/commerce/264-0-0/comm_license_requirements_custom_checkout.md
canonical_url: https://help.salesforce.com/s/articleView?id=commerce.comm_license_requirements_custom_checkout.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 9cb75163a76ae6797a3f24766976eef3f3d80c07c276fa8b370343d3a035f320
description: To comply with B2B Commerce licensing requirements, make sure that your custom checkout implementation is tracking orders for Gross Merchandise Value (GMV) and Price Per Order (PPO). If your cart-to-order process invokes the Cart to Order flow core action or the Commerce Webstore Checkout Orders Connect REST API, no additional steps are required.
products:
  - Commerce
  - B2B Commerce
release: "264"
---
# License Requirements for Custom Checkout Order Tracking

To comply with B2B Commerce licensing requirements, make sure that your custom checkout implementation is tracking orders for Gross Merchandise Value (GMV) and Price Per Order (PPO). If your cart-to-order process invokes the Cart to Order flow core action or the Commerce Webstore Checkout Orders Connect REST API, no additional steps are required.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;"><a href="https://help.salesforce.com/s/articleView?id=commerce.comm_editions.htm&amp;language=en_US" target="_blank">View supported editions</a>.</td></tr></tbody></table>

[Which Salesforce Commerce Product Do I Have?](https://help.salesforce.com/s/articleView?id=commerce.comm_what_product.htm&language=en_US)

If not, you must implement an Apex method for order tracking. In your custom cart-to-order process, invoke the `licenseCompliance()` method from the `B2BCheckoutController` class. This method requires you to input the IDs of a cart and the order created from it. You must use the order entity, not a custom object. The order’s status category must be `Activated`.

To verify that your orders are accurately tracked, see [View Your Salesforce Org’s Usage-Based Entitlements](https://help.salesforce.com/s/articleView?id=platform.users_usagebased_entitlements_viewing.htm&language=en_US). Confirm that the Amount Used column is populated for Commerce Orders Placed and Commerce GMV.