{"action":"opened","number":519,"pull_request":{"url":"https://api.github.com/repos/j3k0/cordova-plugin-purchase/pulls/519","id":90488501,"html_url":"https://github.com/j3k0/cordova-plugin-purchase/pull/519","diff_url":"https://github.com/j3k0/cordova-plugin-purchase/pull/519.diff","patch_url":"https://github.com/j3k0/cordova-plugin-purchase/pull/519.patch","issue_url":"https://api.github.com/repos/j3k0/cordova-plugin-purchase/issues/519","number":519,"state":"open","locked":false,"title":"Extend additionalData usage, add developer payload","user":{"login":"tehmaestro","id":9526833,"avatar_url":"https://avatars.githubusercontent.com/u/9526833?v=3","gravatar_id":"","url":"https://api.github.com/users/tehmaestro","html_url":"https://github.com/tehmaestro","followers_url":"https://api.github.com/users/tehmaestro/followers","following_url":"https://api.github.com/users/tehmaestro/following{/other_user}","gists_url":"https://api.github.com/users/tehmaestro/gists{/gist_id}","starred_url":"https://api.github.com/users/tehmaestro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tehmaestro/subscriptions","organizations_url":"https://api.github.com/users/tehmaestro/orgs","repos_url":"https://api.github.com/users/tehmaestro/repos","events_url":"https://api.github.com/users/tehmaestro/events{/privacy}","received_events_url":"https://api.github.com/users/tehmaestro/received_events","type":"User","site_admin":false},"body":"Hi, here's an example of extending the use of additionalData. I rely on the developerPayload option and I need it to be sent from javascript. So I used the additionalData parameter to do this.\r\n\r\n  This pull request is based on my previous pull request.","created_at":"2016-10-22T17:11:36Z","updated_at":"2016-10-22T17:11:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/j3k0/cordova-plugin-purchase/pulls/519/commits","review_comments_url":"https://api.github.com/repos/j3k0/cordova-plugin-purchase/pulls/519/comments","review_comment_url":"https://api.github.com/repos/j3k0/cordova-plugin-purchase/pulls/comments{/number}","comments_url":"https://api.github.com/repos/j3k0/cordova-plugin-purchase/issues/519/comments","statuses_url":"https://api.github.com/repos/j3k0/cordova-plugin-purchase/statuses/1f438b896a43b891fac0ac07b9dda220427a7f10","head":{"label":"tehmaestro:developer-payload","ref":"developer-payload","sha":"1f438b896a43b891fac0ac07b9dda220427a7f10","user":{"login":"tehmaestro","id":9526833,"avatar_url":"https://avatars.githubusercontent.com/u/9526833?v=3","gravatar_id":"","url":"https://api.github.com/users/tehmaestro","html_url":"https://github.com/tehmaestro","followers_url":"https://api.github.com/users/tehmaestro/followers","following_url":"https://api.github.com/users/tehmaestro/following{/other_user}","gists_url":"https://api.github.com/users/tehmaestro/gists{/gist_id}","starred_url":"https://api.github.com/users/tehmaestro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tehmaestro/subscriptions","organizations_url":"https://api.github.com/users/tehmaestro/orgs","repos_url":"https://api.github.com/users/tehmaestro/repos","events_url":"https://api.github.com/users/tehmaestro/events{/privacy}","received_events_url":"https://api.github.com/users/tehmaestro/received_events","type":"User","site_admin":false},"repo":{"id":47619925,"name":"cordova-plugin-purchase","full_name":"tehmaestro/cordova-plugin-purchase","owner":{"login":"tehmaestro","id":9526833,"avatar_url":"https://avatars.githubusercontent.com/u/9526833?v=3","gravatar_id":"","url":"https://api.github.com/users/tehmaestro","html_url":"https://github.com/tehmaestro","followers_url":"https://api.github.com/users/tehmaestro/followers","following_url":"https://api.github.com/users/tehmaestro/following{/other_user}","gists_url":"https://api.github.com/users/tehmaestro/gists{/gist_id}","starred_url":"https://api.github.com/users/tehmaestro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tehmaestro/subscriptions","organizations_url":"https://api.github.com/users/tehmaestro/orgs","repos_url":"https://api.github.com/users/tehmaestro/repos","events_url":"https://api.github.com/users/tehmaestro/events{/privacy}","received_events_url":"https://api.github.com/users/tehmaestro/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tehmaestro/cordova-plugin-purchase","description":"In-App Purchase for PhoneGap / Cordova iOS and Android","fork":true,"url":"https://api.github.com/repos/tehmaestro/cordova-plugin-purchase","forks_url":"https://api.github.com/repos/tehmaestro/cordova-plugin-purchase/forks","keys_url":"https://api.github.com/repos/tehmaestro/cordova-plugin-purchase/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tehmaestro/cordova-plugin-purchase/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tehmaestro/cordova-plugin-purchase/teams","hooks_url":"https://api.github.com/repos/tehmaestro/cordova-plugin-purchase/hooks","issue_events_url":"https://api.github.com/repos/tehmaestro/cordova-plugin-purchase/issues/events{/number}","events_url":"https://api.github.com/repos/tehmaestro/cordova-plugin-purchase/events","assignees_url":"https://api.github.com/repos/tehmaestro/cordova-plugin-purchase/assignees{/user}","branches_url":"https://api.github.com/repos/tehmaestro/cordova-plugin-purchase/branches{/branch}","tags_url":"https://api.github.com/repos/tehmaestro/cordova-plugin-purchase/tags","blobs_url":"https://api.github.com/repos/tehmaestro/cordova-plugin-purchase/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tehmaestro/cordova-plugin-purchase/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tehmaestro/cordova-plugin-purchase/git/refs{/sha}","trees_url":"https://api.github.com/repos/tehmaestro/cordova-plugin-purchase/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tehmaestro/cordova-plugin-purchase/statuses/{sha}","languages_url":"https://api.github.com/repos/tehmaestro/cordova-plugin-purchase/languages","stargazers_url":"https://api.github.com/repos/tehmaestro/cordova-plugin-purchase/stargazers","contributors_url":"https://api.github.com/repos/tehmaestro/cordova-plugin-purchase/contributors","subscribers_url":"https://api.github.com/repos/tehmaestro/cordova-plugin-purchase/subscribers","subscription_url":"https://api.github.com/repos/tehmaestro/cordova-plugin-purchase/subscription","commits_url":"https://api.github.com/repos/tehmaestro/cordova-plugin-purchase/commits{/sha}","git_commits_url":"https://api.github.com/repos/tehmaestro/cordova-plugin-purchase/git/commits{/sha}","comments_url":"https://api.github.com/repos/tehmaestro/cordova-plugin-purchase/comments{/number}","issue_comment_url":"https://api.github.com/repos/tehmaestro/cordova-plugin-purchase/issues/comments{/number}","contents_url":"https://api.github.com/repos/tehmaestro/cordova-plugin-purchase/contents/{+path}","compare_url":"https://api.github.com/repos/tehmaestro/cordova-plugin-purchase/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tehmaestro/cordova-plugin-purchase/merges","archive_url":"https://api.github.com/repos/tehmaestro/cordova-plugin-purchase/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tehmaestro/cordova-plugin-purchase/downloads","issues_url":"https://api.github.com/repos/tehmaestro/cordova-plugin-purchase/issues{/number}","pulls_url":"https://api.github.com/repos/tehmaestro/cordova-plugin-purchase/pulls{/number}","milestones_url":"https://api.github.com/repos/tehmaestro/cordova-plugin-purchase/milestones{/number}","notifications_url":"https://api.github.com/repos/tehmaestro/cordova-plugin-purchase/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tehmaestro/cordova-plugin-purchase/labels{/name}","releases_url":"https://api.github.com/repos/tehmaestro/cordova-plugin-purchase/releases{/id}","deployments_url":"https://api.github.com/repos/tehmaestro/cordova-plugin-purchase/deployments","created_at":"2015-12-08T12:11:42Z","updated_at":"2016-05-19T10:02:23Z","pushed_at":"2016-10-22T17:03:24Z","git_url":"git://github.com/tehmaestro/cordova-plugin-purchase.git","ssh_url":"git@github.com:tehmaestro/cordova-plugin-purchase.git","clone_url":"https://github.com/tehmaestro/cordova-plugin-purchase.git","svn_url":"https://github.com/tehmaestro/cordova-plugin-purchase","homepage":"","size":1351,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":0,"forks":2,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"j3k0:master","ref":"master","sha":"cec592a18aa8b560471926db76e89b20ecb9a604","user":{"login":"j3k0","id":191881,"avatar_url":"https://avatars.githubusercontent.com/u/191881?v=3","gravatar_id":"","url":"https://api.github.com/users/j3k0","html_url":"https://github.com/j3k0","followers_url":"https://api.github.com/users/j3k0/followers","following_url":"https://api.github.com/users/j3k0/following{/other_user}","gists_url":"https://api.github.com/users/j3k0/gists{/gist_id}","starred_url":"https://api.github.com/users/j3k0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j3k0/subscriptions","organizations_url":"https://api.github.com/users/j3k0/orgs","repos_url":"https://api.github.com/users/j3k0/repos","events_url":"https://api.github.com/users/j3k0/events{/privacy}","received_events_url":"https://api.github.com/users/j3k0/received_events","type":"User","site_admin":false},"repo":{"id":10525148,"name":"cordova-plugin-purchase","full_name":"j3k0/cordova-plugin-purchase","owner":{"login":"j3k0","id":191881,"avatar_url":"https://avatars.githubusercontent.com/u/191881?v=3","gravatar_id":"","url":"https://api.github.com/users/j3k0","html_url":"https://github.com/j3k0","followers_url":"https://api.github.com/users/j3k0/followers","following_url":"https://api.github.com/users/j3k0/following{/other_user}","gists_url":"https://api.github.com/users/j3k0/gists{/gist_id}","starred_url":"https://api.github.com/users/j3k0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j3k0/subscriptions","organizations_url":"https://api.github.com/users/j3k0/orgs","repos_url":"https://api.github.com/users/j3k0/repos","events_url":"https://api.github.com/users/j3k0/events{/privacy}","received_events_url":"https://api.github.com/users/j3k0/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/j3k0/cordova-plugin-purchase","description":"In-App Purchase for Cordova on iOS, Android and Windows","fork":false,"url":"https://api.github.com/repos/j3k0/cordova-plugin-purchase","forks_url":"https://api.github.com/repos/j3k0/cordova-plugin-purchase/forks","keys_url":"https://api.github.com/repos/j3k0/cordova-plugin-purchase/keys{/key_id}","collaborators_url":"https://api.github.com/repos/j3k0/cordova-plugin-purchase/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/j3k0/cordova-plugin-purchase/teams","hooks_url":"https://api.github.com/repos/j3k0/cordova-plugin-purchase/hooks","issue_events_url":"https://api.github.com/repos/j3k0/cordova-plugin-purchase/issues/events{/number}","events_url":"https://api.github.com/repos/j3k0/cordova-plugin-purchase/events","assignees_url":"https://api.github.com/repos/j3k0/cordova-plugin-purchase/assignees{/user}","branches_url":"https://api.github.com/repos/j3k0/cordova-plugin-purchase/branches{/branch}","tags_url":"https://api.github.com/repos/j3k0/cordova-plugin-purchase/tags","blobs_url":"https://api.github.com/repos/j3k0/cordova-plugin-purchase/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/j3k0/cordova-plugin-purchase/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/j3k0/cordova-plugin-purchase/git/refs{/sha}","trees_url":"https://api.github.com/repos/j3k0/cordova-plugin-purchase/git/trees{/sha}","statuses_url":"https://api.github.com/repos/j3k0/cordova-plugin-purchase/statuses/{sha}","languages_url":"https://api.github.com/repos/j3k0/cordova-plugin-purchase/languages","stargazers_url":"https://api.github.com/repos/j3k0/cordova-plugin-purchase/stargazers","contributors_url":"https://api.github.com/repos/j3k0/cordova-plugin-purchase/contributors","subscribers_url":"https://api.github.com/repos/j3k0/cordova-plugin-purchase/subscribers","subscription_url":"https://api.github.com/repos/j3k0/cordova-plugin-purchase/subscription","commits_url":"https://api.github.com/repos/j3k0/cordova-plugin-purchase/commits{/sha}","git_commits_url":"https://api.github.com/repos/j3k0/cordova-plugin-purchase/git/commits{/sha}","comments_url":"https://api.github.com/repos/j3k0/cordova-plugin-purchase/comments{/number}","issue_comment_url":"https://api.github.com/repos/j3k0/cordova-plugin-purchase/issues/comments{/number}","contents_url":"https://api.github.com/repos/j3k0/cordova-plugin-purchase/contents/{+path}","compare_url":"https://api.github.com/repos/j3k0/cordova-plugin-purchase/compare/{base}...{head}","merges_url":"https://api.github.com/repos/j3k0/cordova-plugin-purchase/merges","archive_url":"https://api.github.com/repos/j3k0/cordova-plugin-purchase/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/j3k0/cordova-plugin-purchase/downloads","issues_url":"https://api.github.com/repos/j3k0/cordova-plugin-purchase/issues{/number}","pulls_url":"https://api.github.com/repos/j3k0/cordova-plugin-purchase/pulls{/number}","milestones_url":"https://api.github.com/repos/j3k0/cordova-plugin-purchase/milestones{/number}","notifications_url":"https://api.github.com/repos/j3k0/cordova-plugin-purchase/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/j3k0/cordova-plugin-purchase/labels{/name}","releases_url":"https://api.github.com/repos/j3k0/cordova-plugin-purchase/releases{/id}","deployments_url":"https://api.github.com/repos/j3k0/cordova-plugin-purchase/deployments","created_at":"2013-06-06T11:38:43Z","updated_at":"2016-10-22T04:38:17Z","pushed_at":"2016-10-22T14:01:33Z","git_url":"git://github.com/j3k0/cordova-plugin-purchase.git","ssh_url":"git@github.com:j3k0/cordova-plugin-purchase.git","clone_url":"https://github.com/j3k0/cordova-plugin-purchase.git","svn_url":"https://github.com/j3k0/cordova-plugin-purchase","homepage":"","size":1492,"stargazers_count":643,"watchers_count":643,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":272,"mirror_url":null,"open_issues_count":265,"forks":272,"open_issues":265,"watchers":643,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/j3k0/cordova-plugin-purchase/pulls/519"},"html":{"href":"https://github.com/j3k0/cordova-plugin-purchase/pull/519"},"issue":{"href":"https://api.github.com/repos/j3k0/cordova-plugin-purchase/issues/519"},"comments":{"href":"https://api.github.com/repos/j3k0/cordova-plugin-purchase/issues/519/comments"},"review_comments":{"href":"https://api.github.com/repos/j3k0/cordova-plugin-purchase/pulls/519/comments"},"review_comment":{"href":"https://api.github.com/repos/j3k0/cordova-plugin-purchase/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/j3k0/cordova-plugin-purchase/pulls/519/commits"},"statuses":{"href":"https://api.github.com/repos/j3k0/cordova-plugin-purchase/statuses/1f438b896a43b891fac0ac07b9dda220427a7f10"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":4,"additions":66,"deletions":38,"changed_files":7}}
{"actor":{"display_login":"tehmaestro"}}