LogoLogo
Connectors
Salesforce Lightning B2B Commerce App 1.1
Salesforce Lightning B2B Commerce App 1.1
  • Salesforce Lightning B2B Commerce App 1.1
  • Introduction
    • How it works
    • What's new in version 1.1
  • Upgrading to version 1.1
  • 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: Integrate the Digital River components into the checkout flow
      • Custom components used in the checkout subflows
      • Subflow configuration
        • Starter subflows
        • Configure the shipping address subflow
          • Configure the shipping address screen
        • 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 main checkout flow
      • Add custom components to pages
        • Drag and drop (custom) components
    • Step 18: 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
    • Overriding Digital River CSS
    • Customizing the Lightning web components
      • Designer attributes
      • Components
        • Buyer info component
        • Tax certificate component
        • DR terms component
        • DR util component
        • Hide checkout summary component
        • Place order 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. Extend the Salesforce Lightning app

Configure subscriptions

Learn how to configure the Digital River app for subscriptions.

PreviousExtend the webhook frameworkNextShipping choice extension point

Last updated 2 years ago

Configuring the Digital River app for subscriptions requires you to perform a few additional steps. You must identify for each Cart Item object whether the product is a subscription with additional relevant information as described below. You should create a trigger, flow, or other mechanism to automate the population of this data as Cart Items are added to the Cart.

Configuring the Digital River app for subscriptions requires you to perform a few additional steps. You must identify for each object whether the product is a subscription with additional relevant information as described below. You should create a trigger, flow, or another mechanism to automate the population of this data as Cart Items are added to the .

The Digital River app will identify whether a product is a subscription by the value in the Recurring Line Item field (API name: digitalriverv3__Recurring_Line_Item__c) which is on object.

When the Recurring Line Item field value is true, it indicates the product is a subscription. If the Recurring Line Item field value is false, it indicates the product is not a subscription.

You will need to populate the Recurring Line Item field accordingly so that the app can identify whether a product is a subscription. If the field is not populated, the application will treat the product as a non-subscription.

The application will optionally allow you to specify the subscription's startTime and endTime. The following information is included in the subscriptionInfo field and sent across to Digital River during the API call:

  • If the startTime and endTime are specified, then this information will be included in the subscriptionInfo block.

  • If only the endTime is specified but not the startTime, then the app will default the startTime to the current date/time.

  • If the endTime is not specified, then both the startTime and endTime are not included in the subscriptionInfo block.

Finally, the following optional fields are available to be populated on the Cart Item. If specified, the values will be sent to Digital River.

Field
Description

freeTrial

This field has a true or false value that indicates whether a is being offered.

subscriptionId

This field can be used to supply the client's (if applicable).

create checkout
free trial period
subscription identifier
Cart Item
Cart
Cart Item