Manage Your Payment Processors
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.
You can activate payment processors for all customers or for specific customer groups.
-
Configure your payment processor with the provider.
-
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.
-
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.
-
Obtain a certificate for use with your payment provider.
For some payment providers, a certificate must be sent between the storefront and the payment provider for identification purposes. Obtain this certificate from the payment provider or a third-party vendor.
- Notify Commerce Cloud Support of your certificate, who installs the certificate on your Salesforce B2C Commerce instance.
-
Set up and configure a payment provider account and a sandbox account for
development. (Contact your payment provider for more information.)
-
Configure your payment processor.
- Select site > Merchant Tools > Ordering > Payment Processors for your site.
- On the Payment Processors List page, click New.
- On the New Payment Processor page, enter the ID (for example, Discover_PM).
- Enter an optional description of the payment processor.
- Click Apply.
-
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.
-
To configure a new payment processor, start by obtaining 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.
- Select Administration > Site Development > System Object Types. Click the SitePreferences system object link.
- Click the Attributes Definitions tab.
- 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).
- On the Object Type Site Preferences page, click the Attribute Grouping tab.
- Enter the name of the payment processor you created (for example, Discover_PM) in the ID field.
-
Enter a name in the Name field (for example, Discover payment method) and click
Add.
The ID appears in the list.
- Click Edit beside the attribute grouping you created.
- Click the ellipses (...) to view the available attributes and select the attributes that you created (for example, accountid and accountname).
-
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.
- Select site > Merchant Tools > SitePreferences > Custom Preferences and select the Attribute Group ID that you created.
-
Enter the payment provider's credentials and click
Apply.
You can now use the credentials in your application. You can also access these new settings by selecting site > Merchant Tools > Ordering > Payment Processors. Select the new payment processor and click the Settings tab.
- Implement storefront and backoffice extensions in Studio.
Infocenter Retirement: On June 30, 2023, the Infocenter was retired, and documentation currently hosted on the Infocenter will be published to Salesforce Help, Commerce Cloud Developer Center, and Salesforce B2C Commerce Developer Documentation Resources. For more information, see the release note.