Step 10: Create service overrides
Learn how to create service overrides.
Last updated
Learn how to create service overrides.
Last updated
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 |
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:
Under <storefront name> SETTINGS on the CC Admin tab, click Carts.
Copy the Extension API Class value from the table above, pastedigitalriverb2b.DRB2B_UpdateCart
in the Cart Extension API Class field and click Save.
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:
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.
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:
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.