LogoLogo
Connectors
Salesforce B2B Commerce App 1.0
Salesforce B2B Commerce App 1.0
  • Salesforce B2B Commerce App 1.0
  • Introduction
    • How it works
    • What's new in version 1.0
    • Requirements
    • Before you begin
    • Enabling Digital River fulfillments
  • Integrating the Digital River Salesforce B2B Commerce App
    • Step 1: Install the Salesforce B2B Commerce App
    • Step 2: Configure the Salesforce B2B Commerce App
    • Step 3: Add custom Salesforce B2B Commerce App fields to page layouts
    • Step 4: Enable email deliverability
    • Step 5: Import ECCN codes, tax groups, and tax types
    • Step 6. Update the Product Sync settings
    • Step 7: Create a new sharing set
    • Step 8: Set up Digital River fulfillments
    • Step 9: Create page labels
    • Step 10: Create service overrides
    • Step 11: Configure CC Admin settings
    • Step 12: Refresh the configuration cache
    • Step 13: Schedule backend jobs
    • Step 14: Manage permission sets
    • Step 15. Test the Salesforce B2B Commerce App Configuration
  • Support
  • Error log
  • Version number
Powered by GitBook
On this page
  • Step 10a: Create a service override for the Cart Extension AP I class
  • Step 10b: Create a service override for the Tax Calculation API class.
  • Step 10c: Create a service override for the Order Hook settings for the DefaultStore
  1. Integrating the Digital River Salesforce B2B Commerce App

Step 10: Create service overrides

Learn how to create service overrides.

PreviousStep 9: Create page labelsNextStep 11: Configure CC Admin settings

Last updated 4 years ago

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

digitalriverb2b.DRB2B_UpdateCart

Note: This extension setting was deprecated in Salesforce B2B Commerce (CloudCraze) 4.12 and greater and is no longer required.

digitalriverb2b.DRB2B_CartTaxCaluclation

Note: The misspelling is accurate. Do not change the spelling.

digitalriverb2b.DRB2B_hk_Order

Step 10a: Create a service override for the Cart Extension AP I class

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.

  2. Copy the Extension API Class value from the table above, pastedigitalriverb2b.DRB2B_UpdateCart in the Cart Extension API Class field and click Save.

Step 10b: Create a service override for the Tax Calculation API class.

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. Copy the Tax Calculation API Class value from the table above, paste

    digitalriverb2b.DRB2B_CartTaxCaluclation in the Tax Calculation API Class field and click Save.

Step 10c: Create a service override for the Order Hook settings for the DefaultStore

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. Copy the Tax Calculation API Class value from the table above, paste

    digitalriverb2b.DRB2B_hk_Order in the Order Hook API Class field and click Save.

Click Tax under DEFAULTSTORE SETTINGS.

Click Orders under DEFAULTSTORE SETTINGS.

Cart Extension Settings for DefaultStore
Tax Calculation API Class for DefaultStore
Order Hook Settings for DefaultStore