U3DXT, Can't purchase a consumable item twice

Hi, after purchasing consumable item again I receive error “You’ve already purchased this In-App Purchase but it hasn’t been downloaded.”

Reading post’s I guess that solution is to remove transaction from queue with
[[SKPaymentQueue defaultQueue] finishTransaction:transaction]

Question is:
Is there example because I can’t find it in documentation
Thanks.

Hi wizzz, you can get a list of pending transactions and then finish each one:

foreach (SKPaymentTransaction transaction in IAPXT.pendingTransactions) {
    SKPaymentQueue.DefaultQueue().FinishTransaction(transaction);
}