{"id":8040,"date":"2013-10-18T19:55:18","date_gmt":"2013-10-18T23:55:18","guid":{"rendered":"http:\/\/mjtsai.com\/blog\/?p=8040"},"modified":"2023-05-29T10:16:34","modified_gmt":"2023-05-29T14:16:34","slug":"modern-receipt-validation","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2013\/10\/18\/modern-receipt-validation\/","title":{"rendered":"Modern Receipt Validation"},"content":{"rendered":"<p><a href=\"https:\/\/developer.apple.com\/library\/mac\/releasenotes\/General\/ValidateAppStoreReceipt\/\">Apple&rsquo;s sample code<\/a> for Mac App Store receipt validation still uses OpenSSL, which as of Mac OS X 10.7 we are not supposed to dynamically link against. You can statically link with OpenSSL, but <a href=\"https:\/\/gist.github.com\/sazameki\/3026845\">Satoshi Numata<\/a> has posted some more modern code that uses only the built-in libraries (via <a href=\"https:\/\/twitter.com\/chockenberry\/status\/390942741883936769\">Craig Hockenberry<\/a>).<\/p>\n\n<p>Previously:<\/p>\n<ul>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2012\/07\/23\/checking-app-store-receipts-on-os-x\/\">Checking App Store Receipts on OS X<\/a><\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Apple&rsquo;s sample code for Mac App Store receipt validation still uses OpenSSL, which as of Mac OS X 10.7 we are not supposed to dynamically link against. You can statically link with OpenSSL, but Satoshi Numata has posted some more modern code that uses only the built-in libraries (via Craig Hockenberry). Previously: Checking App Store [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2020-12-03T14:38:09Z","apple_news_api_id":"32de0bf1-4a7e-47f6-8fa1-a128311472a2","apple_news_api_modified_at":"2023-05-29T14:16:37Z","apple_news_api_revision":"AAAAAAAAAAAAAAAAAAAAAA==","apple_news_api_share_url":"https:\/\/apple.news\/AMt4L8Up-R_aPoaEoMRRyog","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[4],"tags":[2392,30,39,54,74,71],"class_list":["post-8040","post","type-post","status-publish","format-standard","hentry","category-programming-category","tag-app-store-receipt-validation","tag-mac","tag-macappstore","tag-objective-c","tag-opensource","tag-programming"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/8040","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=8040"}],"version-history":[{"count":2,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/8040\/revisions"}],"predecessor-version":[{"id":30910,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/8040\/revisions\/30910"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=8040"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=8040"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=8040"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}