#binod-applepay

1 messages · Page 1 of 1 (latest)

coarse saddle
#

Hi! How can I help?

lone stump
#

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

coarse saddle
#

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.

lone stump
#

but it's working here. ngrok should make it public right?

coarse saddle
lone stump
#

If I follow the same URL in mobile, I'm able to download file

#

that's what documentation suggests

coarse saddle
#

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.

lone stump
#

it was working few days ago. Im following same steps. works on my devices

#

with ngrok url

#

im adding domain in test mode

coarse saddle
#

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"

lone stump
#

Also, do I have to add 5 domain manually If I need apple pay in 5 apps?

#

??

coarse saddle
#

What do you mean 5 apps? You need to verify each domain.

lone stump
#

yes, I mean 5 domains. is there a way to verify dynamically?

coarse saddle
#

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.

lone stump
#

what about subdomains? does it have a wildcard option?