{"action":"opened","number":210,"pull_request":{"url":"https://api.github.com/repos/MugunthKumar/MKStoreKit/pulls/210","id":27167511,"html_url":"https://github.com/MugunthKumar/MKStoreKit/pull/210","diff_url":"https://github.com/MugunthKumar/MKStoreKit/pull/210.diff","patch_url":"https://github.com/MugunthKumar/MKStoreKit/pull/210.patch","issue_url":"https://api.github.com/repos/MugunthKumar/MKStoreKit/issues/210","number":210,"state":"open","locked":false,"title":"Deferred Purchases and Mac OS X Compatibility","user":{"login":"Sam-Spencer","id":2374407,"avatar_url":"https://avatars.githubusercontent.com/u/2374407?v=3","gravatar_id":"","url":"https://api.github.com/users/Sam-Spencer","html_url":"https://github.com/Sam-Spencer","followers_url":"https://api.github.com/users/Sam-Spencer/followers","following_url":"https://api.github.com/users/Sam-Spencer/following{/other_user}","gists_url":"https://api.github.com/users/Sam-Spencer/gists{/gist_id}","starred_url":"https://api.github.com/users/Sam-Spencer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sam-Spencer/subscriptions","organizations_url":"https://api.github.com/users/Sam-Spencer/orgs","repos_url":"https://api.github.com/users/Sam-Spencer/repos","events_url":"https://api.github.com/users/Sam-Spencer/events{/privacy}","received_events_url":"https://api.github.com/users/Sam-Spencer/received_events","type":"User","site_admin":false},"body":"### Deferred Purchases\r\nAdded support for deferred purchases on iOS 8.0 and up. Use the `kMKStoreKitProductPurchaseDeferredNotification` key to get notifications about deferred purchases. \r\n\r\n### Mac OS X Compatibility\r\nTested for and fixed compile-time errors on Mac OS X. The necessary code now loads conditionally at compile time using macros to detect a build target for iOS or OS X.\r\n\r\n### Bug Fixes\r\nFixed bug where no notification was sent when a purchase failed. Fixes #205. Fixes #196.\r\n\r\n### Readme Updates\r\nAdded brief description at the beginning. Separated the first block of text into *Compatibility* and *Setup* sections. Fixed some errors and formatting issues in the sample code.\r\n\r\nThe Readme now reflects the new Mac OS X compatibility by removing it from the *Untested* list. Moved Deferred Purchases from the *Missing* list to the features list.\r\n\r\nAdded a nice pretty little table to the Readme to depict the compatibility requirements.","created_at":"2015-01-11T20:14:31Z","updated_at":"2015-01-11T20:14:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/MugunthKumar/MKStoreKit/pulls/210/commits","review_comments_url":"https://api.github.com/repos/MugunthKumar/MKStoreKit/pulls/210/comments","review_comment_url":"https://api.github.com/repos/MugunthKumar/MKStoreKit/pulls/comments/{number}","comments_url":"https://api.github.com/repos/MugunthKumar/MKStoreKit/issues/210/comments","statuses_url":"https://api.github.com/repos/MugunthKumar/MKStoreKit/statuses/7acc8545bbb95468394aa42c4223672ad83d03b7","head":{"label":"Sam-Spencer:feature","ref":"feature","sha":"7acc8545bbb95468394aa42c4223672ad83d03b7","user":{"login":"Sam-Spencer","id":2374407,"avatar_url":"https://avatars.githubusercontent.com/u/2374407?v=3","gravatar_id":"","url":"https://api.github.com/users/Sam-Spencer","html_url":"https://github.com/Sam-Spencer","followers_url":"https://api.github.com/users/Sam-Spencer/followers","following_url":"https://api.github.com/users/Sam-Spencer/following{/other_user}","gists_url":"https://api.github.com/users/Sam-Spencer/gists{/gist_id}","starred_url":"https://api.github.com/users/Sam-Spencer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sam-Spencer/subscriptions","organizations_url":"https://api.github.com/users/Sam-Spencer/orgs","repos_url":"https://api.github.com/users/Sam-Spencer/repos","events_url":"https://api.github.com/users/Sam-Spencer/events{/privacy}","received_events_url":"https://api.github.com/users/Sam-Spencer/received_events","type":"User","site_admin":false},"repo":{"id":29099102,"name":"MKStoreKit","full_name":"Sam-Spencer/MKStoreKit","owner":{"login":"Sam-Spencer","id":2374407,"avatar_url":"https://avatars.githubusercontent.com/u/2374407?v=3","gravatar_id":"","url":"https://api.github.com/users/Sam-Spencer","html_url":"https://github.com/Sam-Spencer","followers_url":"https://api.github.com/users/Sam-Spencer/followers","following_url":"https://api.github.com/users/Sam-Spencer/following{/other_user}","gists_url":"https://api.github.com/users/Sam-Spencer/gists{/gist_id}","starred_url":"https://api.github.com/users/Sam-Spencer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sam-Spencer/subscriptions","organizations_url":"https://api.github.com/users/Sam-Spencer/orgs","repos_url":"https://api.github.com/users/Sam-Spencer/repos","events_url":"https://api.github.com/users/Sam-Spencer/events{/privacy}","received_events_url":"https://api.github.com/users/Sam-Spencer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Sam-Spencer/MKStoreKit","description":"The \"Goto\" In App Purchases Framework for iOS 7+","fork":true,"url":"https://api.github.com/repos/Sam-Spencer/MKStoreKit","forks_url":"https://api.github.com/repos/Sam-Spencer/MKStoreKit/forks","keys_url":"https://api.github.com/repos/Sam-Spencer/MKStoreKit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Sam-Spencer/MKStoreKit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Sam-Spencer/MKStoreKit/teams","hooks_url":"https://api.github.com/repos/Sam-Spencer/MKStoreKit/hooks","issue_events_url":"https://api.github.com/repos/Sam-Spencer/MKStoreKit/issues/events{/number}","events_url":"https://api.github.com/repos/Sam-Spencer/MKStoreKit/events","assignees_url":"https://api.github.com/repos/Sam-Spencer/MKStoreKit/assignees{/user}","branches_url":"https://api.github.com/repos/Sam-Spencer/MKStoreKit/branches{/branch}","tags_url":"https://api.github.com/repos/Sam-Spencer/MKStoreKit/tags","blobs_url":"https://api.github.com/repos/Sam-Spencer/MKStoreKit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Sam-Spencer/MKStoreKit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Sam-Spencer/MKStoreKit/git/refs{/sha}","trees_url":"https://api.github.com/repos/Sam-Spencer/MKStoreKit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Sam-Spencer/MKStoreKit/statuses/{sha}","languages_url":"https://api.github.com/repos/Sam-Spencer/MKStoreKit/languages","stargazers_url":"https://api.github.com/repos/Sam-Spencer/MKStoreKit/stargazers","contributors_url":"https://api.github.com/repos/Sam-Spencer/MKStoreKit/contributors","subscribers_url":"https://api.github.com/repos/Sam-Spencer/MKStoreKit/subscribers","subscription_url":"https://api.github.com/repos/Sam-Spencer/MKStoreKit/subscription","commits_url":"https://api.github.com/repos/Sam-Spencer/MKStoreKit/commits{/sha}","git_commits_url":"https://api.github.com/repos/Sam-Spencer/MKStoreKit/git/commits{/sha}","comments_url":"https://api.github.com/repos/Sam-Spencer/MKStoreKit/comments{/number}","issue_comment_url":"https://api.github.com/repos/Sam-Spencer/MKStoreKit/issues/comments/{number}","contents_url":"https://api.github.com/repos/Sam-Spencer/MKStoreKit/contents/{+path}","compare_url":"https://api.github.com/repos/Sam-Spencer/MKStoreKit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Sam-Spencer/MKStoreKit/merges","archive_url":"https://api.github.com/repos/Sam-Spencer/MKStoreKit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Sam-Spencer/MKStoreKit/downloads","issues_url":"https://api.github.com/repos/Sam-Spencer/MKStoreKit/issues{/number}","pulls_url":"https://api.github.com/repos/Sam-Spencer/MKStoreKit/pulls{/number}","milestones_url":"https://api.github.com/repos/Sam-Spencer/MKStoreKit/milestones{/number}","notifications_url":"https://api.github.com/repos/Sam-Spencer/MKStoreKit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Sam-Spencer/MKStoreKit/labels{/name}","releases_url":"https://api.github.com/repos/Sam-Spencer/MKStoreKit/releases{/id}","created_at":"2015-01-11T17:13:59Z","updated_at":"2015-01-11T17:14:00Z","pushed_at":"2015-01-11T20:07:54Z","git_url":"git://github.com/Sam-Spencer/MKStoreKit.git","ssh_url":"git@github.com:Sam-Spencer/MKStoreKit.git","clone_url":"https://github.com/Sam-Spencer/MKStoreKit.git","svn_url":"https://github.com/Sam-Spencer/MKStoreKit","homepage":"","size":629,"stargazers_count":0,"watchers_count":0,"language":"Objective-C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"MugunthKumar:master","ref":"master","sha":"bc630faf2c3d165c202296309dc4659f42ee52a9","user":{"login":"MugunthKumar","id":129776,"avatar_url":"https://avatars.githubusercontent.com/u/129776?v=3","gravatar_id":"","url":"https://api.github.com/users/MugunthKumar","html_url":"https://github.com/MugunthKumar","followers_url":"https://api.github.com/users/MugunthKumar/followers","following_url":"https://api.github.com/users/MugunthKumar/following{/other_user}","gists_url":"https://api.github.com/users/MugunthKumar/gists{/gist_id}","starred_url":"https://api.github.com/users/MugunthKumar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MugunthKumar/subscriptions","organizations_url":"https://api.github.com/users/MugunthKumar/orgs","repos_url":"https://api.github.com/users/MugunthKumar/repos","events_url":"https://api.github.com/users/MugunthKumar/events{/privacy}","received_events_url":"https://api.github.com/users/MugunthKumar/received_events","type":"User","site_admin":false},"repo":{"id":1262196,"name":"MKStoreKit","full_name":"MugunthKumar/MKStoreKit","owner":{"login":"MugunthKumar","id":129776,"avatar_url":"https://avatars.githubusercontent.com/u/129776?v=3","gravatar_id":"","url":"https://api.github.com/users/MugunthKumar","html_url":"https://github.com/MugunthKumar","followers_url":"https://api.github.com/users/MugunthKumar/followers","following_url":"https://api.github.com/users/MugunthKumar/following{/other_user}","gists_url":"https://api.github.com/users/MugunthKumar/gists{/gist_id}","starred_url":"https://api.github.com/users/MugunthKumar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MugunthKumar/subscriptions","organizations_url":"https://api.github.com/users/MugunthKumar/orgs","repos_url":"https://api.github.com/users/MugunthKumar/repos","events_url":"https://api.github.com/users/MugunthKumar/events{/privacy}","received_events_url":"https://api.github.com/users/MugunthKumar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MugunthKumar/MKStoreKit","description":"The \"Goto\" In App Purchases Framework for iOS 7+","fork":false,"url":"https://api.github.com/repos/MugunthKumar/MKStoreKit","forks_url":"https://api.github.com/repos/MugunthKumar/MKStoreKit/forks","keys_url":"https://api.github.com/repos/MugunthKumar/MKStoreKit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MugunthKumar/MKStoreKit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MugunthKumar/MKStoreKit/teams","hooks_url":"https://api.github.com/repos/MugunthKumar/MKStoreKit/hooks","issue_events_url":"https://api.github.com/repos/MugunthKumar/MKStoreKit/issues/events{/number}","events_url":"https://api.github.com/repos/MugunthKumar/MKStoreKit/events","assignees_url":"https://api.github.com/repos/MugunthKumar/MKStoreKit/assignees{/user}","branches_url":"https://api.github.com/repos/MugunthKumar/MKStoreKit/branches{/branch}","tags_url":"https://api.github.com/repos/MugunthKumar/MKStoreKit/tags","blobs_url":"https://api.github.com/repos/MugunthKumar/MKStoreKit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MugunthKumar/MKStoreKit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MugunthKumar/MKStoreKit/git/refs{/sha}","trees_url":"https://api.github.com/repos/MugunthKumar/MKStoreKit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MugunthKumar/MKStoreKit/statuses/{sha}","languages_url":"https://api.github.com/repos/MugunthKumar/MKStoreKit/languages","stargazers_url":"https://api.github.com/repos/MugunthKumar/MKStoreKit/stargazers","contributors_url":"https://api.github.com/repos/MugunthKumar/MKStoreKit/contributors","subscribers_url":"https://api.github.com/repos/MugunthKumar/MKStoreKit/subscribers","subscription_url":"https://api.github.com/repos/MugunthKumar/MKStoreKit/subscription","commits_url":"https://api.github.com/repos/MugunthKumar/MKStoreKit/commits{/sha}","git_commits_url":"https://api.github.com/repos/MugunthKumar/MKStoreKit/git/commits{/sha}","comments_url":"https://api.github.com/repos/MugunthKumar/MKStoreKit/comments{/number}","issue_comment_url":"https://api.github.com/repos/MugunthKumar/MKStoreKit/issues/comments/{number}","contents_url":"https://api.github.com/repos/MugunthKumar/MKStoreKit/contents/{+path}","compare_url":"https://api.github.com/repos/MugunthKumar/MKStoreKit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MugunthKumar/MKStoreKit/merges","archive_url":"https://api.github.com/repos/MugunthKumar/MKStoreKit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MugunthKumar/MKStoreKit/downloads","issues_url":"https://api.github.com/repos/MugunthKumar/MKStoreKit/issues{/number}","pulls_url":"https://api.github.com/repos/MugunthKumar/MKStoreKit/pulls{/number}","milestones_url":"https://api.github.com/repos/MugunthKumar/MKStoreKit/milestones{/number}","notifications_url":"https://api.github.com/repos/MugunthKumar/MKStoreKit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MugunthKumar/MKStoreKit/labels{/name}","releases_url":"https://api.github.com/repos/MugunthKumar/MKStoreKit/releases{/id}","created_at":"2011-01-17T03:20:14Z","updated_at":"2015-01-11T14:46:29Z","pushed_at":"2015-01-05T04:26:47Z","git_url":"git://github.com/MugunthKumar/MKStoreKit.git","ssh_url":"git@github.com:MugunthKumar/MKStoreKit.git","clone_url":"https://github.com/MugunthKumar/MKStoreKit.git","svn_url":"https://github.com/MugunthKumar/MKStoreKit","homepage":"","size":629,"stargazers_count":1579,"watchers_count":1579,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":383,"mirror_url":null,"open_issues_count":15,"forks":383,"open_issues":15,"watchers":1579,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/MugunthKumar/MKStoreKit/pulls/210"},"html":{"href":"https://github.com/MugunthKumar/MKStoreKit/pull/210"},"issue":{"href":"https://api.github.com/repos/MugunthKumar/MKStoreKit/issues/210"},"comments":{"href":"https://api.github.com/repos/MugunthKumar/MKStoreKit/issues/210/comments"},"review_comments":{"href":"https://api.github.com/repos/MugunthKumar/MKStoreKit/pulls/210/comments"},"review_comment":{"href":"https://api.github.com/repos/MugunthKumar/MKStoreKit/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/MugunthKumar/MKStoreKit/pulls/210/commits"},"statuses":{"href":"https://api.github.com/repos/MugunthKumar/MKStoreKit/statuses/7acc8545bbb95468394aa42c4223672ad83d03b7"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":8,"additions":392,"deletions":351,"changed_files":3}}