Can't validate domain for Apple Pay Web

Hi!


Can't validate domain for merchan ID. I created Payment Processing Certificates, add domain to Merchant Domains, downloaded and put 'apple-developer-merchantid-domain-association' into <my_domain>/.well-known folder, but get error message 'webservice.domain.VerificationFailed'

have you tried getting the file yourself via the same url, male sure you try https://<my_domain>/.well-known/apple-developer-merchantid-domain-association


if it works, your browser should return a very long string of random characters

I had this problem and it appears to me that the file changes. I came back to it today having left it for the weekend, downloaded the file again to check the hash of it and it had changed. I uploaded that, ensured my browser gave me the same file back and then hit the validate button. It worked this time. Before I was getting the yellow triangle "Verification failed for domain".


My new problem is... where do I get the javascript? I'd hoped to be presented with a link to it once I'd proceded past domain verification.

Here is a link to the javasceript docs https://developer.apple.com/reference/applepayjs/

Can't validate domain for Apple Pay Web
 
 
Q