Reputation: 159
How i can get informations(purchase date, product id...) about purchase made by the user ?
switch (transaction.transactionState) {
case SKPaymentTransactionStatePurchased: {
NSLog(@"user has purchased, %@", transaction);
...
...
Upvotes: 0
Views: 106
Reputation: 3900
These are the related properties:
let purchaseDate = transaction.transactionDate
let transactionId = transaction.transactionIdentifier
let produtId = transaction.payment.productIdentifier
Upvotes: 1