Apple Pay Standalone Configuration {#salesforce-b2c-apple-pay-standalone}
=========================================================================

To offer Apple Pay outside of `Unified Checkout`, follow these steps to enable Apple Pay in your `Salesforce` B2C Commerce store.
Follow the steps documented [here](https://developer.visaacceptance.com/docs/vas/en-us/apple-pay/developer/ctv/rest/applepay/applepay-cfg.md "") first, before you follow this procedure to enable Apple Pay in your `Salesforce` B2C Commerce store.

1. `Salesforce` Business Manager Configuration

   1. Go to: Merchant Tools \&gt; Site Preferences \&gt; Apple pay.

   2. Check Apple Pay Enabled?

   3. Complete the "Onboarding" form:

      #### ADDITIONAL INFORMATION

      * Ensure the Apple Merchant ID and the Apple Merchant Name values you enter match the settings in your Apple account.
      * Ensure all other fields match your supported `Cybersource` settings.
        * Country Code: Enter the country code for the location of your site. The country code is a two letter ISO 3166 country code (for example, `US`).
        * Merchant Capabilities: Check the box for 3-D Secure, leave the other fields unchecked.
        * Supported Networks: Select the types of payment you support: `Amex`, `Mastercard`, and `Visa` are supported by `Cybersource`.
        * Required Shipping Address Fields: Select the fields that are required on the shipping form. `Cybersource` recommends Email, Name, Phone, and Postal Address.
        * Required Billing Address Fields: Select Name and Postal Address.
          {#salesforce-b2c-apple-pay-standalone_ul_lj4_14n_yhc}
   4. Fill in the Storefront Injection form:

      #### ADDITIONAL INFORMATION

      Select where to display Apple Pay buttons on your site.

   5. Fill in the Payment Integration form:

      #### ADDITIONAL INFORMATION

      * Use Commerce Cloud Apple Pay Payment API? Checked
      * Payment Provider URL:
        * Test: https://apitest.cybersource.com/partner/demandware/payments/v1/authorizations
        * Production: https://api.cybersource.com/partner/demandware/payments/v1/authorizations
          {#salesforce-b2c-apple-pay-standalone_ul_h3d_w4n_yhc}
      * Payment Provider Merchant ID: Enter your `Cybersource` merchant ID.
      * API Version: v1
      * Use Basic Authorization? Unchecked
      * Payment Provider User: Not Applicable
      * Payment Provider Password: Not Applicable
      * Use JWS? == Yes
      * JWS Private Key Alias: Merchant.p12 Key Alias

      #### Step Result

      The private key alias is created when a merchant uploads their .p12 key file (from `Cybersource` self-serve) to Commerce Cloud's `Salesforce` Business Manager Module, Private Keys and Certificates (Administration \&gt; Operations \&gt; Private Keys and Certificates)

   6. Click Submit.

2. Domain Registration in `Salesforce` Business Manager

   1. Go to Merchant Tools \&gt; Site Preferences \&gt; Apple Pay.

   2. Under Domain Registration section

      #### ADDITIONAL INFORMATION

      * In the Apple Sandbox section, click Register Apple Sandbox to register `Salesforce` B2C to the Apple Sandbox account.
      * In the Apple Production section, click on Register Apple Production to register `Salesforce` B2C to the Apple Production account.
3. Transaction Type

   #### ADDITIONAL INFORMATION

Go to Merchant Tools \&gt; Site Preferences \&gt; Custom Preferences \&gt; Apple Pay and choose `Authorization` or `Sale`.
