Check your domain
Enter the hostname that shows the Apple Pay button and pick your processor, so the diagnosis matches your flow. The checker fetches the file as a server would, without following redirects, and compares it with your processor's published file.
Registering through Stripe or Flint? Neither uses the file, so there is no fetch to fail and the five causes don't apply. Go to Stripe, Stripe Connect, Flint, or Verified, but still no button.
What Apple checks
When you click verify in your processor's dashboard, or in the Apple Developer portal, Apple's verification server requests the file from the hostname you entered:
For that fetch to pass, according to Apple's TN3173:
- The response is a
200 OK with the file contents in the body. A redirect fails, because Apple can't confirm the response came from the registered hostname. - The connection uses TLS 1.2 or later, and the certificate chain ends at a root that Apple's operating systems trust. No proxy in front may present a different certificate.
- The file belongs to that exact hostname.
example.com and www.example.com are separate registrations with separate files. - The file stays in place. Apple fetches it again, along with your root domain, starting 30 days before your TLS certificate expires, then 15 and 7 days out.
Diagnose it in five minutes
"The URL works when I open it" proves nothing, because your browser follows redirects and passes bot challenges. Use curl and read what a machine gets:
curl -si https://yourdomain.com/.well-known/apple-developer-merchantid-domain-association
You want HTTP/2 200 or HTTP/1.1 200 with no Location header. A 301, 302, 307, or 308 fails verification. Then read the body, compare it with the file you were given, and check the other hostnames:
# The body must be the file, not your app's HTML
curl -s https://yourdomain.com/.well-known/apple-developer-merchantid-domain-association | head -c 60
# Byte-compare it with the file your processor or Apple gave you
curl -s https://yourdomain.com/.well-known/apple-developer-merchantid-domain-association -o served.txt
cmp served.txt apple-developer-merchantid-domain-association
# Repeat for every hostname that shows the button
curl -si https://www.yourdomain.com/.well-known/apple-developer-merchantid-domain-association
cmp prints nothing when the files match. If the body is your own HTML, a catch-all rewrite is answering instead of the file. Last, read the certificate chain a non-browser client gets, from outside your VPN:
openssl s_client -connect yourdomain.com:443 \
-servername yourdomain.com -showcerts < /dev/null
Look for Verify return code: 0 (ok) and the full chain, leaf to root. Then match what you found:
| What you see | Cause |
|---|
| curl shows a 3xx status or a Location header | Cause 1: a redirect |
| The status is 200, but the body is your app's HTML | Cause 1: a catch-all rewrite |
| Loads in your browser, fails for Apple, logs show a 403 or nothing | Cause 2: CDN or bot protection |
| The error mentions TLS, certificates, or cipher suites | Cause 3: TLS trust |
| Fails only for www, only for the apex, or after you re-added the domain | Cause 4: wrong or stale file |
| Worked before, broke near a certificate renewal with no deploy | Cause 5: re-verification |
| Stripe Connect: verified on the platform, the console still warns | Registered on the wrong account |
| Verified everywhere, and still no button on the page | Not a verification problem |
The five causes
Which flow you're in
Where a file is involved, the fetch is the same. Only who issues the file and where you click register differ, so diagnose with the checks above and apply the fix in your flow's dashboard.
- Apple Developer portal, direct. You run your own merchant ID and merchant validation. Download the per-domain file from the portal, serve it at the well-known path, and click verify within 7 days. This is the flow where file expiry and the one-file-per-domain rules bite hardest.
- Square, Adyen, Braintree, PayPal. Same model, different console: each has you serve its domain association file and register the domain in its dashboard or API. The same verification failures apply; only the registration step changes.
- Stripe. No file. Stripe stopped using the association file in 2025, and registration alone activates Apple Pay: register each hostname in the Dashboard or with POST /v1/payment_method_domains, on the account that runs the charge. There is no fetch to debug, so the five causes above do not apply, and a file left over from the old flow does no harm. If apple_pay stays inactive, apple_pay.status_details.error_message gives the reason, and POST /v1/payment_method_domains/{id}/validate re-checks after you fix it.
- WooCommerce Stripe plugin. Current versions register the domain through Stripe's payment method domains API and no longer place a file, so guides that tell you to upload one predate the change. When registration fails, the plugin shows Stripe's error in an admin notice and records it in the WooCommerce logs when logging is enabled.
Stripe Connect: registered on the wrong account
On Stripe, a domain registration belongs to the account that runs the charge. With direct charges, that's the connected account, not the platform. Register only on the platform and the platform's dashboard looks fine, while the payment page logs:
You have not registered or verified the domain, so apple_pay is not enabled in the Express Checkout Element.
Register the hostname on the connected account by sending the Stripe-Account header with your platform key:
curl https://api.stripe.com/v1/payment_method_domains \
-u "sk_live_...:" \
-H "Stripe-Account: acct_..." \
-d domain_name=checkout.yourdomain.com
Destination charges and separate charges and transfers register on the platform, with no Stripe-Account header. On Flint this choice doesn't exist: Flint registers every hostname on your own payment account, which is the account that runs the charge.
If the registration is active and the button still doesn't render, stop re-verifying. The cause is in the payment page or the device:
- HTTPS only. Wallet buttons don't render on plain HTTP, including
http://localhost. For local work, use a tunnel such as ngrok or cloudflared and register the tunnel's hostname in your sandbox. - The hostname in the address bar. The registered hostname must match the page exactly. A button on
www needs www registered, not just the apex. - Iframes. A payment form in a cross-origin iframe needs
allow="payment" on the iframe, and the iframe's own hostname registered too. - A device with a card in Wallet. Test in Safari on an iPhone or Mac with a card added to Apple Wallet.
- No automation browsers. Headless Chrome, Playwright, Puppeteer, and CI screenshot tools have no wallet, so the button never renders there however correct the setup is.
- The wallet is turned on. Apple Pay must be enabled as a payment method for the account, and the page must ask for it. On Flint, the order's
payment_collection.stripe.elements.payment_options lists the wallets your payment options turn on.
Apple Pay on Flint: no file, no fetch to fail
Flint registers hostnames for Apple Pay and Google Pay without an association file, an Apple Merchant ID, or a certificate signing request, and handles Apple's merchant validation for you. How much you do depends on where checkout runs:
| Where the button shows | What you do |
|---|
| Flint hosted checkout and payment links | Nothing. They run on Flint's domain, already registered. |
Hosted checkout or the customer account on your subdomain, such as pay.yourdomain.com | Nothing beyond the custom domain. Flint issues its certificate and registers it for wallets. The add-on is $15 a month. |
| A checkout you build with Stripe Elements on your own pages | One API call per hostname, below. |
Register each hostname with POST /v1/payment-method-domains, using a key with payments.payment_method_domains.write. Send the bare hostname, with no scheme, path, or port:
curl -X POST https://api.withflintpay.com/v1/payment-method-domains \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: pmd-shop-yourdomain-com" \
-d '{ "domain_name": "shop.yourdomain.com" }'
{
"data": {
"payment_method_domain_id": "pmdom_1kmn0aExample",
"version": 1,
"domain_name": "shop.yourdomain.com",
"status": "active",
"validation_status": "active",
"payment_option_statuses": [
{ "payment_option": "apple_pay", "status": "active" },
{ "payment_option": "google_pay", "status": "active" }
],
"created_at": "2026-10-28T12:00:00Z",
"updated_at": "2026-10-28T12:00:00Z"
},
"request_id": "req_01KWM6WAHG3N9Q8T2V5XRZ7C4E"
}
Registering checks the hostname right away, so the response already says whether the buttons can render. Read validation_status first:
Reads return the most recent check. To check again, set the registration's status to active, with the version you read as expected_version:
curl -X PATCH https://api.withflintpay.com/v1/payment-method-domains/pmdom_1kmn0aExample \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: pmd-shop-yourdomain-com-recheck-1" \
-d '{ "expected_version": 1, "status": "active" }'
A registration belongs to the key's environment, so register each hostname again with a live key before launch. If a wallet stays inactive after a live check, confirm the hostname matches the address bar exactly and ask Flint Help with the payment_method_domain_id. The Apple Pay and Google Pay setup guide covers testing, errors, and the go-live checklist.
A file-based flow and Flint, side by side
| Square, PayPal, Braintree, Adyen | Apple Developer portal, direct | Flint |
|---|
| File to host | The processor's file, on every hostname | A new file per hostname, valid 7 days until verified | None |
| After verification | Keep the file live for Apple's re-checks before each certificate expiry | Keep the file live for Apple's re-checks before each certificate expiry | Nothing to keep live |
| Merchant ID and certificates | Handled by the processor in its standard setup | Yours to create and renew | Handled by Flint |
| Registering a hostname | The processor's dashboard or API | The Apple Developer portal | Automatic for hosted checkout and custom domains, or one POST /v1/payment-method-domains |
Questions, answered
Why does Apple Pay domain verification fail when the file opens in my browser?
Your browser follows redirects, passes bot challenges, and fills in missing intermediate certificates. Apple's verification server does none of that: it needs a 200 response with the file in the body, directly from the hostname you registered. Check the URL with curl -si, which sees what a machine sees, or run Flint's free Apple Pay domain checker, which fetches the file without following redirects.
How long does Apple Pay domain verification take?
Verification is one fetch of the file, not a review queue, so a result normally shows within seconds to a few minutes. A verification that stays pending for hours is a fetch that keeps failing. Diagnose it as a failure instead of waiting.
Do www and the apex domain need separate verification?
Yes. Every hostname that shows an Apple Pay button is its own registration: example.com, www.example.com, and shop.example.com are three. In the Apple Developer portal flow each one also needs its own file. The rule holds on Stripe and Flint too, where registration needs no file.
Why did Apple Pay stop working when nothing was deployed?
Apple re-verifies file-based domains on its own, starting 30 days before your TLS certificate expires and retrying 15 and 7 days out. If the file was deleted after the first success, the root domain stopped returning a 200, or the renewed certificate changed the chain of trust, the re-check fails and Apple Pay disappears with no deploy on your side.
Do I need an Apple Merchant ID or a certificate signing request?
Only when you run Apple Pay merchant validation yourself through the Apple Developer portal. Processors that validate for you, including Flint, don't ask for either.
Can I test domain registration in a sandbox or Stripe test mode?
Only your integration. A Stripe test mode registration marks Apple Pay active right away, even for a domain that doesn't exist, and Flint sandbox registrations behave the same way. Register every hostname with a live key before launch, and treat the live registration's wallet status as the first real result.
Does Flint need a domain association file for Apple Pay?
No. Flint-hosted checkout and payment links run on Flint's domain and show Apple Pay and Google Pay with no setup. A Flint custom domain is registered for wallets automatically. For a checkout you build on your own domain, one POST /v1/payment-method-domains call registers each hostname, and the response reports whether each wallet is ready.
Sources
All sources accessed October 28, 2026.