Post

Replies

Boosts

Views

Activity

Reply to IAP odd behaviour. Status purchased but error field is not empty
An interrupted purchase is a transaction that requires the user to perform some action outside of your app before completing their transaction. For example, the user may need to update a payment method or accept new terms and conditions before continuing with their transaction. You can test interrupted purchases in sandbox: https://developer.apple.com/documentation/storekit/in-app_purchase/testing_in-app_purchases_with_sandbox Basically, there is a failed transaction with a problem that the user has to fix. If the user fixes the problem, there will be a new success transaction that you have the handle. To prevent it in code you have to listen all the time to the updatedTransactions method from SKPaymentTransactionObserver and handle all transactions that you receive.
Apr ’21
Reply to IAP odd behaviour. Status purchased but error field is not empty
Hello, Any solution for this? Based on documentation: https://developer.apple.com/documentation/storekit/skerror/code/unknown When this error occurs in production, it may indicate a problem with the user’s iTunes account. If this error is because of the user's Apple account, should this take the user's money? We also experiencing this error. Error Domain = SKErrorDomain Code = 0 "An unknown error has occurred" UserInfo = {NSLocalizedDescription = An unknown error has occurred, {Error Domain = "ASDServerErrorDomain Code = 2024" Confirmation required "UserInfo = {NSLocalizedDescription = Confirmation required}}}) code: 0
Mar ’21