{"action":"created","comment":{"url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/pulls/comments/78287110","id":78287110,"diff_hunk":"@@ -508,6 +508,9 @@ def invoice(self):\n         if self.should_invoice and not has_ipns:\n             total += self.raw_price\n \n+        elif self.is_lapsed_subscription:","path":"lindy/ticket/models/ticket.py","position":4,"original_position":4,"commit_id":"85a3b7c2f46d57c39103d3a1b848f98cea6746f8","original_commit_id":"85a3b7c2f46d57c39103d3a1b848f98cea6746f8","user":{"login":"NicoleZuckerman","id":2499004,"avatar_url":"https://avatars.githubusercontent.com/u/2499004?v=3","gravatar_id":"","url":"https://api.github.com/users/NicoleZuckerman","html_url":"https://github.com/NicoleZuckerman","followers_url":"https://api.github.com/users/NicoleZuckerman/followers","following_url":"https://api.github.com/users/NicoleZuckerman/following{/other_user}","gists_url":"https://api.github.com/users/NicoleZuckerman/gists{/gist_id}","starred_url":"https://api.github.com/users/NicoleZuckerman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NicoleZuckerman/subscriptions","organizations_url":"https://api.github.com/users/NicoleZuckerman/orgs","repos_url":"https://api.github.com/users/NicoleZuckerman/repos","events_url":"https://api.github.com/users/NicoleZuckerman/events{/privacy}","received_events_url":"https://api.github.com/users/NicoleZuckerman/received_events","type":"User","site_admin":false},"body":"Any objections to this?\r\nI didn't want to mess with should_invoice, it's used in too many different ways in too many different places.","created_at":"2016-09-11T03:05:44Z","updated_at":"2016-09-11T03:05:44Z","html_url":"https://github.com/SugarPushCode/FocusOnLindy/pull/50#discussion_r78287110","pull_request_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/pulls/50","_links":{"self":{"href":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/pulls/comments/78287110"},"html":{"href":"https://github.com/SugarPushCode/FocusOnLindy/pull/50#discussion_r78287110"},"pull_request":{"href":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/pulls/50"}}},"pull_request":{"url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/pulls/50","id":84775128,"html_url":"https://github.com/SugarPushCode/FocusOnLindy/pull/50","diff_url":"https://github.com/SugarPushCode/FocusOnLindy/pull/50.diff","patch_url":"https://github.com/SugarPushCode/FocusOnLindy/pull/50.patch","issue_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/issues/50","number":50,"state":"open","locked":false,"title":"Lapsed subs","user":{"login":"NicoleZuckerman","id":2499004,"avatar_url":"https://avatars.githubusercontent.com/u/2499004?v=3","gravatar_id":"","url":"https://api.github.com/users/NicoleZuckerman","html_url":"https://github.com/NicoleZuckerman","followers_url":"https://api.github.com/users/NicoleZuckerman/followers","following_url":"https://api.github.com/users/NicoleZuckerman/following{/other_user}","gists_url":"https://api.github.com/users/NicoleZuckerman/gists{/gist_id}","starred_url":"https://api.github.com/users/NicoleZuckerman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NicoleZuckerman/subscriptions","organizations_url":"https://api.github.com/users/NicoleZuckerman/orgs","repos_url":"https://api.github.com/users/NicoleZuckerman/repos","events_url":"https://api.github.com/users/NicoleZuckerman/events{/privacy}","received_events_url":"https://api.github.com/users/NicoleZuckerman/received_events","type":"User","site_admin":false},"body":"Adding a report for Jaya to view lapsed subscriptions.\r\nRe-introducing paypal button (subscription only) if subscription is lapsed (defined as: Most recent ipn is a termination-type transaction, and it's not fully paid).\r\n@NorthIsUp I'd really like your eyes on this because I changed things I didn't see the purpose of.","created_at":"2016-09-11T02:56:36Z","updated_at":"2016-09-11T03:05:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b780ba70501308284ef03ddc994f2103658e0a40","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/pulls/50/commits","review_comments_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/pulls/50/comments","review_comment_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/issues/50/comments","statuses_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/statuses/85a3b7c2f46d57c39103d3a1b848f98cea6746f8","head":{"label":"SugarPushCode:lapsed_subs","ref":"lapsed_subs","sha":"85a3b7c2f46d57c39103d3a1b848f98cea6746f8","user":{"login":"SugarPushCode","id":16787299,"avatar_url":"https://avatars.githubusercontent.com/u/16787299?v=3","gravatar_id":"","url":"https://api.github.com/users/SugarPushCode","html_url":"https://github.com/SugarPushCode","followers_url":"https://api.github.com/users/SugarPushCode/followers","following_url":"https://api.github.com/users/SugarPushCode/following{/other_user}","gists_url":"https://api.github.com/users/SugarPushCode/gists{/gist_id}","starred_url":"https://api.github.com/users/SugarPushCode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SugarPushCode/subscriptions","organizations_url":"https://api.github.com/users/SugarPushCode/orgs","repos_url":"https://api.github.com/users/SugarPushCode/repos","events_url":"https://api.github.com/users/SugarPushCode/events{/privacy}","received_events_url":"https://api.github.com/users/SugarPushCode/received_events","type":"Organization","site_admin":false},"repo":{"id":49990278,"name":"FocusOnLindy","full_name":"SugarPushCode/FocusOnLindy","owner":{"login":"SugarPushCode","id":16787299,"avatar_url":"https://avatars.githubusercontent.com/u/16787299?v=3","gravatar_id":"","url":"https://api.github.com/users/SugarPushCode","html_url":"https://github.com/SugarPushCode","followers_url":"https://api.github.com/users/SugarPushCode/followers","following_url":"https://api.github.com/users/SugarPushCode/following{/other_user}","gists_url":"https://api.github.com/users/SugarPushCode/gists{/gist_id}","starred_url":"https://api.github.com/users/SugarPushCode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SugarPushCode/subscriptions","organizations_url":"https://api.github.com/users/SugarPushCode/orgs","repos_url":"https://api.github.com/users/SugarPushCode/repos","events_url":"https://api.github.com/users/SugarPushCode/events{/privacy}","received_events_url":"https://api.github.com/users/SugarPushCode/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SugarPushCode/FocusOnLindy","description":"","fork":false,"url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy","forks_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/forks","keys_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/teams","hooks_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/hooks","issue_events_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/issues/events{/number}","events_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/events","assignees_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/assignees{/user}","branches_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/branches{/branch}","tags_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/tags","blobs_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/git/refs{/sha}","trees_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/statuses/{sha}","languages_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/languages","stargazers_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/stargazers","contributors_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/contributors","subscribers_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/subscribers","subscription_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/subscription","commits_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/commits{/sha}","git_commits_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/git/commits{/sha}","comments_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/comments{/number}","issue_comment_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/issues/comments{/number}","contents_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/contents/{+path}","compare_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/merges","archive_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/downloads","issues_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/issues{/number}","pulls_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/pulls{/number}","milestones_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/milestones{/number}","notifications_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/labels{/name}","releases_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/releases{/id}","deployments_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/deployments","created_at":"2016-01-19T23:25:07Z","updated_at":"2016-06-13T06:09:15Z","pushed_at":"2016-09-11T02:57:36Z","git_url":"git://github.com/SugarPushCode/FocusOnLindy.git","ssh_url":"git@github.com:SugarPushCode/FocusOnLindy.git","clone_url":"https://github.com/SugarPushCode/FocusOnLindy.git","svn_url":"https://github.com/SugarPushCode/FocusOnLindy","homepage":null,"size":1539,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":18,"forks":0,"open_issues":18,"watchers":0,"default_branch":"master"}},"base":{"label":"SugarPushCode:master","ref":"master","sha":"5848a044d8eea2e74ba364529a8b8152a09ee435","user":{"login":"SugarPushCode","id":16787299,"avatar_url":"https://avatars.githubusercontent.com/u/16787299?v=3","gravatar_id":"","url":"https://api.github.com/users/SugarPushCode","html_url":"https://github.com/SugarPushCode","followers_url":"https://api.github.com/users/SugarPushCode/followers","following_url":"https://api.github.com/users/SugarPushCode/following{/other_user}","gists_url":"https://api.github.com/users/SugarPushCode/gists{/gist_id}","starred_url":"https://api.github.com/users/SugarPushCode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SugarPushCode/subscriptions","organizations_url":"https://api.github.com/users/SugarPushCode/orgs","repos_url":"https://api.github.com/users/SugarPushCode/repos","events_url":"https://api.github.com/users/SugarPushCode/events{/privacy}","received_events_url":"https://api.github.com/users/SugarPushCode/received_events","type":"Organization","site_admin":false},"repo":{"id":49990278,"name":"FocusOnLindy","full_name":"SugarPushCode/FocusOnLindy","owner":{"login":"SugarPushCode","id":16787299,"avatar_url":"https://avatars.githubusercontent.com/u/16787299?v=3","gravatar_id":"","url":"https://api.github.com/users/SugarPushCode","html_url":"https://github.com/SugarPushCode","followers_url":"https://api.github.com/users/SugarPushCode/followers","following_url":"https://api.github.com/users/SugarPushCode/following{/other_user}","gists_url":"https://api.github.com/users/SugarPushCode/gists{/gist_id}","starred_url":"https://api.github.com/users/SugarPushCode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SugarPushCode/subscriptions","organizations_url":"https://api.github.com/users/SugarPushCode/orgs","repos_url":"https://api.github.com/users/SugarPushCode/repos","events_url":"https://api.github.com/users/SugarPushCode/events{/privacy}","received_events_url":"https://api.github.com/users/SugarPushCode/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SugarPushCode/FocusOnLindy","description":"","fork":false,"url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy","forks_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/forks","keys_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/teams","hooks_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/hooks","issue_events_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/issues/events{/number}","events_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/events","assignees_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/assignees{/user}","branches_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/branches{/branch}","tags_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/tags","blobs_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/git/refs{/sha}","trees_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/statuses/{sha}","languages_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/languages","stargazers_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/stargazers","contributors_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/contributors","subscribers_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/subscribers","subscription_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/subscription","commits_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/commits{/sha}","git_commits_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/git/commits{/sha}","comments_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/comments{/number}","issue_comment_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/issues/comments{/number}","contents_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/contents/{+path}","compare_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/merges","archive_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/downloads","issues_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/issues{/number}","pulls_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/pulls{/number}","milestones_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/milestones{/number}","notifications_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/labels{/name}","releases_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/releases{/id}","deployments_url":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/deployments","created_at":"2016-01-19T23:25:07Z","updated_at":"2016-06-13T06:09:15Z","pushed_at":"2016-09-11T02:57:36Z","git_url":"git://github.com/SugarPushCode/FocusOnLindy.git","ssh_url":"git@github.com:SugarPushCode/FocusOnLindy.git","clone_url":"https://github.com/SugarPushCode/FocusOnLindy.git","svn_url":"https://github.com/SugarPushCode/FocusOnLindy","homepage":null,"size":1539,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":18,"forks":0,"open_issues":18,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/pulls/50"},"html":{"href":"https://github.com/SugarPushCode/FocusOnLindy/pull/50"},"issue":{"href":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/issues/50"},"comments":{"href":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/issues/50/comments"},"review_comments":{"href":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/pulls/50/comments"},"review_comment":{"href":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/pulls/50/commits"},"statuses":{"href":"https://api.github.com/repos/SugarPushCode/FocusOnLindy/statuses/85a3b7c2f46d57c39103d3a1b848f98cea6746f8"}}}}
{"actor":{"display_login":"NicoleZuckerman"}}