Salesforce Lightning B2B Commerce App 1.0

Step 11: Set up webhooks

Learn how to set up webhooks.
Digital River uses webhooks 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. 1.
  2. 2.
    Go to Webhooks and select Create webhook.
  3. 3.
    Set up the OAuth Integration and select OAuth as the authentication method.
  4. 4.
    Complete the following fields:
Field name
Token Endpoint
Endpoint URL
Client ID
Client Id (Consumer Key) of the Connected App "Salesforce DigitalRiver Integration" which was created in the previous step
Client Secret
Client Secret of the Connected App "Salesforce DigitalRiver Integration"
Integration User's username
The Token Endpoint for the Sandbox environment is and for the Production environment.
The Endpoint URL address named MyDomain URL should be and not the Lightning Force URL

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
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 Event types section located in the Digital River Dashboard's webhook section.