购买订阅型商品,为什么回调给苹果客户端的 SKPaymentTransaction.transactionIdentifier 不在从票据验证返回的receiptDataText(票据字符串)数据集合里
苹果客户端获取到的:
SKPaymentTransaction.transactionIdentifier 苹果支付回调返回的id
NSURL *receiptURL = [[NSBundle mainBundle] appStoreReceiptURL]; // 票据URL
NSData *receiptData = [NSData dataWithContentsOfURL:receiptURL]; //票据二进制
NSString *receiptDataText = [receiptData base64EncodedStringWithOptions:NSDataBase64EncodingEndLineWithLineFeed]; //票据字符串