Resolve an outdated Apple Pay domain association file

If you attempt to register a new Apple Pay domain for use with Stripe Elements on your website, you may receive the following error:

You have an outdated file hosted at https://{domain}/.well-known/apple-developer-merchantid-domain-association. To verify with Apple that you control your domain, you must host the file: https://stripe.com/files/apple-pay/apple-developer-merchantid-domain-association

Apple uses the presence of the domain association file to verify that you control the domains you are registering with Apple Pay. This file has a hard-coded expiration date. If you receive the above error message, it indicates that the domain association file you are using has an expiration date that is in the past.


To resolve this problem:

  1. Retrieve the latest version of the file from https://stripe.com/files/apple-pay/apple-developer-merchantid-domain-association. This is the same version of the file hosted in our documentation and on the Stripe dashboard.
  2. Host the file at https://{domain}/.well-known/apple-developer-merchantid-domain-association
  3. Retry the registration as described in our documentation.


Additional Information