Post

Replies

Boosts

Views

Activity

IAP odd behaviour. Status purchased but error field is not empty
Hi guys. We have IAP implemented. It works most of the time. Today very odd thing happened. One of our users did a purchase, money were taken from his account but he didn't receive premium content. He saw this native popup: imgur.com/vefTzyW From the logs we were able to see to error message: Purchases error: Instance of 'IAPError' PurchaseStatus.purchased GAGTBUN006 470000648416965 {transactionState: 1, payment: {productIdentifier: OUR_BUNDLE_ID, applicationUsername: null, requestData: null, quantity: 1, simulatesAskToBuyInSandbox: false, originalTransaction: null, transactionTimeStamp: 1593164094.0, transactionIdentifier: HIDDEN_IDENTIFIER, error: Instance of 'SKError'} SKErrorDomain 0 {NSLocalizedDescription: An unknown error occurred, NSUnderlyingError: {domain: ASDServerErrorDomain, userInfo: {NSLocalizedDescription: Verification Required}, code: 2024}} 1593164094000 Instance of 'PurchaseVerificationData' (null)} which corresponds to our error log: Purchases error: ${d.error} ${d.status} ${d.productID} ${d.purchaseID} ${d.skPaymentTransaction} ${d.skPaymentTransaction.error.domain} ${d.skPaymentTransaction.error.code} ${d.skPaymentTransaction.error.userInfo} ${d.transactionDate} ${d.verificationData} Documentation says that error is set only when transaction fails: https://developer.apple.com/documentation/storekit/skpaymenttransaction/1411269-error but status of transaction is purchased. Is there anyone that can help me with it? We already give the premium content for the user since he's very active and it's not his first purchase. Also, I heard that there were problems with IAP last days, long loading, or other failures. App installed from AppStore.
3
0
3.2k
Jun ’20