iOS26.4,appStoreReceiptURL获取票据延迟

iOS 26.4系统上,我们发现三个问题:

1.调用了finishTransaction接口,但是在App重新启动后,[SKPaymentQueue defaultQueue].transactions仍然会有这笔订单。

2.支付完成后,[[NSBundle mainBundle] appStoreReceiptURL]],拿到的票据解析出来里面的商品是空的,需要延迟2秒钟左右在调用[[NSBundle mainBundle] appStoreReceiptURL]]才能获取有效票据。

3.支付完成后,如果用户没有点击最后弹出的确认弹框,等待5秒钟,系统会自己回调 - (void)paymentQueue:(SKPaymentQueue *)queue updatedTransactions:(NSArray<SKPaymentTransaction *> *)transactions; 代理方法。正常应该是用户点击了最后弹出的确认弹框,在回调- (void)paymentQueue:(SKPaymentQueue *)queue updatedTransactions:(NSArray<SKPaymentTransaction *> *)transactions;方法。

我们在苹果开发者论坛上面找到其他开发者反馈的类似问题,链接如下:

https://developer.apple.com/forums/thread/817700

https://developer.apple.com/forums/thread/792437?answerId=849557022#849557022

https://developer.apple.com/forums/thread/817834

https://developer.apple.com/forums/thread/817706

https://developer.apple.com/forums/thread/818586

我们有大量用户升级到了26.4系统,这对于我们造成了巨大的困扰,我们需要你们的帮助,感谢!

FB22246976

iOS26.4&#xff0c;appStoreReceiptURL获取票据延迟
 
 
Q