Any example on how to implement the new VerificationController and the KNOWN_TRANSACTIONS_KEY constant?

Posted by Carles Estevadeordal on Stack Overflow See other posts from Stack Overflow or by Carles Estevadeordal
Published on 2012-07-21T10:13:43Z Indexed on 2014/06/03 3:28 UTC
Read the original article Hit count: 454

I've been looking at implementing the new VerificationController to verify in-App-Purchases: http://developer.apple.com/library/ios/#releasenotes/StoreKit/IAP_ReceiptValidation/_index.html

And I wonder if there is some example anywhere en how to validate a transaction, since it seems that the - (BOOL)verifyPurchase:(SKPaymentTransaction *)transaction; is not enough and it has to be implemented internally to verify the purchase when the data form the server is received.

Another question is if anyone has a clue on what the KNOWN_TRANSACTIONS_KEY is and how to fill it, is it just the product id of the purchase?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about objective-c