Apple Pay Registration
Apple Pay is a fast, easy, and secure way to pay accepted by over 85% of retailers in the U.S. Apple Pay enables users to add bank and credit cards to their phones for secure payments 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 take a physical card or type in personal information during sales.
Apple Pay functionality is built into our existing platform requiring little-to-no development work, with three easy integration options for embedded payment options like PayFrame and PayFields and contactless payment terminals.
Compatibility
Apple Pay is compatible with Apple devices and browsers. For the best testing experience, use the latest version of Safari.
Note: With the upcoming release of iOS 18 and Apple Pay on the Web Version 15, Apple Pay will be visible and accepted on all devices and third-party browsers, using iPhone, or another supported Apple device (such as Apple Watch) to authenticate the purchase.
The minimum requirements for testing or accepting Apple Pay are:
Domain Registration
As a Referrer, you can register one or multiple Merchants for Apple Pay using the Portal. Domain registration involves providing each Merchant’s web domain to Apple for server call authorization, enabling transaction verification for Apple Pay. Host a file on your website for Apple to verify your domain, ensuring eligibility for Apple Pay integration.
An acceptable Merchant domain for Apple Pay is a public URL with a valid SSL certificate, using a secure HTTPS protocol.
Below, we will guide you through the steps for enabling Apple Pay, including registration and domain whitelisting, for both single-merchant and multi-merchant enablement.
Initiate the Apple Pay Registration.
Configure the Domain(s).
Enter the Domain(s) for Apple Pay.
Register with Apple Pay
1. Initiate the Apple Pay Registration
Follow these steps to initiate the Apple Pay registration for your Merchants domain(s) linked to each Merchant’s website.
Step 1: Access the Payment Methods page from Settings.
Step 2: Click Enable on the Apple Pay panel to initiate the registration process by configuring the domain.
2. Configure the Domain
Here, you’ll need to configure each domain and register it with the Apple Pay service. This is a crucial step in validating the Merchant for future transactions, ensuring the security of both the Merchant and the cardholder.
Apple Pay Domain Configuration Requirements:
Your website URL must be publicly accessible and cannot be set to
localhost
.Your website must begin with
https
& have a valid SSL certificate for secure communication.
Step 1: Download the domain association file: Sandbox | Production
Step 2: Host the file here:
{baseURL}/.well-known/apple-developer-merchantid-domain-association
Result: Once you’ve successfully hosted the domain configuration file and have the domain(s) you need to register with the Apple Pay service, proceed to the Enter Domain section.
3. Enter the Domain(s) for Apple Pay
After completing the steps above, the Apple Pay service will search each website's specific URL path: /.well-known/apple-developer-merchantid-domain-association
for the matching file once the registration is initiated from the Portal.
To begin, follow the steps below:
Bulk Upload (CSV)
Bulk Upload allows you to upload a pre-configured CSV file containing domain and Merchant ID pairings.
The registration system selects and registers each merchant listed in the CSV file upon completing the "Register with Apple Pay" steps.
Tip: Download a sample Bulk Upload CSV file here:
It is recommended to download your true domain registration file from the Portal as it is pre-populated with your portfolio’s Merchant IDs. If there are multiple domains, each domain should be separated and added to each applicable row, as shown in the example below.
Step 1: Select Bulk Upload (CSV) from at the top of the page.
Step 2: Click the Template File Download button for a CSV file to add each applicable domain(s).
Step 3: Add the applicable domain. If there are multiple, add them to each relevant row like the example below:
“domain” | “merchant_id” |
|
---|---|---|
https://abc.com | p1_mer_123abc4d567890efg1h2i34 | |
https://xyz.com | p1_mer_123abc4d567890efg1h2i34 | |
https://123.com | p1_mer_123abc4d567890efg1h2i34 |
Step 4: Using the Template File Upload prompt, upload your completed CSV file to the Portal.
Step 5: Click Continue to proceed to the Register with Apple Pay section.
4. Register With Apple Pay
When you click the Register button shown on the Register with Apple Pay section, each domain registration file uploaded to the provided domain(s) is compared against the domains provided to Payrix. Apple Pay swiftly verifies each domain by cross-referencing files, typically completing the process within seconds.
Result: After registration is completed, you’ll see an on-screen notification 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: #
Domain Validation Check - Registration Verification
To manually validate that the Merchant domain has been properly verified and that Apple Pay is enabled for that Merchant, you can optionally run the following API call shown in the expandable content below:
Apple Pay Registration Failure Messages
Throughout the mass enablement process, you might face issues or errors that could result in one or more of your Merchants being unable to accept Apple Pay transactions.
The following messages pertain to unsuccessful Merchant domain registrations that receive a FAILED
status, outlining specific issues encountered and providing instructions for resolution.
Message | Issue | Troubleshooting Steps |
---|---|---|
Configuration File Not Found | The configuration file for the Merchant's domain is not located where it is expected. |
|
Unexpected Configuration File Contents | The contents of the domain configuration file do not align with the expected contents hosted by the service or are not readable. | Ensure that the domain URL has public, read permissions for the configuration file. |
Domain Configuration Failed. Try Again. | The domain configuration file is missing the required Merchant ID(s), Domain(s), or both from the Bulk Upload CSV file. |
If you’re still having issues here, contact Support for additional assistance. |
Access Denied, Unauthorized | The Merchant domain is not accessible without authorization. | Ensure that reading the configuration file does not require any authorization. |
Timeout | Apple's Merchant Registration API failed to register and verify the domain within the anticipated timeframe. | Retry the registration process from the Apple Pay domains details page, accessible by clicking on a listed Merchant from the Apple Pay Mass Enablement table. |
Bad request | Portal or client sent an invalid request | Escalate the issue to the Support team for further investigation. |
Internal Server Error | Internal server errors that occur either in connection with the Apple registration service or the registration service of this platform. |
|
Integrate Apple Pay Into Your Webpage
Our platform Apple Pay integration offers three methods to display the Apply Pay payment button:
PayFields provides a highly customizable embedded payment form solution.
PayFrame offers a swift integration using the platform-hosted payment form.
The standalone button displays only the embedded Apple Pay button using PayFields.
Manage Your Merchant Apple Pay Registrations
When onboarding new merchants to your portfolio, it is essential to register each one for the Apple Pay service. This dashboard offers a simplified registration process, allowing you to manage registrations seamlessly without causing any interruptions to the operations of previously registered merchants.
The Apple Pay registration table shown in the Payment Method section of Settings, allows you to see a consolidated table of Merchants that have successfully been registered, Merchant IDs, their associated domains, and their Apple Pay enablement status:
Registration Status | Description | Action Button | Description |
---|---|---|---|
Enabled | A successful Merchant domain and Apple Pay registration. | Disable | Disable the Merchant’s Apple Pay registration/availability. |
Pending | Merchant domain and Apple Pay registration is in progress. | n/a | n/a |
Failed | A Merchant domain and Apple Pay registration were unsuccessful. | Re-Try | Re-attempt a registration that received a Failed status and/or Failure message. |
Disabled | Previously successful Merchant registration, for Apple Pay service was successful, but has been or was recently disabled. | Enable | Register a Merchant that has not previously been registered for Apple Pay, or re-register a previously Disabled Merchant Apple Pay registration. |
Apple Developer Apple Pay Error Resources
See a list of Apple Pay error codes that could be returned from the Apple Pay server by visiting the ApplePayErrorCode Apple Developer Documentation.
Payment Data Decryption for Currently Registered Merchants
For Merchants that have registered directly with the Apple Pay payment service through the steps outlined in the Apple Pay Merchant Integration Guide provided in Apple’s developer documentation, you’ll need to decrypt the payment data captured by the service for the Payrix platform to successfully read and accept the payment data when using the /txns endpoint.
To decrypt payment data, follow the steps provided in the Apple Pay Payment token format reference guide.