Reputation: 16825
I sell multiple consumable IAP in an iOS application, but I can only purchase each consumable once. When I try to purchase it a second time, this message pops up:
Is it related to the sandbox environment? The status returned from
- (void)paymentQueue:(SKPaymentQueue *)queue updatedTransactions:(NSArray *)transactions
is SKPaymentTransactionStatePurchasing
. How should I handle it?
Upvotes: 1
Views: 1009
Reputation: 16825
I wasn't calling
[[SKPaymentQueue defaultQueue] finishTransaction:transaction];
appropriately.
Upvotes: 1