So, I am facing Problem with Apple Pay integrated with Amazon Payfort, My Problem is that Once I have created the Apple Pay session with PHP CURL that hit the URL
https://apple-pay-gateway.apple.com/paymentservices/paymentSession
I got a opaque session response that I now need to pass to completeMerchantValidation function but I am not getting how to initialize the ApplePaySession like there are no proper documentation for that like is their a SDK for it or an URL.
What I basically require are some parameters like apple_header, apple_payment array and apply_data for passing them to Amazon Payfort endpoint.
So let me know what I am doing wrong or what needs to be done next so I can get a clear understanding of it.