i have peculiar situation. after pay transaction , before receive sktransactionstatepurchased notification app store, close application. after closing application, alert "your purchase successful". now, happens in such way couldn't call,
[[skpaymentqueue defaultqueue] finishtransaction: transaction];
and couldn't unlock functionality because before processing updated transaction, app quits. doesn't enter background, kill it. how deal particular situation. if try purchase again, message, purchase has been made not downloaded. may it's because not finishing transaction. if try calling restore transaction, don't correct response unfinished transaction.
how deal situation? different apple automatically responding unfinished queries. here app store responds , frees of it's duties before unlock , deliver functionality , finish transaction, app gets killed may due incoming call or something.
thanks in advance
fyi, our app deals consumables, might not apply you.
however, in cases couldn't finish transaction, our transactions returned in state skpaymenttransactionstatepurchased on restarting app. finishtransaction , universe in balance once again.
Comments
Post a Comment