{"action":"created","comment":{"url":"https://api.github.com/repos/crdschurch/crds-service-finance/pulls/comments/207991041","pull_request_review_id":143713821,"id":207991041,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNzk5MTA0MQ==","diff_hunk":"@@ -174,13 +174,19 @@ public RecurringGiftDto UpdateRecurringGift(PushpayWebhook webhook)\n             if (status == \"Active\")\n             {\n                 var updatedMpRecurringGift = BuildUpdateRecurringGift(existingMpRecurringGift, updatedPushpayRecurringGift);\r\n+\r\n+                // vendor detail url is not available in the pushpay api when getting a recurring gift\r\n+                updatedMpRecurringGift.Add(new JProperty(\"Vendor_Detail_URL\", webhook.Events[0].Links.ViewRecurringPayment));\r\n                 _recurringGiftRepository.UpdateRecurringGift(updatedMpRecurringGift);\r\n                 var updatedDonorAccount = BuildUpdateDonorAccount(existingMpRecurringGift, updatedPushpayRecurringGift);\r\n                 _donationService.UpdateDonorAccount(updatedDonorAccount);\n             }\r\n             else if (status == \"Cancelled\" || status == \"Paused\")\r\n             {\r\n                 var updatedMpRecurringGift = BuildEndDatedRecurringGift(existingMpRecurringGift, updatedPushpayRecurringGift);\r\n+\r\n+                // vendor detail url is not available in the pushpay api when getting a recurring gift\r\n+                updatedMpRecurringGift.Add(new JProperty(\"Vendor_Detail_URL\", webhook.Events[0].Links.ViewRecurringPayment));\r","path":"Crossroads.Service.Finance/Services/Pushpay/PushpayService.cs","position":16,"original_position":16,"commit_id":"fa78f304c87daeac4b28f415f70ae6152f4e0271","original_commit_id":"fa78f304c87daeac4b28f415f70ae6152f4e0271","user":{"login":"timmyg","id":1144242,"node_id":"MDQ6VXNlcjExNDQyNDI=","avatar_url":"https://avatars0.githubusercontent.com/u/1144242?v=4","gravatar_id":"","url":"https://api.github.com/users/timmyg","html_url":"https://github.com/timmyg","followers_url":"https://api.github.com/users/timmyg/followers","following_url":"https://api.github.com/users/timmyg/following{/other_user}","gists_url":"https://api.github.com/users/timmyg/gists{/gist_id}","starred_url":"https://api.github.com/users/timmyg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timmyg/subscriptions","organizations_url":"https://api.github.com/users/timmyg/orgs","repos_url":"https://api.github.com/users/timmyg/repos","events_url":"https://api.github.com/users/timmyg/events{/privacy}","received_events_url":"https://api.github.com/users/timmyg/received_events","type":"User","site_admin":false},"body":"same comment as above","created_at":"2018-08-06T18:41:43Z","updated_at":"2018-08-06T18:41:43Z","html_url":"https://github.com/crdschurch/crds-service-finance/pull/107#discussion_r207991041","pull_request_url":"https://api.github.com/repos/crdschurch/crds-service-finance/pulls/107","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/crdschurch/crds-service-finance/pulls/comments/207991041"},"html":{"href":"https://github.com/crdschurch/crds-service-finance/pull/107#discussion_r207991041"},"pull_request":{"href":"https://api.github.com/repos/crdschurch/crds-service-finance/pulls/107"}}},"pull_request":{"url":"https://api.github.com/repos/crdschurch/crds-service-finance/pulls/107","id":206482321,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA2NDgyMzIx","html_url":"https://github.com/crdschurch/crds-service-finance/pull/107","diff_url":"https://github.com/crdschurch/crds-service-finance/pull/107.diff","patch_url":"https://github.com/crdschurch/crds-service-finance/pull/107.patch","issue_url":"https://api.github.com/repos/crdschurch/crds-service-finance/issues/107","number":107,"state":"open","locked":false,"title":"US14462 - updated recurring gift vendor detail url","user":{"login":"jpc11623","id":12531169,"node_id":"MDQ6VXNlcjEyNTMxMTY5","avatar_url":"https://avatars1.githubusercontent.com/u/12531169?v=4","gravatar_id":"","url":"https://api.github.com/users/jpc11623","html_url":"https://github.com/jpc11623","followers_url":"https://api.github.com/users/jpc11623/followers","following_url":"https://api.github.com/users/jpc11623/following{/other_user}","gists_url":"https://api.github.com/users/jpc11623/gists{/gist_id}","starred_url":"https://api.github.com/users/jpc11623/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpc11623/subscriptions","organizations_url":"https://api.github.com/users/jpc11623/orgs","repos_url":"https://api.github.com/users/jpc11623/repos","events_url":"https://api.github.com/users/jpc11623/events{/privacy}","received_events_url":"https://api.github.com/users/jpc11623/received_events","type":"User","site_admin":false},"body":"Added code to update the url","created_at":"2018-08-06T18:37:56Z","updated_at":"2018-08-06T18:41:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a89d6b88a26a06ef800e52511aca8c5454517fee","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/crdschurch/crds-service-finance/pulls/107/commits","review_comments_url":"https://api.github.com/repos/crdschurch/crds-service-finance/pulls/107/comments","review_comment_url":"https://api.github.com/repos/crdschurch/crds-service-finance/pulls/comments{/number}","comments_url":"https://api.github.com/repos/crdschurch/crds-service-finance/issues/107/comments","statuses_url":"https://api.github.com/repos/crdschurch/crds-service-finance/statuses/fa78f304c87daeac4b28f415f70ae6152f4e0271","head":{"label":"crdschurch:feature/US14462-update-recurring-gift","ref":"feature/US14462-update-recurring-gift","sha":"fa78f304c87daeac4b28f415f70ae6152f4e0271","user":{"login":"crdschurch","id":1843144,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE4NDMxNDQ=","avatar_url":"https://avatars2.githubusercontent.com/u/1843144?v=4","gravatar_id":"","url":"https://api.github.com/users/crdschurch","html_url":"https://github.com/crdschurch","followers_url":"https://api.github.com/users/crdschurch/followers","following_url":"https://api.github.com/users/crdschurch/following{/other_user}","gists_url":"https://api.github.com/users/crdschurch/gists{/gist_id}","starred_url":"https://api.github.com/users/crdschurch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crdschurch/subscriptions","organizations_url":"https://api.github.com/users/crdschurch/orgs","repos_url":"https://api.github.com/users/crdschurch/repos","events_url":"https://api.github.com/users/crdschurch/events{/privacy}","received_events_url":"https://api.github.com/users/crdschurch/received_events","type":"Organization","site_admin":false},"repo":{"id":112385468,"node_id":"MDEwOlJlcG9zaXRvcnkxMTIzODU0Njg=","name":"crds-service-finance","full_name":"crdschurch/crds-service-finance","owner":{"login":"crdschurch","id":1843144,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE4NDMxNDQ=","avatar_url":"https://avatars2.githubusercontent.com/u/1843144?v=4","gravatar_id":"","url":"https://api.github.com/users/crdschurch","html_url":"https://github.com/crdschurch","followers_url":"https://api.github.com/users/crdschurch/followers","following_url":"https://api.github.com/users/crdschurch/following{/other_user}","gists_url":"https://api.github.com/users/crdschurch/gists{/gist_id}","starred_url":"https://api.github.com/users/crdschurch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crdschurch/subscriptions","organizations_url":"https://api.github.com/users/crdschurch/orgs","repos_url":"https://api.github.com/users/crdschurch/repos","events_url":"https://api.github.com/users/crdschurch/events{/privacy}","received_events_url":"https://api.github.com/users/crdschurch/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/crdschurch/crds-service-finance","description":"Crossroads Finance Micro-Service","fork":false,"url":"https://api.github.com/repos/crdschurch/crds-service-finance","forks_url":"https://api.github.com/repos/crdschurch/crds-service-finance/forks","keys_url":"https://api.github.com/repos/crdschurch/crds-service-finance/keys{/key_id}","collaborators_url":"https://api.github.com/repos/crdschurch/crds-service-finance/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/crdschurch/crds-service-finance/teams","hooks_url":"https://api.github.com/repos/crdschurch/crds-service-finance/hooks","issue_events_url":"https://api.github.com/repos/crdschurch/crds-service-finance/issues/events{/number}","events_url":"https://api.github.com/repos/crdschurch/crds-service-finance/events","assignees_url":"https://api.github.com/repos/crdschurch/crds-service-finance/assignees{/user}","branches_url":"https://api.github.com/repos/crdschurch/crds-service-finance/branches{/branch}","tags_url":"https://api.github.com/repos/crdschurch/crds-service-finance/tags","blobs_url":"https://api.github.com/repos/crdschurch/crds-service-finance/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/crdschurch/crds-service-finance/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/crdschurch/crds-service-finance/git/refs{/sha}","trees_url":"https://api.github.com/repos/crdschurch/crds-service-finance/git/trees{/sha}","statuses_url":"https://api.github.com/repos/crdschurch/crds-service-finance/statuses/{sha}","languages_url":"https://api.github.com/repos/crdschurch/crds-service-finance/languages","stargazers_url":"https://api.github.com/repos/crdschurch/crds-service-finance/stargazers","contributors_url":"https://api.github.com/repos/crdschurch/crds-service-finance/contributors","subscribers_url":"https://api.github.com/repos/crdschurch/crds-service-finance/subscribers","subscription_url":"https://api.github.com/repos/crdschurch/crds-service-finance/subscription","commits_url":"https://api.github.com/repos/crdschurch/crds-service-finance/commits{/sha}","git_commits_url":"https://api.github.com/repos/crdschurch/crds-service-finance/git/commits{/sha}","comments_url":"https://api.github.com/repos/crdschurch/crds-service-finance/comments{/number}","issue_comment_url":"https://api.github.com/repos/crdschurch/crds-service-finance/issues/comments{/number}","contents_url":"https://api.github.com/repos/crdschurch/crds-service-finance/contents/{+path}","compare_url":"https://api.github.com/repos/crdschurch/crds-service-finance/compare/{base}...{head}","merges_url":"https://api.github.com/repos/crdschurch/crds-service-finance/merges","archive_url":"https://api.github.com/repos/crdschurch/crds-service-finance/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/crdschurch/crds-service-finance/downloads","issues_url":"https://api.github.com/repos/crdschurch/crds-service-finance/issues{/number}","pulls_url":"https://api.github.com/repos/crdschurch/crds-service-finance/pulls{/number}","milestones_url":"https://api.github.com/repos/crdschurch/crds-service-finance/milestones{/number}","notifications_url":"https://api.github.com/repos/crdschurch/crds-service-finance/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/crdschurch/crds-service-finance/labels{/name}","releases_url":"https://api.github.com/repos/crdschurch/crds-service-finance/releases{/id}","deployments_url":"https://api.github.com/repos/crdschurch/crds-service-finance/deployments","created_at":"2017-11-28T20:27:33Z","updated_at":"2018-08-03T17:11:00Z","pushed_at":"2018-08-06T18:37:57Z","git_url":"git://github.com/crdschurch/crds-service-finance.git","ssh_url":"git@github.com:crdschurch/crds-service-finance.git","clone_url":"https://github.com/crdschurch/crds-service-finance.git","svn_url":"https://github.com/crdschurch/crds-service-finance","homepage":null,"size":16973,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":1,"open_issues":2,"watchers":0,"default_branch":"development"}},"base":{"label":"crdschurch:development","ref":"development","sha":"b0b23a577372967b2f40f442dd3367eb73cdd812","user":{"login":"crdschurch","id":1843144,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE4NDMxNDQ=","avatar_url":"https://avatars2.githubusercontent.com/u/1843144?v=4","gravatar_id":"","url":"https://api.github.com/users/crdschurch","html_url":"https://github.com/crdschurch","followers_url":"https://api.github.com/users/crdschurch/followers","following_url":"https://api.github.com/users/crdschurch/following{/other_user}","gists_url":"https://api.github.com/users/crdschurch/gists{/gist_id}","starred_url":"https://api.github.com/users/crdschurch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crdschurch/subscriptions","organizations_url":"https://api.github.com/users/crdschurch/orgs","repos_url":"https://api.github.com/users/crdschurch/repos","events_url":"https://api.github.com/users/crdschurch/events{/privacy}","received_events_url":"https://api.github.com/users/crdschurch/received_events","type":"Organization","site_admin":false},"repo":{"id":112385468,"node_id":"MDEwOlJlcG9zaXRvcnkxMTIzODU0Njg=","name":"crds-service-finance","full_name":"crdschurch/crds-service-finance","owner":{"login":"crdschurch","id":1843144,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE4NDMxNDQ=","avatar_url":"https://avatars2.githubusercontent.com/u/1843144?v=4","gravatar_id":"","url":"https://api.github.com/users/crdschurch","html_url":"https://github.com/crdschurch","followers_url":"https://api.github.com/users/crdschurch/followers","following_url":"https://api.github.com/users/crdschurch/following{/other_user}","gists_url":"https://api.github.com/users/crdschurch/gists{/gist_id}","starred_url":"https://api.github.com/users/crdschurch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crdschurch/subscriptions","organizations_url":"https://api.github.com/users/crdschurch/orgs","repos_url":"https://api.github.com/users/crdschurch/repos","events_url":"https://api.github.com/users/crdschurch/events{/privacy}","received_events_url":"https://api.github.com/users/crdschurch/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/crdschurch/crds-service-finance","description":"Crossroads Finance Micro-Service","fork":false,"url":"https://api.github.com/repos/crdschurch/crds-service-finance","forks_url":"https://api.github.com/repos/crdschurch/crds-service-finance/forks","keys_url":"https://api.github.com/repos/crdschurch/crds-service-finance/keys{/key_id}","collaborators_url":"https://api.github.com/repos/crdschurch/crds-service-finance/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/crdschurch/crds-service-finance/teams","hooks_url":"https://api.github.com/repos/crdschurch/crds-service-finance/hooks","issue_events_url":"https://api.github.com/repos/crdschurch/crds-service-finance/issues/events{/number}","events_url":"https://api.github.com/repos/crdschurch/crds-service-finance/events","assignees_url":"https://api.github.com/repos/crdschurch/crds-service-finance/assignees{/user}","branches_url":"https://api.github.com/repos/crdschurch/crds-service-finance/branches{/branch}","tags_url":"https://api.github.com/repos/crdschurch/crds-service-finance/tags","blobs_url":"https://api.github.com/repos/crdschurch/crds-service-finance/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/crdschurch/crds-service-finance/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/crdschurch/crds-service-finance/git/refs{/sha}","trees_url":"https://api.github.com/repos/crdschurch/crds-service-finance/git/trees{/sha}","statuses_url":"https://api.github.com/repos/crdschurch/crds-service-finance/statuses/{sha}","languages_url":"https://api.github.com/repos/crdschurch/crds-service-finance/languages","stargazers_url":"https://api.github.com/repos/crdschurch/crds-service-finance/stargazers","contributors_url":"https://api.github.com/repos/crdschurch/crds-service-finance/contributors","subscribers_url":"https://api.github.com/repos/crdschurch/crds-service-finance/subscribers","subscription_url":"https://api.github.com/repos/crdschurch/crds-service-finance/subscription","commits_url":"https://api.github.com/repos/crdschurch/crds-service-finance/commits{/sha}","git_commits_url":"https://api.github.com/repos/crdschurch/crds-service-finance/git/commits{/sha}","comments_url":"https://api.github.com/repos/crdschurch/crds-service-finance/comments{/number}","issue_comment_url":"https://api.github.com/repos/crdschurch/crds-service-finance/issues/comments{/number}","contents_url":"https://api.github.com/repos/crdschurch/crds-service-finance/contents/{+path}","compare_url":"https://api.github.com/repos/crdschurch/crds-service-finance/compare/{base}...{head}","merges_url":"https://api.github.com/repos/crdschurch/crds-service-finance/merges","archive_url":"https://api.github.com/repos/crdschurch/crds-service-finance/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/crdschurch/crds-service-finance/downloads","issues_url":"https://api.github.com/repos/crdschurch/crds-service-finance/issues{/number}","pulls_url":"https://api.github.com/repos/crdschurch/crds-service-finance/pulls{/number}","milestones_url":"https://api.github.com/repos/crdschurch/crds-service-finance/milestones{/number}","notifications_url":"https://api.github.com/repos/crdschurch/crds-service-finance/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/crdschurch/crds-service-finance/labels{/name}","releases_url":"https://api.github.com/repos/crdschurch/crds-service-finance/releases{/id}","deployments_url":"https://api.github.com/repos/crdschurch/crds-service-finance/deployments","created_at":"2017-11-28T20:27:33Z","updated_at":"2018-08-03T17:11:00Z","pushed_at":"2018-08-06T18:37:57Z","git_url":"git://github.com/crdschurch/crds-service-finance.git","ssh_url":"git@github.com:crdschurch/crds-service-finance.git","clone_url":"https://github.com/crdschurch/crds-service-finance.git","svn_url":"https://github.com/crdschurch/crds-service-finance","homepage":null,"size":16973,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":1,"open_issues":2,"watchers":0,"default_branch":"development"}},"_links":{"self":{"href":"https://api.github.com/repos/crdschurch/crds-service-finance/pulls/107"},"html":{"href":"https://github.com/crdschurch/crds-service-finance/pull/107"},"issue":{"href":"https://api.github.com/repos/crdschurch/crds-service-finance/issues/107"},"comments":{"href":"https://api.github.com/repos/crdschurch/crds-service-finance/issues/107/comments"},"review_comments":{"href":"https://api.github.com/repos/crdschurch/crds-service-finance/pulls/107/comments"},"review_comment":{"href":"https://api.github.com/repos/crdschurch/crds-service-finance/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/crdschurch/crds-service-finance/pulls/107/commits"},"statuses":{"href":"https://api.github.com/repos/crdschurch/crds-service-finance/statuses/fa78f304c87daeac4b28f415f70ae6152f4e0271"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"timmyg"}}