LogoLogo
Connectors
Salesforce Lightning B2B Commerce App 1.0.1
Salesforce Lightning B2B Commerce App 1.0.1
  • Salesforce Lightning B2B Commerce App 1.0.1
  • Introduction
    • How it works
  • 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: Integrate the Digital River components into the checkout flow
    • Step 16: Test the Salesforce Lightning app integration
  • Extend the Salesforce Lightning app
    • Extend the ship from address
    • Extend the webhook framework
    • Configure subscriptions
  • User guide
    • Regulatory fees
    • Tax certificates
    • Tax identifiers
    • My wallet
    • Checkout and order creation
    • Fulfillment/cancellation flow
    • Refunds
    • Invoices and credit memos
  • Support
  • Appendix
    • Custom fields and objects
    • Enable or disable US tax certificates
    • Contact point address
    • Multi-currency support
Powered by GitBook
On this page
  1. Integrate the Salesforce Lightning app

Step 14: Configure shipping integration

Learn how to configure shipping integration.

PreviousStep 13: Manage permission setsNextStep 15: Integrate the Digital River components into the checkout flow

Last updated 2 years ago

Digital River uses digital and physical products. The custom object Digital River Tax Mapping stores all the Tax Groups, Tax Types, Tax Codes, and Product Type information. Every Product/SKU in Salesforce should be associated with a Tax Code for the Product to be synced to Digital River.

When the tax code (using Tax Group and Tax Type) is set on the Product, Digital River uses the specified Tax code value to classify a product as either physical or digital. This classification determines the address requirements for any orders with this SKU. Whether the product is classified as physical or digital also is used in the , which affects how taxes are calculated and whether tax identifiers are applicable.

The DR Checkout Type custom field on the Cart object indicates whether a particular cart is digital or non-digital (physical or mixed).

  • Digital cart contains only digital products.

  • Physical cart contains only physical products.

  • Mixed cart contains a combination of digital and physical products.

Digital products should not have shipping costs associated with them.

Shipping/delivery methods/options

As part of shipping integration, the shipping and delivery methods should not be displayed for digital carts. If the shipping and delivery methods are displayed, they should contain only a $0 option.

Shipping option for a digital cart

This screenshot contains only the $0 shipping option for a digital cart.

Shipping option for a non-digital cart

This screenshot includes more shipping options for a non-digital cart.

A sample Shipping Integration class (DRB2B_ShippingSample.txt) has been provided for testing purposes.

determination of the selling entity
17KB
DRB2B_ShippingSample.txt