Payment should be part of Transaction
This follows The SKPayment API, and makes our JS wrappers easier to implement.
This commit is contained in:
parent
635b753ecd
commit
2dd545ebda
5 changed files with 13 additions and 23 deletions
|
@ -15,9 +15,6 @@ Emitted when a transaction has been updated.
|
|||
Returns:
|
||||
|
||||
* `event` Event
|
||||
* `payment` Object
|
||||
* `productIdentifier` String
|
||||
* `quantity` Integer
|
||||
* `transaction` Object
|
||||
* `transactionIdentifier` String
|
||||
* `transactionDate` String
|
||||
|
@ -25,6 +22,9 @@ Returns:
|
|||
* `transactionState` String - The transaction sate (`"purchasing"`, `"purchased"`, `"failed"`, `"restored"`, or `"deferred"`)
|
||||
* `errorCode` Integer
|
||||
* `errorMessage` String
|
||||
* `payment` Object
|
||||
* `productIdentifier` String
|
||||
* `quantity` Integer
|
||||
|
||||
## Methods
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue