Establish a connection with Apple Pay
Sign the certificates

You will need to contact our Support team to enable Apple Pay on your Trust Payments account. You will be asked to provide the following information as part of this process:
- Your site reference(s).
- The domain of your payment page.
- Your Apple Pay Merchant ID(s).
- Your Webservices Username.

The Support team will return two certificates per Merchant ID (in CSR format), and you will need to follow the steps below for each Merchant ID to enable Apple Pay on your account.
Preparing the Payment Processing Certificate

Sign into the Apple Developer Center:





Preparing the Merchant Identity Certificate




Contact Support with the certificates
- Having followed the steps above, you should now be in possession of two Apple Pay certificates (two CER files).
- Compress these two files into a single .zip file, attach this to an email and send it on to our Support team ([email protected]).
- Once Support have received the certificates and have confirmed this by email, you can proceed with the next steps.
You must ensure you send the certificates in a .zip file when emailing Support.
Validate your domain

Apple requires that your domain is validated before payments can be processed. This can be completed by signing in to the Apple developer portal and following the instructions below.



The next page is titled “Verify”. Click “Download” to download the validation file for the domain that is to be validated.
Notes:
- Each time you click “Download”, Apple generates a new validation file. (The same file cannot be downloaded multiple times)
- Once a validation file has been generated, you will have 24 hours to verify the domain, otherwise you will need to generate an entirely new validation file by clicking “Download” again.
- Once validated, the validation file will expire the same time as the SSL certificate on the domain.

Upload this validation file to your webserver, using the path displayed within the developer portal (under “We’ll look for your file at the following location”).
Important:
- You must use the exact path provided by Apple.
- Ensure the file and parent directory are given read and execute permissions. (For Unix, this is typically done by using the command “chmod 755 <filename or folder>”).

Once the validation file is hosted and can be accessed externally, you can click the “Verify” button on the developer portal, to allow Apple to connect to your webserver and validate the domain.
Having problems validating your domain?
If you receive the following error message when validating the domain while on Apple’s Developer Portal:
Verification failed for domain
Unable to establish a secure connection to ‘https://yourdomain.com/.well-known/apple-developer-merchantid-domain-association.txt’
Domain certificate is untrusted.
Solution
Apple requires that the server receives a high security rating in order to successfully validate a domain.
(For example, if using SSL Labs to check your certificate, an A grade would be required as a minimum: https://www.ssllabs.com/ssltest/index.html)

Now you have set up the certificates and have had your domain validated by Apple, you can update your checkout to process Apple Pay transactions.
Configure your solutionHow it works