Leandros
Leandros

Reputation: 16825

Consumable IAP can't be purchased multiple times

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:

IAP Error

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

Answers (1)

Leandros
Leandros

Reputation: 16825

I wasn't calling

[[SKPaymentQueue defaultQueue] finishTransaction:transaction];

appropriately.

Upvotes: 1

Related Questions