Step 3: Configure the Salesforce B2B Commerce App

Learn how to configure the Salesforce B2B Commerce App.

Step 3a: Update the General Config Settings

The General Config tab provides information that is used by the app to establish secure connections between the Salesforce B2B Commerce platform and Digital River. This tab also includes information about the default Ship From address that will be used in the requests that will be sent to Digital River.

To update the General Config settings:

  1. Click Digital River App.

  2. Your Digital River Business Development Manager will provide your DR Public Key and DR Secret Key. These keys are unique to your site. For security reasons, the Public key and Secret Key fields will always show up as blank values on the UI screen.

  3. Update the Storefront Base URL Mapping configuration for all the storefronts configured in your Organization. This takes in a comma-separated list of mapping between the Storefront Name and the Storefront Base URL.

    • If your Community Site URL includes the Storefront Name, then this URL should be a combination of Community URL along with its Storefront name. Example of multiple storefronts: {"DefaultStore":"https://example1.force.com/DefaultStore1","DefaultStore3":example3.force.com } Example of a single storefront: {DefaultStore":"https://example1.force.com/DefaultStore1"}

  4. All the remaining fields on this tab can remain the same (OOTB values) or can be updated based on the functionality that needs to be enabled for this Digital River Site. Please check with your Digital River Business Development Manager before updating these values. The default warehouse location can be set by populating the Ship From fields shown on this tab.

  5. Click Save.

  6. Click Test DR Connection to verify whether you can successfully connect with the configured Digital River Salesforce B2B Commerce App site. If there are errors, check your settings and try again.

Note: Do not add a Namespace Prefix to the Static resource file name for the Configurations “DR JS Static Resource Name” and “DR CSS Static Resource Name”.

Step 3b: Update Fulfillment Config settings

The Fulfillment tab provides information that will be used internally by the app during the fulfillment flow and this tab will be removed in future releases. These settings also define when a particular CC Order can be cancelled.

For example, a CC Order can be cancelled only when:

  1. The Digital River Order State on CC Order is accepted or pending_payment or in_review or blocked.

  2. The DR Order Item state on CC Order Items is either created or cancelled.

Do not modify any of these settings as these are used internally by the app.

Fields

Last updated