Apple Pay is a fast and secure way to pay and is accepted by over 85% of retailers in the US. This payment method enables users to add bank and credit cards to their phones for secure payment at stores. Card numbers are converted to unique, secure numbers stored on the phone's chip for safer transactions. Apple Pay replaces the need for customers to carry a physical card or enter personal information during sales.
Apple Pay functionality is built into the Payrix Pro platform and requires little-to-no development work. We offer three integration options for embedded payment options like PayFrame, PayFields, and contactless payment terminals.
Set Up Apple Pay for Testing
To test and accept Apple Pay, you must do the following:
Meet the minimum requirements and guidelines for using Apple Pay on websites.
Use devices compatible with Apple Pay, such as Apple devices, Windows devices, and other devices in third-party browsers.
Add at least one credit or debit card to the cardholder’s Apple Wallet.
Complete domain registration for each web domain where Apple Pay will be offered.
Complete Domain Registration
As a partner, you can register one or multiple merchants for Apple Pay using the Payrix Pro Portal. Domain registration involves providing each merchant’s web domain to Apple for server call authorization, enabling transaction verification for Apple Pay.
An acceptable merchant domain for Apple Pay is a public URL with a valid SSL certificate that uses a secure HTTPS protocol. Host a file on your website for Apple to verify the domain, ensuring eligibility for Apple Pay integration.
The following sections describe the steps for enabling Apple Pay, including registration and domain whitelisting, for both single-merchant and multi-merchant enablement:
Initiate Apple Pay Registration
To initiate the Apple Pay registration for merchant domains linked to each merchant’s website:
Select Settings under Admin in the main side bar.
Select Payment Methods in the Business Details box of the Business Settings section.
Click Enable under Apple Pay to initiate the registration process.
Configure Merchant Domains
To register your merchant domains with the Apple Pay service, you first need to configure each domain. This is a crucial step in validating the merchant for future transactions, ensuring both merchant and cardholder security.
To configure merchant domains for the Apple Pay service:
Click Download to download the domain association file. You can also manually download the required Apple Pay domain registration file for your environment using the following links:
Host the file on your domains at the following endpoint:
{baseURL}/.well-known/apple-developer-merchantid-domain-associationImportant!
You must meet the following Apple Pay domain configuration requirements:
Your website URL must be publicly accessible and cannot be set to
localhost.Your website must begin with
httpsand have a valid SSL certificate for secure communication.
Visit each domain being registered to test if the file automatically downloads with the contents matching the original file downloaded from step 1.
Click Continue to proceed to the Enter Domain section.
The Apple Pay service searches each website’s specific URL path (/.well-known/apple-developer-merchantid-domain-association) for the matching file after registration is initiated from the Payrix Pro portal.
Provide the Domains for Registration
To provide the domains that you want to register for Apple Pay, upload a preconfigured CSV file containing domain and merchant ID pairings. The following sections explain how to download a CSV template, enter the domains and merchants for registration, and upload the CSV file.
Determine Merchant Domain Configurations
Consider how your Apple Pay setup is structured before providing the merchants’ domains. Apple requires each domain that processes Apple Pay payments is linked with the correctly registered merchant ID. The following table outlines common domain and merchant configurations to help you determine which domains to register:
Registration Use Case | Description | Example |
|---|---|---|
One Merchant, One Domain | One merchant processes Apple Pay on one domain. This is the most straightforward setup and requires a single domain to be registered to one merchant ID. | Merchant A uses checkout.example.com to process Apple Pay payments. |
One Merchant, Multiple Domains | One merchant uses Apple Pay across multiple domains. You must register the merchant ID to multiple or all domains to allow payment session verification of the domain against the Apple Pay service’s approved domain list. | Merchant A uses shop.example.com, pay.example.com, and checkout.example.com to process Apple Pay payments. |
Multiple Merchants, One Domain | Merchants share a domain for payment processing. You must register each merchant ID with the same domain to prevent Apple Pay from rejecting transactions due to mismatched IDs. | Merchants A, B, and C use checkout.example.com to process Apple Pay payments. |
Your domain registration file can include a variety of registration scenarios. The following table provides an example of how domains and merchant IDs can be linked:
domain | merchant_id |
|---|---|
shop.example.com | p1_mer_123abc4d567890efg1h2i34 |
pay.example.com | p1_mer_123abc4d567890efg1h2i34 |
checkout.example.com | p1_mer_123abc4d567890efg1h2i34 |
checkout.example.com | p1_mer_234bcd5e678901fgh2i3j45 |
checkout.example.com | p1_mer_345cde6f789012ghi3j4k56 |
In this scenario, one merchant is using one domain, one merchant is using multiple domains, and multiple merchants are using one domain.
Upload the CSV File
To upload a CSV file containing your merchant domains for registration:
Click Template File Download to download a CSV file for adding each applicable domain.
Open the downloaded CSV file and modify the file:
In the domain column, enter the merchant domains where your domain configuration file is hosted.
Important!
Remove the
https://scheme from any domain column values in your CSV file. Domains that include this scheme fail the registration process.Enter the merchant IDs for the associated merchants that you want to enable for each domain.
See the Determine Merchant Domain Configurations section for a detailed explanation and example of a configured CSV file.
Upload your configured CSV file.
Click Continue to proceed to the Register with Apple Pay section.
Register the Domains with Apple Pay
Click Register to validate your domains with Apple and complete the Apple Pay registration.
The registration system compares each domain registration file uploaded to the provided domains against the domains provided to Payrix Pro. Apple Pay verifies each domain by cross-referencing files, which completes within seconds.
After completing registration, an on-screen notification is displayed based on your method of enablement:
Merchant registration process is complete.
Your Merchants are now able to start accepting Apple Pay payments.
Enabled: # | Failed: # | Pending: #
See Manage Your Merchant Apple Pay Registrations for information about managing each registered merchant and their domains.