Permalink
Browse files

More StoreKit fixes

  • Loading branch information...
1 parent 8a07a44 commit 2d63e7b2d77e7de0fd3c10d8b1f2faeb181774c7 Erica Sadun committed Oct 8, 2009
Showing with 1 addition and 2 deletions.
  1. +1 −2 C20-StoreKit/03-Validating Receipt/main.m
@@ -129,8 +129,7 @@ - (void) completedPurchaseTransaction: (SKPaymentTransaction *) transaction
- (void) handleFailedTransaction: (SKPaymentTransaction *) transaction
{
- if (transaction.error.code != SKErrorPaymentCancelled)
- [[SKPaymentQueue defaultQueue] finishTransaction: transaction];
+ [[SKPaymentQueue defaultQueue] finishTransaction: transaction];
}
- (void)paymentQueue:(SKPaymentQueue *)queue updatedTransactions:(NSArray *)transactions

0 comments on commit 2d63e7b

Please sign in to comment.