Hey everyone ,
I’m trying to test Apple Pay using the web-payments-quickstart demo application. I’m following this guide, and everything works fine, but when I click on the Pay button, it returns me the error:
{
"errors": [
{
"category": "INVALID_REQUEST_ERROR",
"code": "BAD_REQUEST",
"detail": "Domain 4e5b09ff259c.ngrok.io is misconfigured for Apple Pay."
}
]
}
The domain is verified correctly, as you can see here:
I tried to go to your site and for some reason when trying to load it using Safari it’s not HTTPS and I’m getting a not secure message. But in Chrome it is secure. Is there something blocking the certificate with Safari?
We have added the certificate. please check the complete screenshot. According to screenshot it shows merchant ID. we have also tried to check on other domain. php.parastechnologies.in. it’s also verified. But we got same issue.
Query:- Where we have to place the certificate on domain server ? please suggest.
Can you please explain little bit in detail ? we are not getting which checkout link you are asking. we have added the apple-developer-merchantid-domain-association file in .well-known folder on our server. then we are running the square apple pay SDK for that. I think don’t have any other checkout link we are getting.