Back to Blog
Apple color sheet6/12/2023 All domains, whether in production or testing, must be registered with your live secret key. We’ve redacted your live secret key here-head to your Dashboard and replace sk_live_ You can do this by either going to the Apple Pay tab in the Account Settings of your Dashboard, or by directly using the API with your live secret key as shown below. Next, tell Stripe to register your domain with Apple. Instead, follow the steps in this section.ĭownload this domain association file and host it at /.well-known/apple-developer-merchantid-domain-association on your site.įor example, if you’re registering, make that file available at. You don’t need to create an Apple Merchant ID, CSR, and so on, as described in their documentation. When testing locally, use a tool like ngrok to get an HTTPS domain.Īpple’s documentation for Apple Pay on the Web describes their process of “merchant validation,” which Stripe handles for you behind the scenes. You need to do this for domains you use in both production and testing. This includes both top-level domains (for example, ) and subdomains (for example, ). To use Apple Pay, you must register every web domain that will show an Apple Pay button.
0 Comments
Read More
Leave a Reply. |