Are you looking for test card numbers?

Would you like to contact support?

No momento, esta página não está disponível em português
Plugin icon

Set up payment methods

Configure the payment methods that you want to offer in your Salesforce Commerce Cloud store. 

Most of the supported payment methods function out of the box once you have added them to your Customer Area. On this page you can find the instructions for setting up the payment methods that require extra steps to enable.

Before you begin

After the metadata import, Adyen has been added as the payment processor for credit cards and for the local payment methods that have been set up for your merchant account.

To make sure that this has been set up correctly:

  1. In the Business Manager, go to Merchant toolsOrdering > Payment Methods.
  2. In the ID column, check that Payment Processor is set to Adyen_Component.   

Arrange payment methods

Payment methods are shown based on a shopper's order amount, currency and shipping country. The order in which the payment methods are displayed to shoppers can be changed per country in the Customer Area:

  1. Go to Settings > Checkout Settings.
  2. Drag the payment methods in the order that you want to display them.

Apple pay

Salesforce Commerce Cloud provides the integration with Apple Pay on the Web, where Adyen is used as one of the payment facilitators to accept Apple Pay tokens and process them. As the integration is provided by Salesforce Commerce Cloud, not by the Adyen cartridge, you need to set up Apple Pay using your own Apple Pay certificate.

Step 1: Enable Apple Pay

Before you begin to set up Apple Pay on the Web, make sure that we have your Apple merchant identifier and payment processing certificate.

Refer to Enable Apple Pay and follow the instructions to:

  1. Create your merchant identifier.
  2. Enable Apple Pay capabilities.
  3. Create a payment processing certificate.

You do not need to complete Steps 4 and 5 on the Enable Apple Pay page.

Step 2: Set up Apple Pay in Salesforce Commerce Cloud

  1. In the Business Manager, go to Merchant Tools > Site Preferences > Apple Pay.

  2. In the Payment integration section, fill in the following fields:

    FieldDescription
    Apple Pay Enabled?Select the checkbox.
    Apple Merchant IDEnter your Apple Merchant ID (configurable in https://developer.apple.com/).
    Apple Merchant NameYour business name, for example COMPANY INC.. This name will be visible in the Apple Pay payment sheet.
    Country CodeEnter your Country Code.
    Merchant CapabilitiesSelect 3DS.
    Supported NetworksSelect the supported networks.
    Redirect Pages to HTTPS?Select the checkbox.
    Use Commerce Cloud Apple Pay Payment API?Select the checkbox.
    Payment Provider URLUse https://pal-test.adyen.com/pal/adapter/Demandware/authorise for Test or https://pal-live.adyen.com/pal/adapter/Demandware/authorise for Live.
    Payment Provider Merchant IDEnter your Adyen Merchant Account name.
    API VersionSelect the latest.
    Use Basic Authentication?Select the checkbox.
    Payment Provider User

    Your API credential (ws@Company.[YourCompanyAccount]) from the Adyen Customer Area. You can find this under Account > API credentials.

    Payment Provider Password

    Your API credential password from the Adyen Customer Area. You can find this under Account > API credentials, by selecting the credential:

    ws@Company.[YourCompanyAccount]

    Use JWS?Leave it unselected.
    JWS Private Key AliasLeave it empty.
  3. Register Apple Sandbox/Production domain on the Domain Registration section of Salesforce Commerce Cloud.

  4. In the Business Manager, go to Merchant Tools > Ordering > Payment Methods > DW_APPLE_PAY and set Payment Processor to Adyen_Component.

Step 3: Install the Salesforce Commerce Cloud Apple Pay plugin

  1. Make sure you have access to the Salesforce Commerce Cloud GitHub community.
  2. Download the Apple Pay cartridge (plugin-applepay) from the Salesforce Commerce Cloud GitHub repository.

    If you get a 404 error, double-check your access to the Salesforce Commerce Cloud GitHub community.

  3. In the Business Manager, install the Salesforce Commerce Cloud Apple Pay cartridge that you downloaded.
  4. Add plugin_applepay after int_adyen_overlay to your cartridge path.
  5. Remove the hooks.json file from inside the plugin_applepay cartridge, or customize the file to suit your use case.

For any questions regarding this integration, contact Salesforce Commerce Cloud directly.

Credit card installments

Credit card installments are optionally available in some countries. To learn more about their availability, see Credit card installments.

To configure credit card installments:

  1. Go to our Github link for Salesforce Commerce Cloud to create the required configuration value.
  2. In the Business Manager, go to Merchant tools > Site Preferences > Custom Preferences and enter the created value into the Credit Card Installments field. Leave the field empty if you're not using installments.

Gift cards

If you want to accept gift card payments, contact our Support Team.
Once our team confirms that gift card payments have been set up for you account, you can start to accept gift cards in your checkout.

Google Pay

Google Pay is enabled by default the Test environment.

To enable Googlepay in the Production environment:

  1. Get your Google Merchant Id.
  2. In the Business Manager, go to Merchant tools > Site Preferences > Custom Preferences > Adyen.
  3. Set your value for Google MerchantID.
  4. Select Save.

PayPal

PayPal is enabled by default the Test environment.

To enable PayPal in the Production environment:

  1. Get your PayPal Merchant Id.
  2. In the Business Manager, go to Merchant tools > Site Preferences > Custom Preferences > Adyen.
  3. Set your value for PayPal MerchantID.
  4. Select Save.

Próximas etapas