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];
|
||||
}
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ Returns:
|
|||
* `transactionIdentifier` String
|
||||
* `transactionDate` String
|
||||
* `originalTransactionIdentifier` String
|
||||
* `transactionState` String - The transaction sate (`"SKPaymentTransactionStatePurchasing"`, `"SKPaymentTransactionStatePurchased"`, `"SKPaymentTransactionStateFailed"`, `"SKPaymentTransactionStateRestored"`, or `"SKPaymentTransactionStateDeferred"`)
|
||||
* `transactionState` String - The transaction sate (`"purchasing"`, `"purchased"`, `"failed"`, `"restored"`, or `"deferred"`)
|
||||
* `errorCode` Integer
|
||||
* `errorMessage` String
|
||||
|
||||
|
|
Loading…
Reference in a new issue