#binod-applepay
1 messages · Page 1 of 1 (latest)
im trying to verify domain in dev. with ngrok
I have a valid domain verification file within .well-known directory but still can't add domain in stripe apple pay settings
https://1cd4-110-44-115-132.in.ngrok.io/.well-known/apple-developer-merchantid-domain-association This is the url
Getting this error
Well it looks like that URL is returning a 404. You need to make sure that URL is working and is publicly accessible for it to work.
but it's working here. ngrok should make it public right?
What do you mean by "it's working"? For example when I try your URL with curl I also get a 404:
curl -I https://1cd4-110-44-115-132.in.ngrok.io/.well-known/apple-developer-merchantid-domain-association
HTTP/2 404
If I follow the same URL in mobile, I'm able to download file
that's what documentation suggests
But based on the screenshot you shared, Stripe cannot access that URL, it's returning a 404 (same as me). So it can't work. You need to double check your configuration to make sure that URL is publicly accessible.
it was working few days ago. Im following same steps. works on my devices
with ngrok url
im adding domain in test mode
I'm not familiar with how ngrok works. But it's currently returning a 404 for Stripe (and for me), so it's expected not to work. The error I see: "Tunnel 1cd4-110-44-115-132.in.ngrok.io not found"
What do you mean 5 apps? You need to verify each domain.
yes, I mean 5 domains. is there a way to verify dynamically?
Unfortunately no, each domain need to be verified separately for Apple Pay to work. But you just need to verify them once and then it should work.
what about subdomains? does it have a wildcard option?
like test1.abc.com, test2.abc.com