Permalink
Browse files

Minor StoreKit fix

  • Loading branch information...
1 parent 5d3df10 commit 8a07a44a13729cd3f47b68130fff586e314e42d5 Erica Sadun committed Oct 8, 2009
Showing with 2 additions and 4 deletions.
  1. +2 −4 C20-StoreKit/02-Purchase/main.m
@@ -110,11 +110,9 @@ - (void) completedPurchaseTransaction: (SKPaymentTransaction *) transaction
- (void) handleFailedTransaction: (SKPaymentTransaction *) transaction
{
- if (transaction.error.code != SKErrorPaymentCancelled)
- {
+ if (transaction.error.code != SKErrorPaymentCancelled)
[ModalAlert say:@"Transaction Error. Please try again later."];
- [[SKPaymentQueue defaultQueue] finishTransaction: transaction];
- }
+ [[SKPaymentQueue defaultQueue] finishTransaction: transaction];
}
- (void)paymentQueue:(SKPaymentQueue *)queue updatedTransactions:(NSArray *)transactions

0 comments on commit 8a07a44

Please sign in to comment.