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

I'm encountering the same issue as you; currently, I've implemented a 1.5-second delay. I hope Apple can resolve this soon. Recently, I tried upgrading to StoreKit 2, but on iOS 26.4, Transaction.updates does not return unfinished transactions upon launch, which is causing some problems.

只能延迟3秒解决了?

iOS26.4 正式版,票据延迟问题修复了。但是在最新的iOS26.5beta版本上,这些问题又开始复现了!

We are also severely affected by these bugs on iOS 26.4 beta and iOS 26.5 beta.

  • finishTransaction not working
  • appStoreReceiptURL delayed
  • transaction callback triggered without user confirmation

We have submitted a full bug report via Feedback Assistant with ID: [FB22453281]

Please Apple fix this ASAP.

This has been an ongoing issue for us since the 26.4 beta

iOS26.4,appStoreReceiptURL获取票据延迟
 
 
Q