Reputation: 33
I need to validate in-app purchase receipts. Apple has released a new approach for receipts, now the receipts can be stored on device in NSBundle. It requires OpenSSL and ASN1 be added to XCode project in order to encode and validate the receipts. I have been searching online for possible solution. No luck(. If anybody has done it already, please help. 1. I need to use OpenSSL and ASN1, add libraries libcrypto.a and libssl.a 2. Write a code for validating receipts for iOS7.
Upvotes: 2
Views: 2109
Reputation: 7574
I used ASN1 from here: http://sourceforge.net/projects/asn1c/
This is what I used for OpenSSL: http://www.cvursache.com/2013/08/13/How-To-Build-openssl-For-iOS/
As for deep information on using OpenSSL, and ASN1, I'd like to know if you find a comprehensive source for that. I cobbled what I could together from various sources. I looked at:
Upvotes: 4
Reputation: 3246
I guess you will found what you are looking for here :
http://ataugeron.github.io/blog/blog/2013/09/23/app-store-receipt-validation-on-ios-7/
Upvotes: 0