Advertisement
Guest User

Untitled

a guest
Oct 21st, 2014
244
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. However, after doing the ‘factory reset’ the App works well.
  2.  
  3. for (SKPaymentTransaction *transaction in transactions)
  4.  
  5. {
  6.  
  7. NSInteger _value = transaction.transactionState;
  8.  
  9. switch (_value){
  10.  
  11. case SKPaymentTransactionStatePurchased:
  12.  
  13. [self completeTransaction:transaction];
  14.  
  15. break;
  16.  
  17. case SKPaymentTransactionStateFailed:
  18.  
  19. [self failedTransaction:transaction];
  20.  
  21. break;
  22.  
  23. case SKPaymentTransactionStateRestored:
  24.  
  25. [self restoreTransaction:transaction];
  26.  
  27. break;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement