# Step 10: Create service overrides

Create the configuration settings for each module using the information in the following table. You can also find these settings on the Service Overrides tab in the DR CC Config Settings spreadsheet.

| Extension Setting                                                                                                                                                                                                                               | Extension API Class                                                                                                                                                                             |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Cart Extension Settings for DefaultStore](/salesforce-b2b/1.0-5/integrating-the-digital-river-salesforce-b2b-commerce-app/step-10-create-service-overrides.md#step-10a-create-a-service-override-for-the-cart-extension-api-class)             | <p>digitalriverb2b.DRB2B\_UpdateCart</p><p><strong>Note</strong>: This extension setting was deprecated in Salesforce B2B Commerce (CloudCraze) 4.12 and greater and is no longer required.</p> |
| [Tax Calculation API Class for DefaultStore](/salesforce-b2b/1.0-5/integrating-the-digital-river-salesforce-b2b-commerce-app/step-10-create-service-overrides.md#step-10b-create-a-service-override-for-the-tax-calculation-api-class)          | <p>digitalriverb2b.DRB2B\_CartTaxCaluclation</p><p></p><p><strong>Note</strong>: The misspelling is accurate. Do not change the spelling.</p>                                                   |
| [Order Hook Settings for DefaultStore](/salesforce-b2b/1.0-5/integrating-the-digital-river-salesforce-b2b-commerce-app/step-10-create-service-overrides.md#step-10c-create-a-service-override-for-the-order-hook-settings-for-the-defaultstore) | digitalriverb2b.DRB2B\_hk\_Order                                                                                                                                                                |

## Step 10a: Create a service override for the Cart Extension AP I class <a href="#step-10a-create-a-service-override-for-the-cart-extension-api-class" id="step-10a-create-a-service-override-for-the-cart-extension-api-class"></a>

This service override task sets the Shipping Amount to $0.00 for digital products.

To create a service override for the Cart Extension API class:

1. Under **<*****storefront name*****> SETTINGS** on the **CC Admin** tab, click **Carts.**\
   ![](/files/-MS_4hvvy5gf3fATR335)
2. Copy the Extension API Class value from the table above, paste`digitalriverb2b.DRB2B_UpdateCart` in the **Cart Extension API Class** field and click **Save**.

![](/files/-MS_4tquMRyY3IBI8jv1)

## Step 10b: Create a service override for the Tax Calculation API class. <a href="#step-10b-create-a-service-override-for-the-tax-calculation-api-class" id="step-10b-create-a-service-override-for-the-tax-calculation-api-class"></a>

Salesforce B2B Commerce (CloudCraze) does not calculate taxes out-of-the-box (OOTB). Instead, it exposes a Tax Calculation webhook which you must override. This step will implement the new business-specific tax calculations by making a call to Digital River for Tax Calculations to override the Tax Calculation webhook.

To create a service override for the Tax Calculation API class:

1. Click **Tax** under **DEFAULTSTORE SETTINGS**. \
   ![](/files/-MS_5a3qM1cvF41RkZit)
2. Copy the Tax Calculation API Class value from the table above, paste

   &#x20;`digitalriverb2b.DRB2B_CartTaxCaluclation` in the **Tax Calculation API Class** field and click Save.

![](/files/-MS_51_eMVqTdMBHP6Dj)

## Step 10c: Create a service override for the Order Hook settings for the DefaultStore <a href="#step-10c-create-a-service-override-for-the-order-hook-settings-for-the-defaultstore" id="step-10c-create-a-service-override-for-the-order-hook-settings-for-the-defaultstore"></a>

You need to update the CC Order status based on the Digital River Order status. To create a service override for the Order Hookup API class:

1. Click **Orders** under **DEFAULTSTORE SETTINGS**. \
   ![](/files/-MS_5Ixq0w9-4MyJVND7)
2. Copy the Tax Calculation API Class value from the table above, paste

   &#x20;`digitalriverb2b.DRB2B_hk_Order` in the **Order Hook API Class** field and click **Save**.

<div align="left"><img src="/files/-MS_5hPjjmzDAOCq3g_i" alt=""></div>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.digitalriver.com/salesforce-b2b/1.0-5/integrating-the-digital-river-salesforce-b2b-commerce-app/step-10-create-service-overrides.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
