I have implemented apple pay in my iOS application using Passkit framework. I did all of these things fully to set up apple pay. I am using sandbox account. I added
In each implemented delegate function of PKPaymentAuthorizationViewControllerDelegate
that have completion
/handler
you must call that block with the appropriate parameters and most importantly with appropriate status.
On iOS 11 not calling the block within (approximately) 15-20s, the iOS is killing the Payment with the error you are seeing. On iOS 10, it will let you spin on Processing
indefinitely until the completion
blocks are called.
I had the same issue and it turned out that I was not calling the handler
block at all in one of the edge cases.