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 Salesforce Business Manager, go to Merchant toolsOrdering > Payment Methods.
  2. In the Payment Methods overview, check the ID column to make sure that AdyenComponent and CREDIT_CARD are enabled.
  3. Under Details, set Payment Processor to Adyen_Component for both types.

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.

  • For v23.1.0 or later, there are two ways to set up Apple Pay:
    • Use Adyen's Apple Pay certificate (recommended): This integration is provided by the Adyen cartridge. This option is a faster way to add Apple Pay to your integration and requires less configuration.
    • Use your own Apple Pay certificate: This integration is provided by Salesforce Commerce Cloud, and you can only enable the Apple Pay express checkout flow.
  • For v22.2.2 or earlier, you can only use your own Apple Pay certificate to set up Apple Pay. This integration is provided by Salesforce Commerce Cloud, and you can only enable the Apple Pay express checkout flow.

To set up Apple Pay using Adyen's Apple Pay certificate, you must have an SFRA integration on v23.1.0 or later.

This integration allows shoppers to checkout with Apple Pay or Apple Pay express, where the Pay button is displayed on the checkout and mini-cart page.

Step 1: Enable Apple Pay

Add Apple Pay in your test Customer Area.

  • You will be asked for Shop websites: your website URLs, for example https://www.mystore.com. If you add more than one, separate them with a comma.
  • You cannot use http://localhost to test.

You don't need to add Apple Pay certificates in the Wallet section.

Apple Pay is set up in your integration after this step, you don't need to set up any additional configurations in your Salesforce .

Step 2 (optional): Set up Apple Pay Express in Salesforce Commerce Cloud

The integration supports Apple Pay express payment method, where the Pay button is displayed on the cart page and mini cart view. To enable Apple Pay Express, configure the following settings in the Salesforce Business Manager:

  1. Go to Merchant Tools > Site Preferences > Adyen Settings > Express Checkout.
  2. Enable Apple Pay Express.

Step 3 (optional): Set up tokenization for Apple Pay

It is possible to tokenize shopper's payment details when accepting payments with Apple Pay. To enable tokenization, configure the following settings in the Salesforce Business Manager:

  1. Go to Merchant Tools > Site Preferences > Adyen Settings > Additional Settings.
  2. Enable Apple Pay tokenization.
  3. Go to Merchant Tools > Site Preferences > Order.
  4. Enable Generate Customer No. for Guest Preferences.

Step 4: Test Apple Pay

Use Apple's test card numbers to test your integration. Refer to Apple Documentation for a full list of test cards and instructions on how to add those to your test device.
You can check the status of an Apple Pay test payment in Customer Area > Transactions > Payments.

Step 5: Go live with Apple Pay

If your cartridge is on v23.2.1 or earlier, you cannot complete the steps to go live in the Salesforce Business Manager. Instead of the steps below, follow the steps to go live with the Component.

To enable Apple Pay in the Live environment, you have to set up the domain association file. This can be done in the Salesforce Business Manager on v23.2.1 or later:

  1. Go to Merchant Tools > Site Preferences > Adyen Settings > Local Payment Methods.
  2. Set the input field for the Apple Pay domain association file.
  3. Go to Merchant Tools > SEO > Aliases.
  4. Define the following alias so that the domain association file is externally accessible in the path specified by Apple:

    The "locale" must be one that is enabled in your sandbox.

Amazon Pay Express

To enable Amazon Pay:

  1. Add Amazon Pay in your test Customer Area.
  2. Register for Amazon Pay.
  3. Create an Amazon Pay Sandbox test buyer account.
  4. Get your PublicKeyId and give information to Adyen.

The integration supports Amazon Pay Express payment method, where the Amazon Pay button is displayed on the cart page and mini cart view. To enable Amazon Pay Express, configure the following settings in the Salesforce Business Manager:

  1. Go to Merchant Tools > Site Preferences > Adyen Settings > Local Payment Methods.
  2. Enable Amazon Pay Express.

Klarna payment widget

Add Klarna in your test Customer Area.

Optionally, you can enable the Klarna payment widget that shows shoppers an embedded widget on the Checkout page instead of a redirect. To enable the Klarna widget, configure the following settings in the Salesforce Business Manager:

  1. Go to Merchant Tools > Site Preferences > Adyen Settings > Local Payment Methods.
  2. Enable Klarna Widget.

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, configure the following settings in the Salesforce Business Manager:

  1. Go to Merchant tools > Site Preferences > Adyen Settings > Card settings.

  2. Select the Enable Credit card installments toggle.

  3. Fill the following fields to configure an installment rule. You can configure a different installment rule for each card type.

    Field Description
    Minimum Amount Set the minimum installment amount for each credit card type.
    Number of Installments Set the number of installments you want to offer for each credit card.
    Allowed Credit Card Types Set the credit card types that you want to allow installments for.
    Select to delete an installment rule.
  4. Select Add Rule.

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

Enable Google Pay in your test Customer Area. You don't need to configure it in the plugin afterwards.

To enable Google Pay in the Production environment:

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

PayPal

To enable PayPal in the Production environment:

  1. Get your PayPal Merchant Id.
  2. (Optional) In the src/cartridges/int_adyen_overlay/cartridge/adyenConstants/paymentMethodDescriptions.js cartridge file, adjust the PayPal payment method description displayed to your shoppers on the checkout page.

On v24.1.0 or later, if you and your shopper are both located in the United States, Venmo will be shown as a payment option. You can hide Venmo if you do not want to offer it as a payment method to your shoppers.

Next steps