When we use Apple's in-app purchase, we will receive the callback of SKPaymentTransactionStateFailed in the paymentQueue:updatedTransactions: method, and print transaction.error.userInfod to get the following information:
{ NSLocalizedDescription = "An SSL error occurred and a secure connection to this server could not be established."; NSUnderlyingError = "Error Domain=kCFErrorDomainCFNetwork Code=-1200 "Failed to complete the operation. (kCFErrorDomainCFNetwork error -1200.)" UserInfo={NSLocalizedDescription=Failed to complete operation. (kCFErrorDomainCFNetwork error -1200.)
After switching to another network, you can pay normally, how can I solve this situation, thank you