Hi,
Thanks for the answer and sorry for the delay.
We managed to get the initial PaymentRequestToken, but failed / timed out in the second step, some tcpdumping showed that:
For Test / Sandbox:
whitelisting apple-pay-gateway-cert.apple.com does not work as it resolves to
Non-authoritative answer:
Name: apple-pay-gateway-cert.apple.com
Address: 17.171.85.7
But apple pay client talks to 17.171.85.6
(I am guessing the client uses some apple internal DNS or load balancer?)
For Production we are still having some similar trouble but a lot more complicated
apple-pay-gateway-nc-pod3.apple.com
apple-pay-gateway-nc-pod3.gcsis-apple.com.akadns.net. 30 IN A 17.171.78.135
but client talks to 17.171.78.134
So, we're still trying to keep the CNA working, but not allowing too many apple IPs, but also keep the payment going through.
as it turns out the Apple Pay client, also talks to Visa, Mastercard, etc servers.
Any additional pointers on more specific ip ranges are most welcome.
(as the list at https://developer.apple.com/documentation/apple_pay_on_the_web/setting_up_your_server seems at least outdated )