I am having an issue with my Stripe Apple Pay integration after registering a domain when Apple tries to hit the /.well-known/apple-developer-merchantid-domain-association route. Specifically, our server is returning a 406 error because it could not handle the http accept header in the request. I did some digging and found that the accept header we are receiving is blank (e.g. 'HTTP_ACCEPT': '') and we are unable to handle that. I found this strange because we also have an in-house Apple Pay implementation and a Square Apple Pay integration for users who do not use Stripe, and we have never run into this issue before.
I am mainly curious why this header is empty since we don't have this issue with square or with our in house implementation.
I am mainly curious why this header is empty since we don't have this issue with square or with our in house implementation.
Let me make sure I understand this correctly; You have a domain that you are trying to verify, and when the verification request comes into your server from Apple it has a blank header for HTTP_ACCEPT in the request. Is that correct?
If so, is this request passing through a proxy before hitting your server? Are you able to post the request headers here? (Make sure to redact the sensitive information)
Matt Eaton
DTS Engineering, CoreOS
meaton3@apple.com