I try to shop in the app and everything works fine except Restore. Below is the code I wrote:
func paymentQueueRestoreCompletedTransactionsFinished(queue:SKPaymentQueue!) { for transaction:AnyObject in queue.transactions { let trans : SKPaymentTransaction = transaction as SKPaymentTransaction var identifier : NSString = trans.payment.productIdentifier println(identifier) } }
The problem I am encountering here is that I am not getting the purchased identifier here. I think I messed up the code.
source share