Apple Pay and Google Pay Need a Public Domain: How to Test Wallet Buttons Through a Tunnel
You wire up Stripe's Payment Element, load the page on localhost:3000 , and the card form renders. The Apple Pay and Google Pay buttons do not. There is no console error and no warning, just a missing button. That is not a bug in your code. Wallet buttons depend on a domain that Apple, Google, and Stripe can recognize from the public internet, and localhost is not one. This guide explains what each party checks, how to host Apple's domain association file, how to register a domain through a tunnel, and why a stable subdomain spares you from repeating the whole routine after every restart. Checked against Stripe and Apple documentation on November 23, 2026. The short answer Stripe requires domain registration for Apple Pay and Google Pay when you use Elements or embedded Checkout. Payment Links and Stripe-hosted Checkout need no extra configuration. Apple Pay needs a domain association file reachable at https://your-domain/.well-known/apple-developer-merchantid-domain-...