Sure, my current solution is adding method beginAuthorizationWithCompletion to principal class:
`
(void)beginAuthorizationWithCompletion:(void (^)(PKPaymentAuthorizationResult *))completion {
PKPaymentAuthorizationResult *authorizationResult = [[PKPaymentAuthorizationResult alloc] initWithStatus:PKPaymentAuthorizationStatusSuccess errors:nil];
completion(authorizationResult);
}
`
That'is so magical, but I don't know the real reason. Actually I got this from Chat-GPT.
Topic:
App & System Services
SubTopic:
Apple Pay
Tags: