@DTS Engineer I have a call to check unfinishedtransactions on every app launch.
func checkunfinished() async{
print("we in checking unfinished")
try? await Task.sleep(nanoseconds: 10 * 1_000_000_000)
print("now we in checking unfinished")
for await result in Transaction.unfinished {
switch result {
case .verified(let transaction):
print(transaction.id)
donepurchasing(transaction: transaction)
await transaction.finish()
case .unverified(let transaction, let verificationError):
print(transaction,verificationError)
await transaction.finish()
}
}
}
from the last two days a lot of users have reported that the donepurchasing scenario is being run again. i.e. they are shown a popup that their purchase is successful. What it means that transactions previously finished have been showing as unfinished.
It only started happening in the last 3 days.
Ios versions vary but are mostly 18.4-5.
Topic:
App & System Services
SubTopic:
StoreKit
Tags: