LogoLogo
Partner Integrations
Salesforce Lightning B2B Commerce App 1.6
Salesforce Lightning B2B Commerce App 1.6
  • Salesforce Lightning B2B Commerce App 1.6
  • Introduction
    • How it works
    • What's new in version 1.6
  • Upgrading to version 1.6
  • Integrate the Salesforce Lightning app
    • Step 1: Install the Digital River app
    • Step 2: Configure the Digital River app
    • Step 3: Register external services
    • Step 4: Configure DCM logs
    • Step 5: Add custom fields to the page layouts
    • Step 6: Enable email deliverability
    • Step 7: Import ECCN codes, tax groups, and tax types
    • Step 8: Configure and synchronize the products
    • Step 9: Schedule backend jobs
    • Step 10: Set up integration between Salesforce and Digital River
    • Step 11: Set up webhooks
    • Step 12: Configure landed cost
    • Step 13: Manage permission sets
    • Step 14: Configure shipping integration
    • Step 15: Integrating refunds
    • Step 16: Configure the From email address
    • Step 17 (alternative): Integrate the Digital River components into an asynchronous checkout flow
      • Custom components used in the checkout subflows
      • Subflow configuration
        • Configure the delivery method subflow
        • Configure the Checkout Summary subflow
        • Configure the Payment and Billing Address subflow
          • Edit the Payment Method screen
          • Edit the decision elements
          • Link screen components
        • Configure the shipping address subflow
          • Configure the shipping address screen
      • Configure the main checkout flow
    • Step 18 (alternative): Integrate the Digital River components into a synchronous checkout flow
      • Deploy flows using Salesforce Workbench
      • Update the flow nodes in the synchronous checkout flow
        • Create custom variables
        • Delete nodes
        • Connect nodes
        • Modify nodes
        • Add nodes
      • Configure screens for a customized synchronous flow
        • Add custom components to screens in the synchronous checkout flow
        • Configure the Shipping Options screen
        • Configure the Delivery Method Screen
        • Configure the Checkout Summary screen
        • Configure the Payment And Billing Address screen
        • Configure the Place Order Confirmation screen
    • Step 19: Add custom components to pages
      • Drag and drop (custom) components
    • Step 20: Test the Salesforce Lightning app integration
  • Extend the Salesforce Lightning app
    • Extend the Ship From address
    • Extend the webhook framework
    • Configure subscriptions
    • Shipping choice extension point
    • Customer credit
      • addCustomerCreditSourceToCheckout
      • deattachPaymentToCheckout
      • getAmountRemainingforCheckout
      • getCartDetailsById
      • Publishing connector events
    • Tax calculation
    • Overriding Digital River CSS
    • Customizing the Lightning web components
      • Designer attributes
      • Components
        • Buyer info component
        • Tax certificate component
        • DR util component
        • DR Terms component
        • Checkout summary component
        • Hide checkout summary component
        • Order Summary component
        • Place order component
        • Payments component
        • Payment details component
        • Tax identifier component
        • DR compliance component
        • Address details component
        • Offline refund component
  • User guide
    • Regulatory fees
    • Tax certificates
    • Tax identifiers
    • My wallet
    • Customer credit
    • Checkout and order creation
    • Fulfillment/cancellation flow
    • Refunds
    • Offline refunds
    • Invoices and credit memos
  • Support
  • Appendix
    • Custom fields and objects
    • Contact point address
    • Multi-currency support
Powered by GitBook
On this page
  • Configure the General Config settings
  • Configure the Product settings
  • Configure the fulfillment/cancellation settings
  1. Integrate the Salesforce Lightning app

Step 2: Configure the Digital River app

Learn how to configure the Digital River app.

PreviousStep 1: Install the Digital River appNextStep 3: Register external services

Last updated 2 years ago

The Digital River app uses the following settings:

  • General Config

  • Product Sync

  • Fulfillment Config

The General Config tab provides settings to establish secure connections between the Salesforce Lightning app and Digital River. This tab also includes information (for example, Ship From Address**,** DR Default Entity, and DR API Endpoint) that will be used in the requests that will be sent to Digital River.

The Product tab provides the batch job settings for syncing or re-syncing products between Salesforce and Digital River. See for information on how to sync the products.

The Fulfillment tab provides configuration settings for batching fulfillments and cancellations.

Configure the General Config settings

To configure the General Config settings:

  1. Click App Launcher .

  2. Type Digital River App in the Search apps and items field and click Digital River App.

  3. Click the General tab. This tab includes fields for storing information.

  4. Enter the values in the following fields, such as the DR Secret Key, DR Public Key, and other fields to configure the Digital River app.

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

  6. Click Save.

Use the following fields to store configuration information:

DR Secret Key

DR Public Key

DR JS Static Resource

The static resource that points to the DigitalRiver.js file. (Namespace should not be added.)

Example: DRJS

DR CSS Static Resource

The static resource that points to the Digital River CSS file. (Namespace should not be added.)

Example: DRCSS

Connector Notification Email

The email address for notifications or exceptions.

From Address for System Emails

The email address used to send connector notifications and exceptions.

The static resource that points to the client CSS. Example: DROverideCSS

DR Default Entity

Default Digital River selling entity

DR API Endpoint

The Digital River API endpoint. Example: https://apidigitalriver.com

DR API Timeout

The Digital River API timeout value.

DR Environment name

The environment name (for example, Dev, QA, UAT, Production) used in the email subject for system-generated emails.

DR Webhook Retry Interval

The number of seconds to wait before the Webhook handler reprocesses the event. Do not specify a value that is more than 30 seconds.

Ship From Address – Country ISO Code

The country ISO code for the ship from address.

Ship From Address - State ISO Code

The state ISO code for the ship from address.

Ship From Address - Postal Code

The postal code for the ship from address.

Ship From Address - City

The city associated with the ship from address.

Ship From Address - Line

The ship from address.

Ship From Address - Scope

Ship From Address - Provider Name

The name of the Apex class that is responsible for serviceLevel and description information used in the checkout request.

Configure the Product settings

To configure the Product settings:

  1. Click the Product tab.

  2. Enter the value in the Batch Schedule Time and Batch Size fields.

  3. Click Save.

The Product Sync batch job uses the following configuration settings for its schedule and scope size:

Field
Description

Batch Schedule Time

Enter the time in minutes for scheduling the batch job.

Batch Size

Enter the batch scope size. This value should not exceed 100.

Configure the fulfillment/cancellation settings

To configure the fulfillment and cancellation settings:

  1. Click the Fulfillment tab.

  2. Complete the fields and click Save.

Fulfillment uses the following settings.

Field
Description

Valid values are true or false. If true, all Fulfillment/Cancellation Line Item requests will be batched.

Fulfillment/Cancellation Wait Time

Enter the time in minutes for batching fulfillments or cancellations. By default, the wait time is 30 minutes. The connector sends a single fulfillment or cancellation request to Digital River the specified number of minutes after it receives the first LineItem Fulfillment/Cancellation request for an order. If there is more than one request during that time, the connector will batch those requests into a single fulfillment/cancellation request.

.

.

Indicates where to get the ship from address for tax calculation purposes. Choose Default or see for more details.

The Apex class name that is responsible for resolving the Ship From Address information used in the checkout request ().

Test the app's configuration after you .

Provide your Digital River secret key
Provide your Digital River public key
Client Custom CSS Static Resource
Extend the Ship From address
extension point for Ship From Address
Shipping Choice Info - Provider Name
Step 8: Configure and synchronize the products
configure the Product Sync batch job
Batch Fulfillments