LogoLogo
Partner Integrations
Salesforce Lightning B2B Commerce App 1.3
Salesforce Lightning B2B Commerce App 1.3
  • Salesforce Lightning B2B Commerce App 1.3
  • Introduction
    • How it works
    • What's new in version 1.3
  • Upgrading to version 1.3
  • 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
  • User guide
    • Regulatory fees
    • Tax certificates
    • Tax identifiers
    • My wallet
    • Customer credit
    • Checkout and order creation
    • Fulfillment/cancellation flow
    • 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
  3. Subflow configuration

Configure the Payment and Billing Address subflow

Learn how to configure the Payment and Billing Address subflow.

PreviousConfigure the Checkout Summary subflowNextEdit the Payment Method screen

Last updated 2 years ago

You need to configure the payment subflow to add My Wall and Digital River payment support. To configure the Payment and Billing Address subflow:

  1. Click Setup .

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

  3. Scroll down and click Subflow - Payment and Billing Address. The Flow Builder opens in a separate tab.

  4. Drag the Screen element from the left pane and drop it in the right pane.

  5. Type placeOrderConfirmation in the Label field on the Edit Screen dialog.

    1. Type drb2b_paymentDetails in the Search Components field and click drb2b_paymentDetails.

  6. Drag drb2b_paymentDetails to where you want it to appear on the Edit Screen.

  7. Enter the following values in the fields:

    • API Name: Type paymentDetails or any other name with no restrictions.

    • Auto Initialize: {!$GlobalConstant.True}

    • Cart Id: Type {!cartId}.

  8. Type drb2b_orderSummary in the Search components field and click drb2b_orderSummary.

  9. Drag drb2b_orderSummary to where you want it to appear on the Edit Screen.

  10. Enter the following values in the fields. Be sure to click through all designer attributes to ensure that the default values are registered by Salesforce.

    • API Name: Type orderSummary or any other name with no restrictions.

    • Auto Initialize: Type {!$GlobalConstant.False} or {!$GlobalConstant.True} (default value).

    • ByPass Validation: Type {!$GlobalConstant.False} or {!$GlobalConstant.True} (default value). Note: Set the value to {!$GlobalConstant.False} whenever you want to use the drb2b_drTermComponent on the Place Order page. See for more information.

    • Place Order: Type {!$GlobalConstant.False} or {!$GlobalConstant.True} Use this to control the executing order placement logic of mutiple components.

      If there is more than one drb2b_orderSummary component on the page, set the Place Order attribute to True for one component and set the rest of the order summary components to False. If there is only one drb2b_orderSummary component on the page, make sure to keep the Place Order attribute set to True (the default value).

    • Record Id: Type {!cartId}.

    • Show All: Type {!$GlobalConstant.True}.

    • Show Duty: Type {!$GlobalConstant.True}.

    • Show Grand Total: Type {!$GlobalConstant.True}.

    • Show IOR Tax: Type {!$GlobalConstant.True}.

    • Show Place Order: Type {!$GlobalConstant.True}.

    • Show Promotion: {!$GlobalConstant.True}

    • Show Regulatory Fee: Type {!$GlobalConstant.True}.

    • Show Shipping: Type {!$GlobalConstant.True}.

    • Show Subtotal: Type {!$GlobalConstant.True}.

    • Show Tax: Type {!$GlobalConstant.True}.

  11. Type drb2b_drTermsElement in the Search components field and click drb2b_drTermsElement.

  12. Enter the following details. Be sure to click through all designer attributes to ensure that the default values are registered by Salesforce.

    • API Name: Type DR_Terms (or any other name with no restrictions).

    • Auto Initialize: {!$GlobalConstant.True}

    • Cart Id: Type {!cartId}.

    • Bypass Validation: Type {!$GlobalConstant.True} or{!$GlobalConstant.False}. By default, this value should be False. See for more information.

    • Hide Terms UI: {!$GlobalConstant.False}

  13. Type drb2b_drUtil in the Search components field and click drb2b_drUtil .

  14. Drag drb2b_drUtil to where you want it to appear on the Edit Screen.

  15. Type drb2b_Util or any other name with no restrictions in the API Name field.

  16. Click Done.

To continue editing the Payment and Billing Address subflow, see:

Edit the Payment Method screen
Edit the decision elements
Link the screen components
DR terms component
DR terms component