Skip to main content

Apple Pay test and go live

Testing Your Integration

Validate your Apple Pay implementation using Apple's designated test card numbers.

For comprehensive test card details and setup instructions for your test device, refer to Apple's Sandbox testing documentation.

Monitor your Apple Pay test transactions through your Merchant portal.

Going live

  1. Download and extract the domain association file.

  2. Deploy the domain association file on every domain where you'll accept payments, including any subdomains. Place the file using the exact filename apple-developer-merchantid-domain-association at this specific path:

    /.well-known/apple-developer-merchantid-domain-association

    File requirements:

    • Must return Content-Type: text/plain in response headers.
    • Must be publicly accessible without authentication.
    • Cannot be password protected or access-restricted.
    • Must serve directly without redirects or proxy layers.
  3. Contact Straumur support to register and activate your domains.

info

Ensure the file is served from a fixed URL path - dynamic routing will not function.

For payment processing on:

Deploy the file at:

The approved Apple Pay domain will be:

info

Verify your domain verification file deployment.

See a working example at https://greidslusida.straumur.is

To confirm proper file content, use the cksum utility. Replace greidslusida.straumur.is/ with your domain:

curl -s https://greidslusida.straumur.is/.well-known/apple-developer-merchantid-domain-association | cksum

Expected output: 2304607924 9094 indicates correct file deployment. Different values suggest file corruption or hosting issues.

Domain verification checksum