Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Supposedly also support verifying restored transaction.

  • Loading branch information...
commit 73f72ba72411056eeae843b22f486d18b5abb632 1 parent 52e106d
@lxcid authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  CargoBay/CargoBay.m
View
2  CargoBay/CargoBay.m
@@ -563,7 +563,7 @@ - (void)verifyTransaction:(SKPaymentTransaction *)transaction
success:(void (^)(NSDictionary *receipt))success
failure:(void (^)(NSError *error))failure
{
- if (transaction.transactionState != SKPaymentTransactionStatePurchased) {
+ if ((transaction.transactionState != SKPaymentTransactionStatePurchased) || (transaction.transactionState != SKPaymentTransactionStateRestored)) {
return;
}
NSError *error = nil;
Please sign in to comment.
Something went wrong with that request. Please try again.