Payment request button: Apple Pay domain verification failed.
-
Hello all, I have never had Apple Pay working on my woocommerce shop since I set it up and am looking into it now.
In the logs I see:
2022-01-06T22:15:21+00:00 ERROR We were not able to verify your domain. To verify with Apple that you control your domain, you must host the verification file at https://155.248.193.83/.well-known/apple-developer-merchantid-domain-association. You can find the verification file here: https://stripe.com/files/apple-pay/apple-developer-merchantid-domain-association. For more information, see https://stripe.com/docs/stripe-js/elements/payment-request-button#verifying-your-domain-with-apple-pay. (invalid_request_error) 2022-01-06T22:15:21+00:00 INFO Error registering domain with Apple: Error: We were not able to verify your domain. To verify with Apple that you control your domain, you must host the verification file at https://155.248.193.83/.well-known/apple-developer-merchantid-domain-association. You can find the verification file here: https://stripe.com/files/apple-pay/apple-developer-merchantid-domain-association. For more information, see https://stripe.com/docs/stripe-js/elements/payment-request-button#verifying-your-domain-with-apple-pay.
Locally, .well-known/apple-developer-merchantid-domain-association DOES exist. However, when I access https://speedylabs.shop/.well-known/ I’m given a 403 forbidden, and trying to access https://speedylabs.shop/.well-known/merchantid-domain-association gives me a not found.
Locally on the machine typing `curl -L localhost/.well-known’ shows the same issue as well:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>403 Forbidden</title> </head><body> <h1>Forbidden</h1> <p>You don't have permission to access this resource.</p> </body></html>
I’m not sure what to change to allow the file to be viewed so Apple Pay verification can success. Any help would be appreciated. Thanks!
The page I need help with: [log in to see the link]
- The topic ‘Payment request button: Apple Pay domain verification failed.’ is closed to new replies.