No need for SKPaymentTransactionState prefix for states
This commit is contained in:
parent
133bef3deb
commit
635b753ecd
2 changed files with 2 additions and 6 deletions
|
@ -148,11 +148,7 @@ using InAppTransactionCallback =
|
|||
|
||||
if (transaction.transactionState < 5) {
|
||||
transactionStruct.transactionState = [[@[
|
||||
@"SKPaymentTransactionStatePurchasing",
|
||||
@"SKPaymentTransactionStatePurchased",
|
||||
@"SKPaymentTransactionStateFailed",
|
||||
@"SKPaymentTransactionStateRestored",
|
||||
@"SKPaymentTransactionStateDeferred"
|
||||
@"purchasing", @"purchased", @"failed", @"restored", @"deferred"
|
||||
] objectAtIndex:transaction.transactionState] UTF8String];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue