Maaz Zindani

Loading the index…

↑↓ move↵ openesc close4791 pages

Help for owners

The Apple Pay button never shows up on my website's checkout

Short answer

Apple Pay shows only when the address of the page is registered and verified for Apple Pay, the page runs on HTTPS, and the shopper's device and browser qualify. Check that the bare domain and the www version are both in your provider's domain list, then try Safari on an iPhone with a card in Wallet. Support in other browsers differs by provider.

  • Written for business owners
  • Updated
  • By Maaz Zindani, Senior Software Engineer

Does this sound like your situation?

  • Apple Pay is switched on in my payment settings, yet no customer has ever seen the button.
  • I can see it on my own iPhone, but not on a Mac, a Windows PC or in Chrome.
  • It shows on the www address of my shop but not without www, or only on the checkout subdomain.
  • It worked during testing and disappeared when the shop went live, or the reverse.
  • It vanished around the time the site's SSL certificate ran out.

Why does this happen?

  1. Every hostname needs its own verification

    Apple requires each top-level domain and each subdomain that displays the button to be registered and verified, so www and the bare domain count as two. Apple adds that the domain cannot sit behind a proxy or a redirect and that Apple's servers must be able to reach it. A shop and checkout on different addresses therefore need every one of them registered.

  2. On Stripe it depends on how checkout is built

    Stripe says Apple Pay works on Payment Links and Stripe-hosted Checkout with no additional configuration. With Stripe Elements or embedded Checkout, every domain and subdomain has to be added on the Payment method domains page, for testing as well as production, and Stripe carries out Apple's merchant validation itself, which is why it tells you not to follow Apple's own merchant validation steps.

  3. The verification file cannot be fetched

    Square, PayPal and Adyen each have you host a file at /.well-known/apple-developer-merchantid-domain-association on your site. PayPal says it must not answer with a redirect, must arrive as a file download rather than a web page, and must not sit behind a firewall that shuts Apple out. Adyen asks for the exact file name, served as plain text, with no password, proxy or redirect, and says verification fails while an outdated version of its file is hosted. Square warns that a file extension added by the server breaks validation.

  4. Outside Safari, support depends on the provider

    Since iOS 18, Apple lets people pay in other browsers, even on computers that are not Apple's, by scanning a code with their iPhone, provided the site uses Apple's JavaScript button and SDK version 1.2.0 or later; Apple says the CSS version of the button does not work there. Providers handle this differently. Stripe's Express Checkout Element supports Chrome, Firefox and Edge on iOS 16 or later, but on desktop Chrome, Edge, Firefox or Opera it shows Apple Pay only when set to always, and never in Chrome on Android.

  5. Verification lapses with the SSL certificate

    For domains verified in an Apple Developer account, Apple ties the verification to the domain's SSL certificate. Renewed before it expires, the domain stays verified; allowed to expire, the domain has to be verified again. Apple also requires HTTPS on every page that shows Apple Pay, a valid certificate, and a server that speaks TLS 1.2 or a newer version.

What can I do about it today?

  1. Rule the phone in or out firstOpen Apple's own demo page, applepaydemo.apple.com, on the same iPhone, in Safari and not in a private window, with at least one card in Wallet. If Apple Pay appears there but not on your shop, the phone is fine and the cause sits with your site or provider.
  2. On Stripe, compare with its wallet test pageStripe publishes working demo checkouts at docs.stripe.com/testing/wallets. Its checklist also names the Safari setting that lets websites check for Apple Pay, and says Stripe does not show Apple Pay to visitors on an Indian IP address.
  3. Write down every address where people payList the bare domain, the www version, any shop or checkout subdomain, and the address of any payment frame inside your page. Compare that list with your provider's domain list: Payment method domains in Stripe, the Apple Pay section of your app in Square's Developer Console, the Apple Pay Manage link in PayPal's Developer Dashboard, or Apple Pay domains in Adyen's Customer Area. Look at the live list and the test list separately.
  4. Open the verification file in a browserIf your provider uses a hosted file, visit https://your-domain/.well-known/apple-developer-merchantid-domain-association, once per address you listed. The file should load or download at once. Ending up on your home page, a login screen or a security check suggests Apple is stopped at the same point.
  5. Read the certificate's expiry dateClick the padlock beside the address and check when the site's certificate expires, or expired. Tell your developer about any lapse: Apple requires a valid certificate on pages with Apple Pay, and for domains verified in an Apple Developer account it asks for verification again.
  6. Leave existing registrations aloneDo not delete and re-add domains in the dashboard. Stripe warns against registering a domain more than once per account, and says that once a domain is disabled there, the payment methods tied to it, Apple Pay included, stop appearing on it.

When should I bring someone in?

  • Every domain shows as registered, yet the button still does not appear on a phone that passes the demo test.
  • Checkout runs in a frame, on a subdomain or on a payment page hosted on a different domain from your shop.
  • Your provider rejects the domain registration and the error message does not say why.

How do I handle it?

  1. Reproduce on a known-good deviceI open the provider's demo and your checkout side by side on the same iPhone and Mac, so a device problem and a site problem are told apart from the start.
  2. Map hostnames against registrationsEvery address, frame and environment the checkout uses goes on one list, matched against what is registered in live and in test mode.
  3. Fetch the file the way Apple doesI request the verification file from outside your network and read the status code, any redirect, the content type and the firewall or CDN rules in front of it.
  4. Read the integration codeI check the SDK version, the button type, wallet options such as Stripe's applePay setting, and whether the payment sheet opens directly from the tap, which Stripe says Apple requires.
  5. Test with real conditions, then keep watchI run a test payment the way your provider prescribes and note the certificate renewal dates, so a lapse is caught before it hides the button.

The price depends on what I find, so I quote in writing after a short discovery call. Tell me what is happening and I reply within 24 hours.

What do owners ask about this?

Does Apple Pay work in Chrome or on a Windows PC?

It can, through Apple's scan-a-code flow, but the provider guides I checked differ. Adyen's Web Drop-in supports third-party browsers, Windows and Chromebooks from version 6.10.0; earlier versions offer it on a Mac only in Safari and not at all on other makers' devices. PayPal lists Safari and says the latest Apple Pay SDK adds other browsers. Square's guide names Safari only.

Why does it work in test mode but not live, or the other way?

Each provider treats the two modes in its own way. Stripe's pages differ: its domain guide says a domain registered in live mode is also registered in its sandboxes, while its wallet test page asks for every domain in live mode and in each sandbox, so check both lists. Square and PayPal each want the domain added for sandbox and for production. Adyen needs its hosted file only in the live environment.

Can I test Apple Pay with a test card?

It depends on the provider. Stripe says test cards cannot be added to Wallet, so you use a real card with test keys and it is not charged. Square also asks for a real card, which its Sandbox does not charge. Adyen and PayPal point you to Apple's sandbox tester accounts and test cards.

Does the shopper need a card in Wallet to see the button?

Apple's guidance is to still offer Apple Pay when the device supports it but holds no card, just not as the only or default way to pay. Stripe's Express Checkout Element hides a wallet the shopper has not set up unless told to show it always, and PayPal's guide has the site check device and merchant eligibility before the button is drawn.

I use Stripe Payment Links. Why is Apple Pay missing?

Stripe says Apple Pay works on Payment Links and its hosted Checkout with no extra configuration, so domain registration is not the cause. Look at the device, the browser, the Wallet, the Safari setting and where the shopper is. Stripe's wallet test page is the quickest way to tell which.

Sources

How was this page made?

I drafted this page with AI assistance from the official documents listed under Sources. Found a mistake? Tell me.

For your developer: the technical fixes

Related help

Next step

Want this off your desk?

Send me a few lines on where things stand. I reply within 24 hours.