Associate Merchant Domain
Apple Pay on the web works only on domains associated with the Merchant ID. Apple verifies a domain by checking the domain association file that SuiteSpot hosts after the file is uploaded in the Portal.
Nota
Register the SuiteSpot domain, for example company-xspot.xenial.com. The file does not need to be hosted on the merchant's own website.
Importante
Upload and save the file in the Portal before clicking Verify in Apple. Otherwise, verification fails.
Download the domain association file.
In Apple Developer, open the Merchant ID registered in step 1 in Apply for Merchant Identity Certificate.
Under Merchant Domains, click Add Domain.
Enter the SuiteSpot domain without https:// or a trailing /, for example company-xspot.xenial.com.
Download the file as apple-developer-merchantid-domain-association.txt.
Do not click Verify yet. The file is valid only for the Merchant ID it was downloaded from.
Upload the domain association file.
Upload apple-developer-merchantid-domain-association.txt in Domain Association File, as described in step 12 in Suite Catering | Getting Started. Then return to this procedure.
SuiteSpot serves the file at https://company-xspot.xenial.com/.well-known/apple-developer-merchantid-domain-association.txt.
Check the hosted file.
Run the following command in the folder containing the downloaded file, replacing the example domain:
curl -sS -o hosted-domain-association.txt -w "HTTP %{http_code}\n" https://company-xspot.xenial.com/.well-known/apple-developer-merchantid-domain-association.txt
Confirm that the status is HTTP 200. If the status is HTTP 404, confirm that the file was uploaded and saved on the correct site. In Windows PowerShell, use curl.exe_ instead of _curl.
Compare the hosted file with the downloaded file:
openssl dgst -sha256 hosted-domain-association.txt apple-developer-merchantid-domain-association.txt
Both hash values must be identical. This confirms that SuiteSpot serves the correct file. If they differ, upload the file most recently downloaded for this domain.
Verify the domain.
In Apple Developer, return to Merchant Domains for the Merchant ID.
Click Verify next to the domain.
Confirm that the status changes to Verified.
Repeat steps 1 to 4 for each SuiteSpot domain. Apple Pay works only on verified domains.
Nota
Keep the domain association file in the Portal after verification. Apple can check the domain again, and removing the file can cause the domain to become unverified.