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
  1. Integrate the Salesforce Lightning app
  2. Step 17 (alternative): Integrate the Digital River components into an asynchronous checkout flow

Configure the main checkout flow

Learn how to configure the main checkout flow.

PreviousConfigure the shipping address screenNextStep 18 (alternative): Integrate the Digital River components into a synchronous checkout flow

Last updated 2 years ago

To configure the main checkout flow:

  1. Click Setup .

  2. Type Flows in the Quick Find field and click Flows.

  3. Click Checkout Flow Template. The Flow Builder opens in a separate tab.

  4. Create the subflow element for all the custom subflows (for example, the , , , and ) created in the previous steps.

    1. Drag the Subflow element from the left panel to the right panel.

    2. Type the custom subflow name (for example, DR Shipping Address) in the Reference Flow field and click the item (for example, DR Payment and Billing Address) in the search results.

    3. Type the name of the subflow in the Label field (for example, DR Payment and Billing Address).

    4. Type the appropriate value listed in the for the custom subflow in each field. The following example shows the settings for the DR Payment and Billing Address subflow.

    5. Under Set Input Values, toggle cartId, currentState, nextState, orderId (if applicable) to Inlude. Toggle Saved_Tax_Identifier (if applicable) to Don't include.

  5. Replace the OOTB flows with custom flows.

    • Shipping Address: DR Shipping Address

    • Delivery Method: DR Delivery Method

    • Checkout Summary: DR Checkout Summary

    • Payment and Billing Address: DR Payment and Billing Address

  6. Click Save As and enter a name for the main checkout flow.

  7. Click Save, then click Activate.

Subflow settings

Subflow
Settings

DR Shipping Address

Cart Id: {!cartId} Current state: {!mainCheckoutSession.State} Next state: Inventory

DR Delivery Method

Cart Id: {!cartId} Current state: {!mainCheckoutSession.State} Next state: Taxes

DR Checkout Summary

Cart Id: {!cartId} Current state: {!mainCheckoutSession.State} Next state: Cart To Order Saved_Tax_Identifier: {!Saved_Tax_Identifier}

DR Payment and Billing Address

Cart Id: {!cartId} Current state: {!mainCheckoutSession.State} Next state: Activate Order Order Id: {!mainCheckout Session.OrderId}

DR Shipping Address
DR Payment and Billing Address
DR Checkout Summary
DR Delivery Method
subflow settings table