Skip to main content
This page is part of Merchant Account Setup. Back to Library Setup →
Apple Pay collects payment credentials from customers. You’ll also need a payment provider configured in Orchestra to process the transactions.
Requires: Apple Developer Program membership ($99/year) To generate the required data for an Apple Pay eWallet Account, follow the steps below to create and configure your Merchant ID, certificates, and domain verification.

1. Create a Merchant ID

A Merchant ID identifies you as a merchant who is able to accept payments via Apple Pay.
  1. Sign in to your Apple Developer Account
  2. Go to Certificates, Identifiers & Profiles > Identifiers
  3. Click + to add a new identifier
  4. Select Merchant IDs
  5. Enter a description and a unique identifier for your Merchant ID (e.g., merchant.com.example.yourbusiness)
  6. Click Continue, review the details, and then Register

2. Verify Merchant Domain

Apple requires your domain to be verified to ensure that only authorized domains can initiate Apple Pay transactions on behalf of your Merchant ID.
  1. Go back to the Merchant ID page in the developer portal
  2. Under your Merchant ID, click Edit and then Verify Your Domain
  3. Enter the domain name you want to use for Apple Pay (e.g., example.com)
  4. Download the Apple Pay Verification File (apple-developer-merchantid-domain-association)
  5. Upload the file to the .well-known directory on your domain. The full URL should be: https://yourdomain.com/.well-known/apple-developer-merchantid-domain-association
  6. Return to the Apple Developer Portal and click Verify. If the file is hosted correctly, the domain will be verified.
The file must be served over HTTPS without redirects. Download the file only once. Repeated downloads generate new content.
Domain verification is required for Apple Pay to function. Without it, the Apple Pay button will appear but the payment sheet will close immediately when clicked.

3. Create Payment Processing Certificate

This certificate is used by your payment processor to handle payment data securely.
  1. Generate a Certificate Signing Request (CSR) on your machine using OpenSSL:
  1. Go to Certificates, Identifiers & Profiles in the Apple Developer Portal
  2. Select Merchant IDs and click on your Merchant ID
  3. Under Apple Pay Payment Processing Certificate, click Create Certificate
  4. In the Create a New Certificate page, select Choose File under “Upload a Certificate Signing Request” and upload your ~/request.csr
  5. Download the Apple Pay Payment Processing Certificate (apple_pay.cer)
This certificate can also be found and downloaded later under the Apple Pay Payment Processing Certificate section in your Merchant ID.
  1. Move the downloaded file to your working directory (~/) and convert it to PEM:

4. Create Merchant Identity Certificate

This certificate allows your server to authenticate itself to Apple’s servers during payment processing.
  1. Generate a CSR and key file using OpenSSL:
In the prompt, enter your details. The Common Name should match the one used in the previous step. When asked for a password, leave it blank and press Enter.
  1. Go to Certificates, Identifiers & Profiles in the Apple Developer Portal
  2. Select Merchant IDs and click on your Merchant ID (the same one as the previous step)
  3. Under Apple Pay Merchant Identity Certificate, click Create Certificate
  4. In the Create a New Certificate page, select Choose File under “Upload a Certificate Signing Request” and upload your ~/uploadMe.csr
  5. Download the Apple Pay Merchant Identity Certificate (merchant_id.cer)
This certificate can also be found and downloaded later under the Apple Pay Merchant Identity Certificate section in your Merchant ID.
  1. Move the downloaded file to your working directory (~/) and convert it to PEM:

5. Create eWallet Account

After completing the previous steps, you should have the following files in your working directory: When setting up an eWallet Account, use the content of these files as follows:

Testing

Use Apple Pay Sandbox with test cards in Safari on macOS or iOS.

Next Steps

Store eWallet Account

Save your Apple Pay credentials in Orchestra

Apple Pay Guide

Implement Apple Pay in your integration