Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Minor StoreKit fix

  • Loading branch information...
commit 8a07a44a13729cd3f47b68130fff586e314e42d5 1 parent 5d3df10
Erica Sadun authored
Showing with 2 additions and 4 deletions.
  1. +2 −4 C20-StoreKit/02-Purchase/main.m
View
6 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
Please sign in to comment.
Something went wrong with that request. Please try again.