Integrate Apple Pay

To set up Apple Pay, agree on a Merchant ID with Truegate, receive two certificate signing requests (CSRs), create the certificates in Apple Developer, and send both .cer files back to us.

You need an Apple Developer account with the Account Holder or Admin role.

1. Confirm your Merchant ID

Agree on the identifier with Truegate, for example merchant.truegate.yourproductname.

Open Apple Developer → Identifiers. To register a new identifier, click + → Merchant IDs → Continue, enter a description and the agreed identifier, then click Continue → Register. If you already have a Merchant ID, confirm it with us before proceeding.

Send us the exact Merchant ID. We will provide two separate CSRs:

CSR from TruegateCertificate to create in Apple Developer
Payment Processing CSR (EC P-256)Apple Pay Payment Processing Certificate
Merchant Identity CSR (RSA 2048)Apple Pay Merchant Identity Certificate

Use the supplied CSRs for the following steps. Keep them separate; do not generate replacement CSRs.

2. Create the Payment Processing certificate

  1. Open Identifiers, filter by Merchant IDs, and select the agreed identifier.
  2. Under Apple Pay Payment Processing Certificate, click Create Certificate → Continue.
  3. Click Choose File and upload our Payment Processing CSR.
  4. Click Continue → Download and keep the downloaded .cer file labelled Payment Processing.

Apple's certificate guide.

3. Create the Merchant Identity certificate

  1. Return to the same Merchant ID in Identifiers.
  2. Under Apple Pay Merchant Identity Certificate, click Create Certificate → Continue.
  3. Click Choose File and upload our Merchant Identity CSR.
  4. Click Continue → Download and keep this .cer file labelled Merchant Identity.

Apple's web setup guide.

4. Verify your checkout domains

In the same Merchant ID, open Merchant Domains → Add Domain, enter your checkout domain, and click Save. Download the verification file, host it at the exact location shown by Apple, then click Verify → Done. Repeat for each domain or subdomain displaying Apple Pay.

5. Send the certificates to Truegate

Reply to your Truegate integration contact with:

  • The agreed Merchant ID.
  • The Payment Processing .cer file.
  • The Merchant Identity .cer file.
  • Your verified checkout domains.

We will install the certificates and confirm when your Apple Pay configuration is ready.

6. Enable email collection

6.1. Request activation

If you want to collect the customer's email address in the Apple Pay payment sheet, contact Truegate technical support. We will enable this feature for your project.

6.2. Continue sending the default email

Continue sending your default email address when initiating a payment, even when email collection is enabled:

6.3. Receive the collected email

We will include the email address collected through Apple Pay in the webhook sent to you. Read paymentMethodDetails.email; see the Apple Pay payment webhook example.


Did this page help you?