---
schema_version: "1"
id: 944fd1b29e512187256db5273aacb2c6a00439d3d8ae66f3cc2b87f87bce6aa3
title: Manage Payment Processors in B2C Commerce
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/cc/264-0-0/b2c_managing_payment_processors.md
canonical_url: https://help.salesforce.com/s/articleView?id=cc.b2c_managing_payment_processors.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 8a374b6164eef4a78e0f00da80c6ea14403f77a3b5e2bfc258772d071647a6e3
description: Use Business Manager to configure and manage a custom payment processor or use one or more pre-defined processors such as basic credit card, basic gift certificate, Cybersource BML (Bill Me Later), Cybersource Credit, PayPal Credit, PayPal Express, and Verisign credit.
products:
  - Commerce
  - B2C Commerce
release: "264"
---
# Manage Payment Processors in B2C Commerce

Use Business Manager to configure and manage a custom payment processor or use one or more pre-defined processors such as basic credit card, basic gift certificate, Cybersource BML (Bill Me Later), Cybersource Credit, PayPal Credit, PayPal Express, and Verisign credit.

When you create a payment processor, you must define the preferences needed for this payment processor. Obtain these preferences from the payment provider's specifications.

Activate payment processors for all customers or for specific customer groups.

1. Configure your payment processor with the provider.
    1. Set up and configure a payment provider account and a sandbox account for development. (Contact your payment provider for more information.)
        
        To accept payment via certain providers, you must have an account with that provider, for example, PayPal.
    2. Set up the necessary API calls to your payment provider.
        
        Create scripts that interface with the payment provider's API. This is already available for the payment processors.
    3. Obtain a certificate for use with your payment provider.
        
        For some payment providers, send a certificate between the storefront and the payment provider for identification purposes. Obtain this certificate from the payment provider or a third-party vendor.
    4. Notify Salesforce Support of your certificate, who installs the certificate on your Salesforce B2C Commerce instance.
2. Configure your payment processor.
    1. Click App Launcher ![App Launcher](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-cc-b2c_merchandiser_administrator-264-0-0-production-enus/ea76f372-6cfa-42a6-8e7c-05c6df7abed8/cc/b2c_merchandiser_administrator/images/appLauncher.png), and then select **Merchant Tools****Ordering** | **Payment Processors** for your site.
    2. On the Payment Processors List page, click **New**.
    3. On the New Payment Processor page, enter the ID (for example, **Discover\_PM**).
    4. Enter an optional description of the payment processor.
    5. Click **Apply**.
3. Open a payment processor and click the**Settings** tab.
    
    If you have write permission to access settings, you see a _here_ link for both the system object type site preferences and the site custom preferences (if defined).
    
    For a standard or existing custom payment processor, you see the settings. For a new payment processor, continue to the next step.
4. To configure a new payment processor, obtain the required payment method preferences and settings from the payment provider, and create the same attributes in the _SitePreferences_ system object.
    
    You must have write permission to configure system object type attributes. If you have read-only permission, you can view the settings, but you can't change them. This also applies to changes via B2C Commerce API calls.
    
    1. Select **Administration** | **Site Development** | **System Object Types**. Click the **SitePreferences** system object link.
    2. Click the **Attributes Definitions** tab.
    3. Click **New** and create an attribute (for example, create the attributes _accountid_ (integer, mandatory and a minimum of five characters) and _accountname_ (string, mandatory and a minimum of 10 characters).
    4. On the Object Type Site Preferences page, click the **Attribute Grouping** tab.
    5. Enter the name of the payment processor you created (for example, **Discover\_PM**) in the ID field.
    6. Enter a name in the Name field (for example, Discover payment method) and click **Add**.
        
        The ID appears in the list.
    7. Click **Edit** beside the attribute grouping you created.
    8. Click the ellipses **(...)** to view the available attributes and select the attributes that you created (for example, _accountid_ and _accountname_).
5. Add the new attribute group ID as a custom preference.
    
    You must have write permission to configure custom site preferences. If you have read-only permission, you can view the settings, but you can't change them. This also applies to changes via B2C Commerce API calls.
    
    1. Click App Launcher ![App Launcher](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-cc-b2c_merchandiser_administrator-264-0-0-production-enus/ea76f372-6cfa-42a6-8e7c-05c6df7abed8/cc/b2c_merchandiser_administrator/images/appLauncher.png), and then select **Merchant Tools** | **Site****SitePreferences** | **Custom Preferences** and select the Attribute Group ID that you created.
    2. Enter the payment provider's credentials and click **Apply**.
        
        You can now use the credentials in your application. To access these new settings by selecting **site** | **Merchant Tools** | **Ordering** | **Payment Processors**. Select the new payment processor and click the **Settings** tab.
6. Implement storefront and backoffice extensions in Studio.