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

Upgrading to version 1.6

Learn how to upgrade from previous version to version 1.6.

PreviousWhat's new in version 1.6NextIntegrate the Salesforce Lightning app

Last updated 1 year ago

Use the following instructions to upgrade from a previous version of the Digital River app for Salesforce Lightning to version 1.6. If installing a new version of this app, see for instructions.

Note: If upgrading from version 1.1 or later, you only need to perform Steps 1, 7, and 8.

  1. Install the latest version of the Salesforce Lightning app as described in . Note: A known Salesforce bug for setting default values on designer attributes exists. You can work around this by clicking through all designer attributes and Saving whenever you add a new component to a screen. You should do this when upgrading to a new connector version, especially if a particular component is not rendering.

  2. Update the Shipping Address subflow described in . Note: We added some additional actions and components to this app version.

  3. Update the Payments and Billing subflow described in as follows:

    1. Remove the Payment_Details resource. You can leave it as is, but it will no longer be used.

    2. Add the db2b_paymentDetails component to the placeOrder screen.

  4. from the Webhooks page on the . See for complete instructions.

  5. Add a new picklist value called partially_cancelled to the DR_Order_Item_State__c field on the OrderItem object.

  6. Add the following new picklist values to the DR_Order_State__c field on the Order object:

    1. cancelled_by_dr

    2. cancelled_by_sf

    3. salesforce_failure

  7. Update the Key value for the Connector Version to version 1.6/3.31. Use the following instructions:

    1. Click Setup and select Setup from the drop-down list.

    2. Type Custom Metadata Types in the Quick Find field and then click Custom Metadata Types. The Custom Metadata Types page appears with the All Metadata Types list.

    3. Locate the DR Connector Configuration metadata type from the lists (Label) and click the Manage Records action next to that type selection.

    4. Find the Connector Version setting (Label) on the DR Connector Configurations page. Click Edit next to the Connector Version setting.

    5. Update the Key value for the Connector Version to the version mentioned at the beginning of this step or as instructed by your project manager.

    6. Click Save after you have finished updating the version number and have made all other listed changes. Return to the Home page.

  8. If you sell to businesses, you must collect the Organization Name of the business in your UI. If you sell to individuals, skip this step. Add the Buyer Organization Name to your user interface. This component's API Name is Buyer_OrganizationName__c on the . Collect this field's information on the user interface screen where you collect the Purchase Type from the shopper. This is typically done on the Shipping Address screen. If you use the drb2b_buyerInfo component, this field has already been added. If you do not use that component, add a new field to your user interface to collect the Organization name. See for more details.

Install the Digital River app
Step 1
Configure the shipping address subflow
Configure the Payment and Billing Address subflow
Enable the order.cancelled event
Digital River Dashboard
Step 11
WebCart object
Buyer info component