Configure for Salesforce B2C Commerce {#salesforce-b2c-configuration}
=====================================================================

Configure the cartridge in the `Salesforce` B2C Commerce Business Manager.
After installation, configure the cartridge through the `Salesforce` Business Manager to enable payment processing capabilities.

1. **Base Configuration**

2. Set up the cartridge path in `Salesforce` Business Manager by going to AdministrationSitesManage Sites\[yourSite\]Settings.

   #### Step Result

   For Cartridges, enter *bm_cybs_sfra:int_cybs_sfra:int_cybs_sfra_base:app_storefront_base* and click Apply.

3. **Upload Metadata**

4. Go to the folder *`Cybersource`/metadata/payments_metadata/sites/*.

5. Rename the folder `yourSiteID` with your site ID from `Salesforce` Business Manager.

   #### ADDITIONAL INFORMATION

   This can be found by going to AdministrationSitesManage Sites.

6. Zip the *payments_metadata* folder.

7. Go to AdministrationSite DevelopmentSite Import \& Export and upload the *payments_metadata.zip* file.

8. Import the uploaded zip file.

   #### Step Result

   Upon successful import, this metadata is created:

   * Site Preferences: VisaAcceptance_Core, VisaAcceptance_SecureIntegrationConfiguration, VisaAcceptance_SalesforceDefaultAcceptance_Configuration, VisaAcceptance_ApplePay, VisaAcceptance_Tokenization, VisaAcceptance_DeviceFingerprint, VisaAcceptance_DeliveryAddressVerification, VisaAcceptance_TaxConfiguration, VisaAcceptance_MLE
   * Service: PaymentHttpService
   * Payment Processor
   * Payment Method
   * Jobs: Payment : Decision Manager Order Update, Payment: Refresh Payment Status
     {#salesforce-b2c-configuration_ul_cgn_z31_1kc}
9. As of version 2.0.0, Payer Authentication (including SCA), Decision Manager, and Transaction Type are now grouped under Salesforce Default Acceptance Configuration, and apply to the Salesforce default card form (Direct API) only. Standalone Google Pay preferences have been removed.  
   **Minimum Configuration**

10. Configure the Visa Acceptance Core preferences by going to Merchant ToolsSite PreferencesCustom PreferencesVisa Acceptance Cartridge Configuration and setting these configuration parameters:

    #### ADDITIONAL INFORMATION

    * Enable Visa Acceptance Cartridge: Enable the cartridge.
    * `Cybersource` Merchant ID: The transacting Merchant ID assigned to you.
    * `Cybersource` REST KeyId: The key from your REST API shared secret key.
    * `Cybersource` REST Secret Key: The shared secret from your REST API shared secret key.
    * Commerce Indicator:
      * For eCommerce transactions, use `internet`.
      * When you are using the store for call center transactions only, use `MOTO`.
        {#salesforce-b2c-configuration_ul_rjz_zkn_yhc}
    * **Enable Visa Acceptance Test Endpoints** : Disabled by default. This enables the capture and authorization reversal endpoints (`ServiceFrameworkTest` controller). Use only in a sandbox environment.
    * **Enable Meta Key** : Enable Meta Key for portfolio/account-level key management *(optional).*
    * **Meta Key Portfolio Merchant ID** : The `Cybersource` portfolio/account Merchant ID that owns the Meta Key *(optional)*.
      {#salesforce-b2c-configuration_ul_rdj_mj1_1kc}
    11. **Services**  
        The target endpoints need to be set in your `Salesforce` B2C Commerce environment.
11. Configure the services by going to Merchant ToolsOperationsServicesPayment Credentials and enter the following URLs:

    #### ADDITIONAL INFORMATION

    * Environment: Test URL: https://apitest.visaacceptance.com
    * Environment: Production URL: https://api.visaacceptance.com
      {#salesforce-b2c-configuration_ul_rdj_mj1_1kcde}
12. **Payment Capture Method**

13. Go to Merchant ToolsOrderingPayment Methods, select `CREDIT_CARD`, and verify that the payment processor is `PAYMENTS_CREDIT`.

14. Go to Merchant ToolsSite PreferencesCustom PreferencesSecure Integration Configuration.

    #### ADDITIONAL INFORMATION

    Choose from

    #### ADDITIONAL INFORMATION

    1. `Unified Checkout`
    2. Direct API (default Salesforce payment form)

    #### ADDITIONAL INFORMATION

    `Unified Checkout` might qualify you for PCI-DSS SAQ:A because the card number is collected in secure fields and never resides on your server.  
    If you need access to the card number, select `Direct API`. This option increases your PCI burden.  
    If you select Unified Checkout, please see [Unified Checkout Configuration](/docs/cybs/en-us/isv-plugins/admin/all/na/isv-plugin-o/built-by-us/salesforce-b2c-introduction/salesforce-b2c-opt-config/salesforce-b2c-unified_checkout_options.md "")

#### RESULT

The cartridge is now configured with basic settings.
