LogoLogo
Connectors
Salesforce Lightning B2B Commerce App 1.0.1
Salesforce Lightning B2B Commerce App 1.0.1
  • Salesforce Lightning B2B Commerce App 1.0.1
  • Introduction
    • How it works
  • 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: Integrate the Digital River components into the checkout flow
    • Step 16: Test the Salesforce Lightning app integration
  • Extend the Salesforce Lightning app
    • Extend the ship from address
    • Extend the webhook framework
    • Configure subscriptions
  • User guide
    • Regulatory fees
    • Tax certificates
    • Tax identifiers
    • My wallet
    • Checkout and order creation
    • Fulfillment/cancellation flow
    • Refunds
    • Invoices and credit memos
  • Support
  • Appendix
    • Custom fields and objects
    • Enable or disable US tax certificates
    • Contact point address
    • Multi-currency support
Powered by GitBook
On this page
  • Configure the General Config settings
  • Configure the Product 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 3 years ago

The Digital River app uses two settings:

  • General Config

  • Product Sync

The General Config tab provides information from the app 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 End Point) that will be used in the requests that will be sent to Digital River.

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

Configure the General Config settings

To configure the General Config settings:

  1. Select the Digital River app.

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

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

  4. 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.

The following fields are used to store configuration information:

Label

Description

Connector Notification Email

Email address for notifications or exceptions

DR CSS Static Resource

Static resource pointing to the DigitalRiver.js file (Namespace should not be added.)

Example: DRJS

DR Default Entity

Default Digital River selling entity

DR JS Static Resource

Static resource pointing to the DigitalRiver.js file (Namespace should not be added.)

Example: DRCSS

DR Public Key

Digital River public key

DR Secret Key

Digital River secret key

Ship From Address - City

Ship From Address - City

Ship From Address – Country ISO Code

Ship From Address – Country ISO Code

Ship From Address - Line

Ship From Address - Line

Ship From Address - Postal Code

Ship From Address - Postal Code

Ship From Address - State ISO Code

Ship From Address - State ISO Code

Ship From Address Provider Name

DR API End Point

Digital River API End Point

DR API Time Out

Digital River API Time Out

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.

Fulfillment Retry Limit

The number of times Fulfillment Requests (Order and Line Level) can fail before the status is changed to Failed.

DR Environment name

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

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.

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

Field

Description

Batch Schedule Time

Enter the time (in minutes) for scheduling the batch job.

Batch Size

Batch scope size (maximum value is 100).

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 the batch job configuration.

extension point for Ship From Address
Step 8: Configure and synchronize the products
Product Sync