{"action":"closed","number":12,"pull_request":{"url":"https://api.github.com/repos/Wizcorp/node-iap/pulls/12","id":32090474,"html_url":"https://github.com/Wizcorp/node-iap/pull/12","diff_url":"https://github.com/Wizcorp/node-iap/pull/12.diff","patch_url":"https://github.com/Wizcorp/node-iap/pull/12.patch","issue_url":"https://api.github.com/repos/Wizcorp/node-iap/issues/12","number":12,"state":"closed","locked":false,"title":"indicate payment mode by adding mode in result of verifyPayment (apple only)","user":{"login":"pluspingya","id":2391982,"avatar_url":"https://avatars.githubusercontent.com/u/2391982?v=3","gravatar_id":"","url":"https://api.github.com/users/pluspingya","html_url":"https://github.com/pluspingya","followers_url":"https://api.github.com/users/pluspingya/followers","following_url":"https://api.github.com/users/pluspingya/following{/other_user}","gists_url":"https://api.github.com/users/pluspingya/gists{/gist_id}","starred_url":"https://api.github.com/users/pluspingya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pluspingya/subscriptions","organizations_url":"https://api.github.com/users/pluspingya/orgs","repos_url":"https://api.github.com/users/pluspingya/repos","events_url":"https://api.github.com/users/pluspingya/events{/privacy}","received_events_url":"https://api.github.com/users/pluspingya/received_events","type":"User","site_admin":false},"body":"This PR adds payment mode indication, \r\nwhether 'sandbox' or 'production' for apple platform\r\n\r\n```\r\nvar platform = 'apple';\r\nverifyPayment(platform, receipt, function(err, result) {\r\nconsole.log(result.mode); // 'sandbox' or 'production'\r\n});\r\n```","created_at":"2015-03-27T08:34:09Z","updated_at":"2015-11-26T02:32:10Z","closed_at":"2015-11-26T02:32:10Z","merged_at":"2015-11-26T02:32:09Z","merge_commit_sha":"74ff643c409999ce6658d82c5aa9ce1e33ef779a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Wizcorp/node-iap/pulls/12/commits","review_comments_url":"https://api.github.com/repos/Wizcorp/node-iap/pulls/12/comments","review_comment_url":"https://api.github.com/repos/Wizcorp/node-iap/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Wizcorp/node-iap/issues/12/comments","statuses_url":"https://api.github.com/repos/Wizcorp/node-iap/statuses/56576d0b984e503d77fddb998f1774fcc4a05a67","head":{"label":"pluspingya:indicate-mode-sandbox-or-prod","ref":"indicate-mode-sandbox-or-prod","sha":"56576d0b984e503d77fddb998f1774fcc4a05a67","user":{"login":"pluspingya","id":2391982,"avatar_url":"https://avatars.githubusercontent.com/u/2391982?v=3","gravatar_id":"","url":"https://api.github.com/users/pluspingya","html_url":"https://github.com/pluspingya","followers_url":"https://api.github.com/users/pluspingya/followers","following_url":"https://api.github.com/users/pluspingya/following{/other_user}","gists_url":"https://api.github.com/users/pluspingya/gists{/gist_id}","starred_url":"https://api.github.com/users/pluspingya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pluspingya/subscriptions","organizations_url":"https://api.github.com/users/pluspingya/orgs","repos_url":"https://api.github.com/users/pluspingya/repos","events_url":"https://api.github.com/users/pluspingya/events{/privacy}","received_events_url":"https://api.github.com/users/pluspingya/received_events","type":"User","site_admin":false},"repo":{"id":32973630,"name":"node-iap","full_name":"pluspingya/node-iap","owner":{"login":"pluspingya","id":2391982,"avatar_url":"https://avatars.githubusercontent.com/u/2391982?v=3","gravatar_id":"","url":"https://api.github.com/users/pluspingya","html_url":"https://github.com/pluspingya","followers_url":"https://api.github.com/users/pluspingya/followers","following_url":"https://api.github.com/users/pluspingya/following{/other_user}","gists_url":"https://api.github.com/users/pluspingya/gists{/gist_id}","starred_url":"https://api.github.com/users/pluspingya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pluspingya/subscriptions","organizations_url":"https://api.github.com/users/pluspingya/orgs","repos_url":"https://api.github.com/users/pluspingya/repos","events_url":"https://api.github.com/users/pluspingya/events{/privacy}","received_events_url":"https://api.github.com/users/pluspingya/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pluspingya/node-iap","description":"In-app purchase verification for Apple App Store and Google Play","fork":true,"url":"https://api.github.com/repos/pluspingya/node-iap","forks_url":"https://api.github.com/repos/pluspingya/node-iap/forks","keys_url":"https://api.github.com/repos/pluspingya/node-iap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pluspingya/node-iap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pluspingya/node-iap/teams","hooks_url":"https://api.github.com/repos/pluspingya/node-iap/hooks","issue_events_url":"https://api.github.com/repos/pluspingya/node-iap/issues/events{/number}","events_url":"https://api.github.com/repos/pluspingya/node-iap/events","assignees_url":"https://api.github.com/repos/pluspingya/node-iap/assignees{/user}","branches_url":"https://api.github.com/repos/pluspingya/node-iap/branches{/branch}","tags_url":"https://api.github.com/repos/pluspingya/node-iap/tags","blobs_url":"https://api.github.com/repos/pluspingya/node-iap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pluspingya/node-iap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pluspingya/node-iap/git/refs{/sha}","trees_url":"https://api.github.com/repos/pluspingya/node-iap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pluspingya/node-iap/statuses/{sha}","languages_url":"https://api.github.com/repos/pluspingya/node-iap/languages","stargazers_url":"https://api.github.com/repos/pluspingya/node-iap/stargazers","contributors_url":"https://api.github.com/repos/pluspingya/node-iap/contributors","subscribers_url":"https://api.github.com/repos/pluspingya/node-iap/subscribers","subscription_url":"https://api.github.com/repos/pluspingya/node-iap/subscription","commits_url":"https://api.github.com/repos/pluspingya/node-iap/commits{/sha}","git_commits_url":"https://api.github.com/repos/pluspingya/node-iap/git/commits{/sha}","comments_url":"https://api.github.com/repos/pluspingya/node-iap/comments{/number}","issue_comment_url":"https://api.github.com/repos/pluspingya/node-iap/issues/comments{/number}","contents_url":"https://api.github.com/repos/pluspingya/node-iap/contents/{+path}","compare_url":"https://api.github.com/repos/pluspingya/node-iap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pluspingya/node-iap/merges","archive_url":"https://api.github.com/repos/pluspingya/node-iap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pluspingya/node-iap/downloads","issues_url":"https://api.github.com/repos/pluspingya/node-iap/issues{/number}","pulls_url":"https://api.github.com/repos/pluspingya/node-iap/pulls{/number}","milestones_url":"https://api.github.com/repos/pluspingya/node-iap/milestones{/number}","notifications_url":"https://api.github.com/repos/pluspingya/node-iap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pluspingya/node-iap/labels{/name}","releases_url":"https://api.github.com/repos/pluspingya/node-iap/releases{/id}","created_at":"2015-03-27T07:41:43Z","updated_at":"2015-03-27T07:41:44Z","pushed_at":"2015-11-25T12:55:54Z","git_url":"git://github.com/pluspingya/node-iap.git","ssh_url":"git@github.com:pluspingya/node-iap.git","clone_url":"https://github.com/pluspingya/node-iap.git","svn_url":"https://github.com/pluspingya/node-iap","homepage":"","size":37,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"Wizcorp:master","ref":"master","sha":"2468d125b9f831ed5162403d440a07a5ee4482cb","user":{"login":"Wizcorp","id":592346,"avatar_url":"https://avatars.githubusercontent.com/u/592346?v=3","gravatar_id":"","url":"https://api.github.com/users/Wizcorp","html_url":"https://github.com/Wizcorp","followers_url":"https://api.github.com/users/Wizcorp/followers","following_url":"https://api.github.com/users/Wizcorp/following{/other_user}","gists_url":"https://api.github.com/users/Wizcorp/gists{/gist_id}","starred_url":"https://api.github.com/users/Wizcorp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wizcorp/subscriptions","organizations_url":"https://api.github.com/users/Wizcorp/orgs","repos_url":"https://api.github.com/users/Wizcorp/repos","events_url":"https://api.github.com/users/Wizcorp/events{/privacy}","received_events_url":"https://api.github.com/users/Wizcorp/received_events","type":"Organization","site_admin":false},"repo":{"id":17165350,"name":"node-iap","full_name":"Wizcorp/node-iap","owner":{"login":"Wizcorp","id":592346,"avatar_url":"https://avatars.githubusercontent.com/u/592346?v=3","gravatar_id":"","url":"https://api.github.com/users/Wizcorp","html_url":"https://github.com/Wizcorp","followers_url":"https://api.github.com/users/Wizcorp/followers","following_url":"https://api.github.com/users/Wizcorp/following{/other_user}","gists_url":"https://api.github.com/users/Wizcorp/gists{/gist_id}","starred_url":"https://api.github.com/users/Wizcorp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wizcorp/subscriptions","organizations_url":"https://api.github.com/users/Wizcorp/orgs","repos_url":"https://api.github.com/users/Wizcorp/repos","events_url":"https://api.github.com/users/Wizcorp/events{/privacy}","received_events_url":"https://api.github.com/users/Wizcorp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Wizcorp/node-iap","description":"In-app purchase verification for Apple App Store and Google Play","fork":false,"url":"https://api.github.com/repos/Wizcorp/node-iap","forks_url":"https://api.github.com/repos/Wizcorp/node-iap/forks","keys_url":"https://api.github.com/repos/Wizcorp/node-iap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Wizcorp/node-iap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Wizcorp/node-iap/teams","hooks_url":"https://api.github.com/repos/Wizcorp/node-iap/hooks","issue_events_url":"https://api.github.com/repos/Wizcorp/node-iap/issues/events{/number}","events_url":"https://api.github.com/repos/Wizcorp/node-iap/events","assignees_url":"https://api.github.com/repos/Wizcorp/node-iap/assignees{/user}","branches_url":"https://api.github.com/repos/Wizcorp/node-iap/branches{/branch}","tags_url":"https://api.github.com/repos/Wizcorp/node-iap/tags","blobs_url":"https://api.github.com/repos/Wizcorp/node-iap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Wizcorp/node-iap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Wizcorp/node-iap/git/refs{/sha}","trees_url":"https://api.github.com/repos/Wizcorp/node-iap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Wizcorp/node-iap/statuses/{sha}","languages_url":"https://api.github.com/repos/Wizcorp/node-iap/languages","stargazers_url":"https://api.github.com/repos/Wizcorp/node-iap/stargazers","contributors_url":"https://api.github.com/repos/Wizcorp/node-iap/contributors","subscribers_url":"https://api.github.com/repos/Wizcorp/node-iap/subscribers","subscription_url":"https://api.github.com/repos/Wizcorp/node-iap/subscription","commits_url":"https://api.github.com/repos/Wizcorp/node-iap/commits{/sha}","git_commits_url":"https://api.github.com/repos/Wizcorp/node-iap/git/commits{/sha}","comments_url":"https://api.github.com/repos/Wizcorp/node-iap/comments{/number}","issue_comment_url":"https://api.github.com/repos/Wizcorp/node-iap/issues/comments{/number}","contents_url":"https://api.github.com/repos/Wizcorp/node-iap/contents/{+path}","compare_url":"https://api.github.com/repos/Wizcorp/node-iap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Wizcorp/node-iap/merges","archive_url":"https://api.github.com/repos/Wizcorp/node-iap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Wizcorp/node-iap/downloads","issues_url":"https://api.github.com/repos/Wizcorp/node-iap/issues{/number}","pulls_url":"https://api.github.com/repos/Wizcorp/node-iap/pulls{/number}","milestones_url":"https://api.github.com/repos/Wizcorp/node-iap/milestones{/number}","notifications_url":"https://api.github.com/repos/Wizcorp/node-iap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Wizcorp/node-iap/labels{/name}","releases_url":"https://api.github.com/repos/Wizcorp/node-iap/releases{/id}","created_at":"2014-02-25T07:47:08Z","updated_at":"2015-11-16T11:36:14Z","pushed_at":"2015-11-26T02:32:09Z","git_url":"git://github.com/Wizcorp/node-iap.git","ssh_url":"git@github.com:Wizcorp/node-iap.git","clone_url":"https://github.com/Wizcorp/node-iap.git","svn_url":"https://github.com/Wizcorp/node-iap","homepage":"","size":341,"stargazers_count":35,"watchers_count":35,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":19,"mirror_url":null,"open_issues_count":4,"forks":19,"open_issues":4,"watchers":35,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Wizcorp/node-iap/pulls/12"},"html":{"href":"https://github.com/Wizcorp/node-iap/pull/12"},"issue":{"href":"https://api.github.com/repos/Wizcorp/node-iap/issues/12"},"comments":{"href":"https://api.github.com/repos/Wizcorp/node-iap/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/Wizcorp/node-iap/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/Wizcorp/node-iap/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Wizcorp/node-iap/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/Wizcorp/node-iap/statuses/56576d0b984e503d77fddb998f1774fcc4a05a67"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"ronkorving","id":631240,"avatar_url":"https://avatars.githubusercontent.com/u/631240?v=3","gravatar_id":"","url":"https://api.github.com/users/ronkorving","html_url":"https://github.com/ronkorving","followers_url":"https://api.github.com/users/ronkorving/followers","following_url":"https://api.github.com/users/ronkorving/following{/other_user}","gists_url":"https://api.github.com/users/ronkorving/gists{/gist_id}","starred_url":"https://api.github.com/users/ronkorving/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ronkorving/subscriptions","organizations_url":"https://api.github.com/users/ronkorving/orgs","repos_url":"https://api.github.com/users/ronkorving/repos","events_url":"https://api.github.com/users/ronkorving/events{/privacy}","received_events_url":"https://api.github.com/users/ronkorving/received_events","type":"User","site_admin":false},"comments":4,"review_comments":0,"commits":5,"additions":9,"deletions":4,"changed_files":2}}