{"action":"opened","number":19,"pull_request":{"url":"https://api.github.com/repos/san0suke/pagseguro-assinaturas-rcs/pulls/19","id":155993605,"html_url":"https://github.com/san0suke/pagseguro-assinaturas-rcs/pull/19","diff_url":"https://github.com/san0suke/pagseguro-assinaturas-rcs/pull/19.diff","patch_url":"https://github.com/san0suke/pagseguro-assinaturas-rcs/pull/19.patch","issue_url":"https://api.github.com/repos/san0suke/pagseguro-assinaturas-rcs/issues/19","number":19,"state":"open","locked":false,"title":"Update PGA_Compra.class.php","user":{"login":"gbpenha","id":2614162,"avatar_url":"https://avatars1.githubusercontent.com/u/2614162?v=4","gravatar_id":"","url":"https://api.github.com/users/gbpenha","html_url":"https://github.com/gbpenha","followers_url":"https://api.github.com/users/gbpenha/followers","following_url":"https://api.github.com/users/gbpenha/following{/other_user}","gists_url":"https://api.github.com/users/gbpenha/gists{/gist_id}","starred_url":"https://api.github.com/users/gbpenha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gbpenha/subscriptions","organizations_url":"https://api.github.com/users/gbpenha/orgs","repos_url":"https://api.github.com/users/gbpenha/repos","events_url":"https://api.github.com/users/gbpenha/events{/privacy}","received_events_url":"https://api.github.com/users/gbpenha/received_events","type":"User","site_admin":false},"body":"Adicionei código para esvaziar o carrinho sempre que um novo plano de assinatura for selecionado. Ao invés de exibir o erro e obrigar o usuário a remover manualmente o produto antigo do carrinho, essa alteração remove automaticamente e substitui pelo novo plano selecionado.","created_at":"2017-12-02T02:12:13Z","updated_at":"2017-12-02T02:12:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/san0suke/pagseguro-assinaturas-rcs/pulls/19/commits","review_comments_url":"https://api.github.com/repos/san0suke/pagseguro-assinaturas-rcs/pulls/19/comments","review_comment_url":"https://api.github.com/repos/san0suke/pagseguro-assinaturas-rcs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/san0suke/pagseguro-assinaturas-rcs/issues/19/comments","statuses_url":"https://api.github.com/repos/san0suke/pagseguro-assinaturas-rcs/statuses/dcbc55b66f5e2fec5ad453784878bc91347518d3","head":{"label":"gbpenha:patch-1","ref":"patch-1","sha":"dcbc55b66f5e2fec5ad453784878bc91347518d3","user":{"login":"gbpenha","id":2614162,"avatar_url":"https://avatars1.githubusercontent.com/u/2614162?v=4","gravatar_id":"","url":"https://api.github.com/users/gbpenha","html_url":"https://github.com/gbpenha","followers_url":"https://api.github.com/users/gbpenha/followers","following_url":"https://api.github.com/users/gbpenha/following{/other_user}","gists_url":"https://api.github.com/users/gbpenha/gists{/gist_id}","starred_url":"https://api.github.com/users/gbpenha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gbpenha/subscriptions","organizations_url":"https://api.github.com/users/gbpenha/orgs","repos_url":"https://api.github.com/users/gbpenha/repos","events_url":"https://api.github.com/users/gbpenha/events{/privacy}","received_events_url":"https://api.github.com/users/gbpenha/received_events","type":"User","site_admin":false},"repo":{"id":112804964,"name":"pagseguro-assinaturas-rcs","full_name":"gbpenha/pagseguro-assinaturas-rcs","owner":{"login":"gbpenha","id":2614162,"avatar_url":"https://avatars1.githubusercontent.com/u/2614162?v=4","gravatar_id":"","url":"https://api.github.com/users/gbpenha","html_url":"https://github.com/gbpenha","followers_url":"https://api.github.com/users/gbpenha/followers","following_url":"https://api.github.com/users/gbpenha/following{/other_user}","gists_url":"https://api.github.com/users/gbpenha/gists{/gist_id}","starred_url":"https://api.github.com/users/gbpenha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gbpenha/subscriptions","organizations_url":"https://api.github.com/users/gbpenha/orgs","repos_url":"https://api.github.com/users/gbpenha/repos","events_url":"https://api.github.com/users/gbpenha/events{/privacy}","received_events_url":"https://api.github.com/users/gbpenha/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gbpenha/pagseguro-assinaturas-rcs","description":"Pagseguro Assinaturas","fork":true,"url":"https://api.github.com/repos/gbpenha/pagseguro-assinaturas-rcs","forks_url":"https://api.github.com/repos/gbpenha/pagseguro-assinaturas-rcs/forks","keys_url":"https://api.github.com/repos/gbpenha/pagseguro-assinaturas-rcs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gbpenha/pagseguro-assinaturas-rcs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gbpenha/pagseguro-assinaturas-rcs/teams","hooks_url":"https://api.github.com/repos/gbpenha/pagseguro-assinaturas-rcs/hooks","issue_events_url":"https://api.github.com/repos/gbpenha/pagseguro-assinaturas-rcs/issues/events{/number}","events_url":"https://api.github.com/repos/gbpenha/pagseguro-assinaturas-rcs/events","assignees_url":"https://api.github.com/repos/gbpenha/pagseguro-assinaturas-rcs/assignees{/user}","branches_url":"https://api.github.com/repos/gbpenha/pagseguro-assinaturas-rcs/branches{/branch}","tags_url":"https://api.github.com/repos/gbpenha/pagseguro-assinaturas-rcs/tags","blobs_url":"https://api.github.com/repos/gbpenha/pagseguro-assinaturas-rcs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gbpenha/pagseguro-assinaturas-rcs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gbpenha/pagseguro-assinaturas-rcs/git/refs{/sha}","trees_url":"https://api.github.com/repos/gbpenha/pagseguro-assinaturas-rcs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gbpenha/pagseguro-assinaturas-rcs/statuses/{sha}","languages_url":"https://api.github.com/repos/gbpenha/pagseguro-assinaturas-rcs/languages","stargazers_url":"https://api.github.com/repos/gbpenha/pagseguro-assinaturas-rcs/stargazers","contributors_url":"https://api.github.com/repos/gbpenha/pagseguro-assinaturas-rcs/contributors","subscribers_url":"https://api.github.com/repos/gbpenha/pagseguro-assinaturas-rcs/subscribers","subscription_url":"https://api.github.com/repos/gbpenha/pagseguro-assinaturas-rcs/subscription","commits_url":"https://api.github.com/repos/gbpenha/pagseguro-assinaturas-rcs/commits{/sha}","git_commits_url":"https://api.github.com/repos/gbpenha/pagseguro-assinaturas-rcs/git/commits{/sha}","comments_url":"https://api.github.com/repos/gbpenha/pagseguro-assinaturas-rcs/comments{/number}","issue_comment_url":"https://api.github.com/repos/gbpenha/pagseguro-assinaturas-rcs/issues/comments{/number}","contents_url":"https://api.github.com/repos/gbpenha/pagseguro-assinaturas-rcs/contents/{+path}","compare_url":"https://api.github.com/repos/gbpenha/pagseguro-assinaturas-rcs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gbpenha/pagseguro-assinaturas-rcs/merges","archive_url":"https://api.github.com/repos/gbpenha/pagseguro-assinaturas-rcs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gbpenha/pagseguro-assinaturas-rcs/downloads","issues_url":"https://api.github.com/repos/gbpenha/pagseguro-assinaturas-rcs/issues{/number}","pulls_url":"https://api.github.com/repos/gbpenha/pagseguro-assinaturas-rcs/pulls{/number}","milestones_url":"https://api.github.com/repos/gbpenha/pagseguro-assinaturas-rcs/milestones{/number}","notifications_url":"https://api.github.com/repos/gbpenha/pagseguro-assinaturas-rcs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gbpenha/pagseguro-assinaturas-rcs/labels{/name}","releases_url":"https://api.github.com/repos/gbpenha/pagseguro-assinaturas-rcs/releases{/id}","deployments_url":"https://api.github.com/repos/gbpenha/pagseguro-assinaturas-rcs/deployments","created_at":"2017-12-02T02:08:13Z","updated_at":"2017-12-02T02:08:14Z","pushed_at":"2017-12-02T02:11:49Z","git_url":"git://github.com/gbpenha/pagseguro-assinaturas-rcs.git","ssh_url":"git@github.com:gbpenha/pagseguro-assinaturas-rcs.git","clone_url":"https://github.com/gbpenha/pagseguro-assinaturas-rcs.git","svn_url":"https://github.com/gbpenha/pagseguro-assinaturas-rcs","homepage":null,"size":68,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"san0suke:master","ref":"master","sha":"4bf398f7d38f92f4f094d1395e13aaaac9c7bd58","user":{"login":"san0suke","id":8403779,"avatar_url":"https://avatars0.githubusercontent.com/u/8403779?v=4","gravatar_id":"","url":"https://api.github.com/users/san0suke","html_url":"https://github.com/san0suke","followers_url":"https://api.github.com/users/san0suke/followers","following_url":"https://api.github.com/users/san0suke/following{/other_user}","gists_url":"https://api.github.com/users/san0suke/gists{/gist_id}","starred_url":"https://api.github.com/users/san0suke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/san0suke/subscriptions","organizations_url":"https://api.github.com/users/san0suke/orgs","repos_url":"https://api.github.com/users/san0suke/repos","events_url":"https://api.github.com/users/san0suke/events{/privacy}","received_events_url":"https://api.github.com/users/san0suke/received_events","type":"User","site_admin":false},"repo":{"id":95971018,"name":"pagseguro-assinaturas-rcs","full_name":"san0suke/pagseguro-assinaturas-rcs","owner":{"login":"san0suke","id":8403779,"avatar_url":"https://avatars0.githubusercontent.com/u/8403779?v=4","gravatar_id":"","url":"https://api.github.com/users/san0suke","html_url":"https://github.com/san0suke","followers_url":"https://api.github.com/users/san0suke/followers","following_url":"https://api.github.com/users/san0suke/following{/other_user}","gists_url":"https://api.github.com/users/san0suke/gists{/gist_id}","starred_url":"https://api.github.com/users/san0suke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/san0suke/subscriptions","organizations_url":"https://api.github.com/users/san0suke/orgs","repos_url":"https://api.github.com/users/san0suke/repos","events_url":"https://api.github.com/users/san0suke/events{/privacy}","received_events_url":"https://api.github.com/users/san0suke/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/san0suke/pagseguro-assinaturas-rcs","description":"Pagseguro Assinaturas","fork":false,"url":"https://api.github.com/repos/san0suke/pagseguro-assinaturas-rcs","forks_url":"https://api.github.com/repos/san0suke/pagseguro-assinaturas-rcs/forks","keys_url":"https://api.github.com/repos/san0suke/pagseguro-assinaturas-rcs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/san0suke/pagseguro-assinaturas-rcs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/san0suke/pagseguro-assinaturas-rcs/teams","hooks_url":"https://api.github.com/repos/san0suke/pagseguro-assinaturas-rcs/hooks","issue_events_url":"https://api.github.com/repos/san0suke/pagseguro-assinaturas-rcs/issues/events{/number}","events_url":"https://api.github.com/repos/san0suke/pagseguro-assinaturas-rcs/events","assignees_url":"https://api.github.com/repos/san0suke/pagseguro-assinaturas-rcs/assignees{/user}","branches_url":"https://api.github.com/repos/san0suke/pagseguro-assinaturas-rcs/branches{/branch}","tags_url":"https://api.github.com/repos/san0suke/pagseguro-assinaturas-rcs/tags","blobs_url":"https://api.github.com/repos/san0suke/pagseguro-assinaturas-rcs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/san0suke/pagseguro-assinaturas-rcs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/san0suke/pagseguro-assinaturas-rcs/git/refs{/sha}","trees_url":"https://api.github.com/repos/san0suke/pagseguro-assinaturas-rcs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/san0suke/pagseguro-assinaturas-rcs/statuses/{sha}","languages_url":"https://api.github.com/repos/san0suke/pagseguro-assinaturas-rcs/languages","stargazers_url":"https://api.github.com/repos/san0suke/pagseguro-assinaturas-rcs/stargazers","contributors_url":"https://api.github.com/repos/san0suke/pagseguro-assinaturas-rcs/contributors","subscribers_url":"https://api.github.com/repos/san0suke/pagseguro-assinaturas-rcs/subscribers","subscription_url":"https://api.github.com/repos/san0suke/pagseguro-assinaturas-rcs/subscription","commits_url":"https://api.github.com/repos/san0suke/pagseguro-assinaturas-rcs/commits{/sha}","git_commits_url":"https://api.github.com/repos/san0suke/pagseguro-assinaturas-rcs/git/commits{/sha}","comments_url":"https://api.github.com/repos/san0suke/pagseguro-assinaturas-rcs/comments{/number}","issue_comment_url":"https://api.github.com/repos/san0suke/pagseguro-assinaturas-rcs/issues/comments{/number}","contents_url":"https://api.github.com/repos/san0suke/pagseguro-assinaturas-rcs/contents/{+path}","compare_url":"https://api.github.com/repos/san0suke/pagseguro-assinaturas-rcs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/san0suke/pagseguro-assinaturas-rcs/merges","archive_url":"https://api.github.com/repos/san0suke/pagseguro-assinaturas-rcs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/san0suke/pagseguro-assinaturas-rcs/downloads","issues_url":"https://api.github.com/repos/san0suke/pagseguro-assinaturas-rcs/issues{/number}","pulls_url":"https://api.github.com/repos/san0suke/pagseguro-assinaturas-rcs/pulls{/number}","milestones_url":"https://api.github.com/repos/san0suke/pagseguro-assinaturas-rcs/milestones{/number}","notifications_url":"https://api.github.com/repos/san0suke/pagseguro-assinaturas-rcs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/san0suke/pagseguro-assinaturas-rcs/labels{/name}","releases_url":"https://api.github.com/repos/san0suke/pagseguro-assinaturas-rcs/releases{/id}","deployments_url":"https://api.github.com/repos/san0suke/pagseguro-assinaturas-rcs/deployments","created_at":"2017-07-01T15:04:44Z","updated_at":"2017-11-15T13:59:32Z","pushed_at":"2017-08-16T11:43:15Z","git_url":"git://github.com/san0suke/pagseguro-assinaturas-rcs.git","ssh_url":"git@github.com:san0suke/pagseguro-assinaturas-rcs.git","clone_url":"https://github.com/san0suke/pagseguro-assinaturas-rcs.git","svn_url":"https://github.com/san0suke/pagseguro-assinaturas-rcs","homepage":null,"size":68,"stargazers_count":11,"watchers_count":11,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0"},"forks":5,"open_issues":5,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/san0suke/pagseguro-assinaturas-rcs/pulls/19"},"html":{"href":"https://github.com/san0suke/pagseguro-assinaturas-rcs/pull/19"},"issue":{"href":"https://api.github.com/repos/san0suke/pagseguro-assinaturas-rcs/issues/19"},"comments":{"href":"https://api.github.com/repos/san0suke/pagseguro-assinaturas-rcs/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/san0suke/pagseguro-assinaturas-rcs/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/san0suke/pagseguro-assinaturas-rcs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/san0suke/pagseguro-assinaturas-rcs/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/san0suke/pagseguro-assinaturas-rcs/statuses/dcbc55b66f5e2fec5ad453784878bc91347518d3"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":3,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"gbpenha"}}