{"action":"created","comment":{"url":"https://api.github.com/repos/edx/edx-platform/pulls/comments/112679165","pull_request_review_id":34013517,"id":112679165,"diff_hunk":"@@ -65,13 +65,9 @@ def test_refundable(self):\n         self.assertTrue(self.enrollment.refundable())\n \n     def test_refundable_expired_verification(self):\n-        \"\"\" Assert that enrollment is not refundable if course mode has expired.\"\"\"\n+        \"\"\" Assert that enrollment is refundable if course mode has expired.\"\"\"","path":"common/djangoapps/student/tests/test_refunds.py","position":5,"original_position":5,"commit_id":"ad78434dd2dcffbe966107014eca73bc682c9f48","original_commit_id":"ad78434dd2dcffbe966107014eca73bc682c9f48","user":{"login":"adampalay","id":2748698,"avatar_url":"https://avatars2.githubusercontent.com/u/2748698?v=3","gravatar_id":"","url":"https://api.github.com/users/adampalay","html_url":"https://github.com/adampalay","followers_url":"https://api.github.com/users/adampalay/followers","following_url":"https://api.github.com/users/adampalay/following{/other_user}","gists_url":"https://api.github.com/users/adampalay/gists{/gist_id}","starred_url":"https://api.github.com/users/adampalay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adampalay/subscriptions","organizations_url":"https://api.github.com/users/adampalay/orgs","repos_url":"https://api.github.com/users/adampalay/repos","events_url":"https://api.github.com/users/adampalay/events{/privacy}","received_events_url":"https://api.github.com/users/adampalay/received_events","type":"User","site_admin":false},"body":"Oh, this is interesting. So I guess what we're seeing is expected behavior! Can you please let product know that on the ticket?","created_at":"2017-04-21T12:46:58Z","updated_at":"2017-04-21T12:48:13Z","html_url":"https://github.com/edx/edx-platform/pull/14935#discussion_r112679165","pull_request_url":"https://api.github.com/repos/edx/edx-platform/pulls/14935","_links":{"self":{"href":"https://api.github.com/repos/edx/edx-platform/pulls/comments/112679165"},"html":{"href":"https://github.com/edx/edx-platform/pull/14935#discussion_r112679165"},"pull_request":{"href":"https://api.github.com/repos/edx/edx-platform/pulls/14935"}}},"pull_request":{"url":"https://api.github.com/repos/edx/edx-platform/pulls/14935","id":116924449,"html_url":"https://github.com/edx/edx-platform/pull/14935","diff_url":"https://github.com/edx/edx-platform/pull/14935.diff","patch_url":"https://github.com/edx/edx-platform/pull/14935.patch","issue_url":"https://api.github.com/repos/edx/edx-platform/issues/14935","number":14935,"state":"open","locked":false,"title":"ECOM-7252-fix refund discrepancy after the course mode expiry","user":{"login":"uzairr","id":15120237,"avatar_url":"https://avatars1.githubusercontent.com/u/15120237?v=3","gravatar_id":"","url":"https://api.github.com/users/uzairr","html_url":"https://github.com/uzairr","followers_url":"https://api.github.com/users/uzairr/followers","following_url":"https://api.github.com/users/uzairr/following{/other_user}","gists_url":"https://api.github.com/users/uzairr/gists{/gist_id}","starred_url":"https://api.github.com/users/uzairr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uzairr/subscriptions","organizations_url":"https://api.github.com/users/uzairr/orgs","repos_url":"https://api.github.com/users/uzairr/repos","events_url":"https://api.github.com/users/uzairr/events{/privacy}","received_events_url":"https://api.github.com/users/uzairr/received_events","type":"User","site_admin":false},"body":"## [ECOM-7252](https://openedx.atlassian.net/browse/ECOM-7252)\r\n\r\n### Description\r\n\r\nSeveral learners have contacted us stating that they are seeing a message that they will not receive a refund when unenrolling, even though they are within 14 days of their payment. \r\n\r\nThis appears to happen in courses that have closed enrollment,  including:\r\n\r\ncourse-v1:MITx+6.00.1x_11+1T2017\r\ncourse-v1:MITx+CTL.SC4x+1T2017\r\ncourse-v1:MITx+CTL.SC1x_3+1T2017\r\n\r\nIn support with newly automated refunds we generally inform students on how to unenroll themselves to automatically receive refunds, but we currently need to be aware of these courses where this is not working properly and process these manually\r\n\r\n*_Expected behavior_*\r\n\r\nA learner unenrolling within 14 days of their payment or the first 14 days of a course will automatically receive a refund upon unenrolling from the verified track.\r\n\r\n*_Actual Behavior_*\r\n\r\nA learner unenrolling within 14 days of their payment or the first 14 days of a course when course enrollment has been closed sees the message: \r\n\r\n\"Are you sure you want to unenroll from the verified Certificate of Achievement track of Supply Chain Fundamentals (CTL.SC1x_3)? The refund deadline for this course has passed, so you will not receive a refund.\"\r\n\r\n\r\n### How to Test?\r\n\r\n**Stage** \r\ni) Enroll in a course where course is going to end in the next 14 days\r\nii) Upgrade to 'Verified'\r\niii) Click on un-enroll\r\niv) you will see a message that 'Refund deadline has been passed so you will not be refunded'\r\n\r\n**Sandbox**\r\n- [https://refund.sandbox.edx.org/](https://refund.sandbox.edx.org/)\r\n\r\nFYI: @adampalay \r\n\r\n### Post-review\r\n- [ ] Rebase and squash commits","created_at":"2017-04-21T07:10:49Z","updated_at":"2017-04-21T12:48:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"04fe24bed594fab5b302ef38bf5d46cb124e671a","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/edx/edx-platform/pulls/14935/commits","review_comments_url":"https://api.github.com/repos/edx/edx-platform/pulls/14935/comments","review_comment_url":"https://api.github.com/repos/edx/edx-platform/pulls/comments{/number}","comments_url":"https://api.github.com/repos/edx/edx-platform/issues/14935/comments","statuses_url":"https://api.github.com/repos/edx/edx-platform/statuses/ad78434dd2dcffbe966107014eca73bc682c9f48","head":{"label":"edx:uzairr/ECOM-7252-refund","ref":"uzairr/ECOM-7252-refund","sha":"ad78434dd2dcffbe966107014eca73bc682c9f48","user":{"login":"edx","id":3179841,"avatar_url":"https://avatars0.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"repo":{"id":10391073,"name":"edx-platform","full_name":"edx/edx-platform","owner":{"login":"edx","id":3179841,"avatar_url":"https://avatars0.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/edx/edx-platform","description":"The Open edX platform, the software that powers edX!","fork":false,"url":"https://api.github.com/repos/edx/edx-platform","forks_url":"https://api.github.com/repos/edx/edx-platform/forks","keys_url":"https://api.github.com/repos/edx/edx-platform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edx/edx-platform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edx/edx-platform/teams","hooks_url":"https://api.github.com/repos/edx/edx-platform/hooks","issue_events_url":"https://api.github.com/repos/edx/edx-platform/issues/events{/number}","events_url":"https://api.github.com/repos/edx/edx-platform/events","assignees_url":"https://api.github.com/repos/edx/edx-platform/assignees{/user}","branches_url":"https://api.github.com/repos/edx/edx-platform/branches{/branch}","tags_url":"https://api.github.com/repos/edx/edx-platform/tags","blobs_url":"https://api.github.com/repos/edx/edx-platform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edx/edx-platform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edx/edx-platform/git/refs{/sha}","trees_url":"https://api.github.com/repos/edx/edx-platform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edx/edx-platform/statuses/{sha}","languages_url":"https://api.github.com/repos/edx/edx-platform/languages","stargazers_url":"https://api.github.com/repos/edx/edx-platform/stargazers","contributors_url":"https://api.github.com/repos/edx/edx-platform/contributors","subscribers_url":"https://api.github.com/repos/edx/edx-platform/subscribers","subscription_url":"https://api.github.com/repos/edx/edx-platform/subscription","commits_url":"https://api.github.com/repos/edx/edx-platform/commits{/sha}","git_commits_url":"https://api.github.com/repos/edx/edx-platform/git/commits{/sha}","comments_url":"https://api.github.com/repos/edx/edx-platform/comments{/number}","issue_comment_url":"https://api.github.com/repos/edx/edx-platform/issues/comments{/number}","contents_url":"https://api.github.com/repos/edx/edx-platform/contents/{+path}","compare_url":"https://api.github.com/repos/edx/edx-platform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edx/edx-platform/merges","archive_url":"https://api.github.com/repos/edx/edx-platform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edx/edx-platform/downloads","issues_url":"https://api.github.com/repos/edx/edx-platform/issues{/number}","pulls_url":"https://api.github.com/repos/edx/edx-platform/pulls{/number}","milestones_url":"https://api.github.com/repos/edx/edx-platform/milestones{/number}","notifications_url":"https://api.github.com/repos/edx/edx-platform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edx/edx-platform/labels{/name}","releases_url":"https://api.github.com/repos/edx/edx-platform/releases{/id}","deployments_url":"https://api.github.com/repos/edx/edx-platform/deployments","created_at":"2013-05-30T20:20:38Z","updated_at":"2017-04-20T17:08:17Z","pushed_at":"2017-04-21T12:22:43Z","git_url":"git://github.com/edx/edx-platform.git","ssh_url":"git@github.com:edx/edx-platform.git","clone_url":"https://github.com/edx/edx-platform.git","svn_url":"https://github.com/edx/edx-platform","homepage":"http://open.edx.org/","size":811520,"stargazers_count":3096,"watchers_count":3096,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1799,"mirror_url":null,"open_issues_count":174,"forks":1799,"open_issues":174,"watchers":3096,"default_branch":"master"}},"base":{"label":"edx:master","ref":"master","sha":"c3d0a50d42d77de2bde6ff27a0e3facc198e203d","user":{"login":"edx","id":3179841,"avatar_url":"https://avatars0.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"repo":{"id":10391073,"name":"edx-platform","full_name":"edx/edx-platform","owner":{"login":"edx","id":3179841,"avatar_url":"https://avatars0.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/edx/edx-platform","description":"The Open edX platform, the software that powers edX!","fork":false,"url":"https://api.github.com/repos/edx/edx-platform","forks_url":"https://api.github.com/repos/edx/edx-platform/forks","keys_url":"https://api.github.com/repos/edx/edx-platform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edx/edx-platform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edx/edx-platform/teams","hooks_url":"https://api.github.com/repos/edx/edx-platform/hooks","issue_events_url":"https://api.github.com/repos/edx/edx-platform/issues/events{/number}","events_url":"https://api.github.com/repos/edx/edx-platform/events","assignees_url":"https://api.github.com/repos/edx/edx-platform/assignees{/user}","branches_url":"https://api.github.com/repos/edx/edx-platform/branches{/branch}","tags_url":"https://api.github.com/repos/edx/edx-platform/tags","blobs_url":"https://api.github.com/repos/edx/edx-platform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edx/edx-platform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edx/edx-platform/git/refs{/sha}","trees_url":"https://api.github.com/repos/edx/edx-platform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edx/edx-platform/statuses/{sha}","languages_url":"https://api.github.com/repos/edx/edx-platform/languages","stargazers_url":"https://api.github.com/repos/edx/edx-platform/stargazers","contributors_url":"https://api.github.com/repos/edx/edx-platform/contributors","subscribers_url":"https://api.github.com/repos/edx/edx-platform/subscribers","subscription_url":"https://api.github.com/repos/edx/edx-platform/subscription","commits_url":"https://api.github.com/repos/edx/edx-platform/commits{/sha}","git_commits_url":"https://api.github.com/repos/edx/edx-platform/git/commits{/sha}","comments_url":"https://api.github.com/repos/edx/edx-platform/comments{/number}","issue_comment_url":"https://api.github.com/repos/edx/edx-platform/issues/comments{/number}","contents_url":"https://api.github.com/repos/edx/edx-platform/contents/{+path}","compare_url":"https://api.github.com/repos/edx/edx-platform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edx/edx-platform/merges","archive_url":"https://api.github.com/repos/edx/edx-platform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edx/edx-platform/downloads","issues_url":"https://api.github.com/repos/edx/edx-platform/issues{/number}","pulls_url":"https://api.github.com/repos/edx/edx-platform/pulls{/number}","milestones_url":"https://api.github.com/repos/edx/edx-platform/milestones{/number}","notifications_url":"https://api.github.com/repos/edx/edx-platform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edx/edx-platform/labels{/name}","releases_url":"https://api.github.com/repos/edx/edx-platform/releases{/id}","deployments_url":"https://api.github.com/repos/edx/edx-platform/deployments","created_at":"2013-05-30T20:20:38Z","updated_at":"2017-04-20T17:08:17Z","pushed_at":"2017-04-21T12:22:43Z","git_url":"git://github.com/edx/edx-platform.git","ssh_url":"git@github.com:edx/edx-platform.git","clone_url":"https://github.com/edx/edx-platform.git","svn_url":"https://github.com/edx/edx-platform","homepage":"http://open.edx.org/","size":811520,"stargazers_count":3096,"watchers_count":3096,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1799,"mirror_url":null,"open_issues_count":174,"forks":1799,"open_issues":174,"watchers":3096,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/edx/edx-platform/pulls/14935"},"html":{"href":"https://github.com/edx/edx-platform/pull/14935"},"issue":{"href":"https://api.github.com/repos/edx/edx-platform/issues/14935"},"comments":{"href":"https://api.github.com/repos/edx/edx-platform/issues/14935/comments"},"review_comments":{"href":"https://api.github.com/repos/edx/edx-platform/pulls/14935/comments"},"review_comment":{"href":"https://api.github.com/repos/edx/edx-platform/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/edx/edx-platform/pulls/14935/commits"},"statuses":{"href":"https://api.github.com/repos/edx/edx-platform/statuses/ad78434dd2dcffbe966107014eca73bc682c9f48"}}}}
{"actor":{"display_login":"adampalay"}}