Hi, my client has a website. I am trying to verify the Apple Pay certificate for his woocommerce website to integrate Apple Pay, but whenever I do the verification, it says error.
PS i have placed the cert in .well-known folder of the website directory.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hey!
I would suggest making sure the file is accessible at: https://yourdomain.com/.well-known/apple-developer-merchantid-domain-association
Also, check that there are no redirects because Apple requires a direct 200 OK response and if there are any redirects it will fail.
Also make sure your server isn’t forcing a Content-Type
like text/html
; it should be application/json
or left default.
You could also try checking your access logs on the server to see if there are any errors in there that could point you to the right direction.
Let me know how it goes!
- Bobby
Heya, @f2d2e56f4ac54882bed952594667fd
Some security or redirect plugins (like Really Simple SSL, Wordfence, or even themes) can block or rewrite .well-known/*
.
You can try to temporarily disabling security/caching plugins
or adding an exception in .htaccess
for .well-known
Hope that this helps!
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.