# General workflow

## Install the connector cartridges <a href="#install-the-connector-cartridges" id="install-the-connector-cartridges"></a>

The Salesforce B2C LINK Cartridge package contains five cartridges.&#x20;

These cartridges provide the [Drop-in functionality](https://docs.digitalriver.com/digital-river-api/payment-integrations-1/drop-in) for Storefront Reference Architecture (SFRA):

* [bm\_digitalriver](https://app.gitbook.com/@digital-river/s/salesforce-b2c-draft/~/drafts/-MPjXhMIoSRjoBcAnaPW/v/2.0.0/general-workflow#bm_digitalriver)
* [int\_digitalriver](https://app.gitbook.com/@digital-river/s/salesforce-b2c-draft/~/drafts/-MPjXhMIoSRjoBcAnaPW/v/2.0.0/general-workflow#int_digitalriver)
* [int\_digitalriver\_sfra](https://app.gitbook.com/@digital-river/s/salesforce-b2c-draft/~/drafts/-MPjXhMIoSRjoBcAnaPW/v/2.0.0/general-workflow#int_digitalriver_sfra)

These cartridges provide webhooks and customer credit functionality:

* [int\_digitalriver\_webhooks](#int_digitalriver_webhooks)
* [int\_digitalriver\_customercredit](#int_digitalriver_customercredit)

### bm\_digitalriver <a href="#bm_digitalriver" id="bm_digitalriver"></a>

The Business Manager extension cartridge:

* Communicates with Digital River services and reports if they are up or down. These include static requests that use the REST API to send a payload to the Digital River services. Check the response to see if the service returns an expected successful response.
* Gives permission to execute jobs. The text label on the job status button indicates the job can be launched or that it is being executed. See section [Business Manager Roles & Permissions](https://docs.digitalriver.com/salesforce-b2c-link-cartridge/salesforce-b2c-link-cartridge-2.3/configure-the-salesforce-b2c-link-cartridge#business-manager-roles-and-permissions) about adding the context menu item to a role.

### int\_digitalriver <a href="#int_digitalriver" id="int_digitalriver"></a>

This integration cartridge contains API integrations that form requests, parse responses, and updates objects.

### int\_digitalriver\_sfra <a href="#int_digitalriver_sfra" id="int_digitalriver_sfra"></a>

This integration cartridge delivers adjustments and extensions to existing storefront functionality.&#x20;

<div align="left"><img src="https://1926156059-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MNZuSC5d0FqUtV9sJdb%2F-Md2ov6OeMGsjAIZNCDr%2F-Md2rdENkzFjlYosryIU%2FCARTRI_1.png?alt=media&#x26;token=5c39634f-903e-4b26-a95b-4a0b4f37f497" alt=""></div>

### int\_digitalriver\_webhooks

This integration cartridge processes Digital River API webhook requests and optionally sends email notifications.

### int\_digitalriver\_customercredit

This integration cartridge processes Digital River API customer credit requests.

## Checkout flow

The following sequence diagram shows the checkout interaction between the Shopper, Salesforce B2C Commerce, the Salesforce B2C Commerce App, and Digital River.

{% file src="<https://1926156059-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGpPoj8pzLX40MysVRRZJ%2Fuploads%2FqJBjK09nRm8ttfn1dh1x%2FsalesforceB2C_chkout_sequencediagram-v2.1_v2.2.png?alt=media&token=c03c8b19-b713-4465-9cb5-bf6ef1231968>" %}
SalesforceB2C\_sequencediagram-V2.1.png
{% endfile %}

## US tax exemption flow <a href="#privacy-and-payments" id="privacy-and-payments"></a>

The following sequence diagram shows the US tax exemption interaction between the Shopper, Salesforce B2C Commerce, the Salesforce B2C Commerce App, and Digital River.

{% file src="<https://1926156059-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGpPoj8pzLX40MysVRRZJ%2Fuploads%2FnxmCk30ifX5kGjaqyF5F%2FSalesforceB2C_USTaxExemptionFlow-2.1.png?alt=media&token=9ae0bdf9-7147-4b32-a6ae-5a84074f7de3>" %}
SalesforceB2CUSTaxExemptionFlow-2.1.png
{% endfile %}

## Tax identifier flow

The following sequence diagram shows the tax identifier interaction between the Shopper, Salesforce B2C Commerce, the Salesforce B2C Commerce App, and Digital River.

{% file src="<https://1926156059-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MNZuSC5d0FqUtV9sJdb%2F-Mb8ixeppqIZBlPsCagR%2F-Mb8jnlUsNooZEmImi7s%2FsalesforceB2C_TaxIdentifierFlow-2.1.png?alt=media&token=b6f3a8bf-cf0c-4ac1-9bae-0b467de681bd>" %}
SalesforceB2C\_TaxIdentifierFlow-2.1.png
{% endfile %}

## Customer credit flow

The following sequence diagram shows the interaction of the customer credit functionality with the Shopper, Salesforce B2C Commerce, the Salesforce B2C Commerce App, and Digital River.

{% file src="<https://1926156059-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGpPoj8pzLX40MysVRRZJ%2Fuploads%2FcC1I0UicM0jvoFzmAdFV%2FsalesforceB2C_CustomerCreditFlow-2.2.png?alt=media&token=744c1730-f0df-4120-bd19-4c18c6866b60>" %}

## Privacy and payments <a href="#privacy-and-payments" id="privacy-and-payments"></a>

This cartridge accesses customer profile data to send the SFCC Customer ID and email to Digital River.

Digital River provides Payment Card Industry (PCI) compliance, tokenization, and fraud screening through an API reference (Digital River is a Level 1 PCI-compliant service provider).

Enter payment information at checkout to interact with secure payment fields—DigitalRiver.js provides the secure fields within a Salesforce-hosted page; Digital River never redirects a shopper to another page.

When brands use this cartridge on their Salesforce store, Digital River:

* Provides payment methods
* Validates card data
* Tokenizes customer information
* Performs fraud screening
* Collects sensitive card data
* Processes transactions in a manner that is fully compliant with the Payment Card Industry Data Security Standards (PCI DSS).

Customer payment data is stored on Digital River’s secure servers, never on Salesforce servers.

For additional privacy information, contact your Digital River Account Manager.
