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
  • Register a client webhook endpoint to set up webhook integration between Salesforce and Digital River
  • Webhook event types
  1. Integrate the Salesforce Lightning app

Step 11: Set up webhooks

Learn how to set up webhooks.

PreviousStep 10: Set up integration between Salesforce and Digital RiverNextStep 12: Configure landed cost

Last updated 2 years ago

Digital River uses to notify the app when events occur.

Register a client webhook endpoint to set up webhook integration between Salesforce and Digital River

To register the Client Webhook Endpoint:

  1. Log in to the .

  2. Go to Webhooks and select Create webhook.

  3. Set up the OAuth Integration and select OAuth as the authentication method.

  4. Complete the following fields:

Field name

Description

Token Endpoint

https://<<SF_OAuth_Access_Token_Endpoint>

Endpoint URL

https://<<SF_My_Domain_Name>>/services/apexrest/digitalriverv3/webhooks/

Client ID

Client Secret

Client Secret of the Connected App "Salesforce DigitalRiver Integration"

Username

Integration User's username

Password

<<IntegrationUserPassword>><<IntegrationUserSecurityToken>>

The Token Endpoint for the Sandbox environment ishttps://test.salesforce.com/services/oauth2/token and https://login.salesforce.com/services/oauth2/token for the Production environment.

The Endpoint URL address named MyDomain URL should be https://example-domain.my.salesforce.com and not the Lightning Force URL https://example-domain.lightning.force.com

Webhook event types

The Digital River Salesforce Lightning app supports the following out of the box (OOTB) webhook events:

  • order.accepted

  • order.complete

  • order.pending_payment

  • order.review_opened

  • order.blocked

  • order.credit_memo.created

  • order.invoice.created

Client Id (Consumer Key) of the Connected App "Salesforce DigitalRiver Integration" which was created in the

Ensure that all the supported Webhook events (Event types) that need to be sent to the configured Endpoint URL are selected (and saved) in the section located in the Digital River .

Event types
Dashboard's webhook section
previous step
webhooks
Digital River Dashboard