Support » Plugin: WooCommerce Payments » Payment request button: Apple Pay domain verification failed.

  • Resolved speedypotato

    (@speedypotato)


    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]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Phillip C. a11n

    (@phillipwoo)

    Hi,

    Thank you for reaching out about the issue you see with Apple Pay and WooCommerce Payments. I understand that Apple Pay is not being offered when it should be. I have checked your site and can see the Google Pay button when using Chrome but I don’t see the Apple Pay button when using Safari. This means that overall the Express Checkout buttons should be working.

    Can you share if you’ve seen our documentation on how to get Apple Pay to work in WooCommerce Payments? I recommend reviewing that and replying with any feedback or questions.

    https://woocommerce.com/document/payments/apple-pay

    If you find any inconsistencies between your process and the documented process please let us know. If you have followed that documentation carefully and the issue still does not resolve please reply here with the site’s System Status Report.

    You can find it via WooCommerce → Status:

    Screenshot: https://d.pr/i/Rfv2jn

    Select the purple **Get system report** button (in the screenshot above) and then the purple **Copy for support** button (in the screenshot below).  This will copy the status report to your device’s clipboard. Please paste it into this chat.

    Screenshot: https://d.pr/i/2S3Dgv

    I hope this helps!

    I am getting same problem

    Plugin Support Con a11n

    (@conschneider)

    Automattic Happiness Engineer

    Howdy @w3speedup

    Are you able to access https://YOURDOMAIN.com/.well-known/? Or do you get a 403 error as in the description above?

    Kind regards,

    webdevtest712

    (@webdevtest712)

    I have the same issue. And as i’ve checked i meet all of the requirements.

    Plugin Support nicw.a11n

    (@nicw)

    Hi @webdevtest712

    Are you able to access https://YOURDOMAIN.com/.well-known/? Or do you get a 403 error as in the description above?

    Hi, I have the same issue, accessing https://YOURDOMAIN.com/.well-known/? returns a 403 error.
    Is there a private way to send you my system report?
    Thanks

    Plugin Support B C. a11n

    (@battouly)

    Hi @lorey80,

    You can contact us at WooCommerce.com > My Account > Support. You may need to create an account before you can access that page.

    Please include a link to this forum thread, so that we can keep track of what’s already been done.

    We will be able to help you further there.

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.