{"action":"created","comment":{"url":"https://api.github.com/repos/edx/django-oscar-extensions/pulls/comments/27492570","id":27492570,"diff_hunk":"@@ -3,8 +3,9 @@\n \n class ProcessorConstants(object):\n     \"\"\" Constants that are used by all payment processors \"\"\"\n-    ORDER = 'order'\n+    ORDER_NUMBER = 'order_number'\n     SUCCESS = 'success'\n+    PAID_EVENT_NAME = 'Paid'","path":"extensions/payment/constants.py","position":7,"original_position":7,"commit_id":"712399068989143ef588f26e06da0974dbce01b0","original_commit_id":"712399068989143ef588f26e06da0974dbce01b0","user":{"login":"dianakhuang","id":2952947,"avatar_url":"https://avatars.githubusercontent.com/u/2952947?v=3","gravatar_id":"","url":"https://api.github.com/users/dianakhuang","html_url":"https://github.com/dianakhuang","followers_url":"https://api.github.com/users/dianakhuang/followers","following_url":"https://api.github.com/users/dianakhuang/following{/other_user}","gists_url":"https://api.github.com/users/dianakhuang/gists{/gist_id}","starred_url":"https://api.github.com/users/dianakhuang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dianakhuang/subscriptions","organizations_url":"https://api.github.com/users/dianakhuang/orgs","repos_url":"https://api.github.com/users/dianakhuang/repos","events_url":"https://api.github.com/users/dianakhuang/events{/privacy}","received_events_url":"https://api.github.com/users/dianakhuang/received_events","type":"User","site_admin":false},"body":"I'm just worried that it'll be confusing with the fact that we're creating `PaymentEventType` obejcts with the constant `PAYMENT_EVENT_NAME`. Currently, it's the only type, but I can imagine us adding more later to track things like refunds and such.","created_at":"2015-03-31T15:53:28Z","updated_at":"2015-03-31T15:53:28Z","html_url":"https://github.com/edx/django-oscar-extensions/pull/41#discussion_r27492570","pull_request_url":"https://api.github.com/repos/edx/django-oscar-extensions/pulls/41","_links":{"self":{"href":"https://api.github.com/repos/edx/django-oscar-extensions/pulls/comments/27492570"},"html":{"href":"https://github.com/edx/django-oscar-extensions/pull/41#discussion_r27492570"},"pull_request":{"href":"https://api.github.com/repos/edx/django-oscar-extensions/pulls/41"}}},"pull_request":{"url":"https://api.github.com/repos/edx/django-oscar-extensions/pulls/41","id":32139099,"html_url":"https://github.com/edx/django-oscar-extensions/pull/41","diff_url":"https://github.com/edx/django-oscar-extensions/pull/41.diff","patch_url":"https://github.com/edx/django-oscar-extensions/pull/41.patch","issue_url":"https://api.github.com/repos/edx/django-oscar-extensions/issues/41","number":41,"state":"open","locked":false,"title":"Add processor response endpoint","user":{"login":"dianakhuang","id":2952947,"avatar_url":"https://avatars.githubusercontent.com/u/2952947?v=3","gravatar_id":"","url":"https://api.github.com/users/dianakhuang","html_url":"https://github.com/dianakhuang","followers_url":"https://api.github.com/users/dianakhuang/followers","following_url":"https://api.github.com/users/dianakhuang/following{/other_user}","gists_url":"https://api.github.com/users/dianakhuang/gists{/gist_id}","starred_url":"https://api.github.com/users/dianakhuang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dianakhuang/subscriptions","organizations_url":"https://api.github.com/users/dianakhuang/orgs","repos_url":"https://api.github.com/users/dianakhuang/repos","events_url":"https://api.github.com/users/dianakhuang/events{/privacy}","received_events_url":"https://api.github.com/users/dianakhuang/received_events","type":"User","site_admin":false},"body":" XCOM-154\r\n\r\nThis is the simplistic endpoint that CyberSource contacts in order to update the order information. It will then record the payment, update the order information, and then attempt to fulfill the order.\r\n\r\nI have also updated our CyberSource processor to update the order status when payment fails. More sophisticated error handling will happen as part of XCOM-174.\r\n\r\n@rlucioni @clintonb @stephensanchez ","created_at":"2015-03-27T19:47:29Z","updated_at":"2015-03-31T15:53:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ce3222a4f53b5401ea2ec609703e9f70dcf00c52","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/edx/django-oscar-extensions/pulls/41/commits","review_comments_url":"https://api.github.com/repos/edx/django-oscar-extensions/pulls/41/comments","review_comment_url":"https://api.github.com/repos/edx/django-oscar-extensions/pulls/comments{/number}","comments_url":"https://api.github.com/repos/edx/django-oscar-extensions/issues/41/comments","statuses_url":"https://api.github.com/repos/edx/django-oscar-extensions/statuses/712399068989143ef588f26e06da0974dbce01b0","head":{"label":"edx:diana/processor-response-views","ref":"diana/processor-response-views","sha":"712399068989143ef588f26e06da0974dbce01b0","user":{"login":"edx","id":3179841,"avatar_url":"https://avatars.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":30174961,"name":"django-oscar-extensions","full_name":"edx/django-oscar-extensions","owner":{"login":"edx","id":3179841,"avatar_url":"https://avatars.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/django-oscar-extensions","description":"Extensions of the django-oscar core which are specific to edX's needs.","fork":false,"url":"https://api.github.com/repos/edx/django-oscar-extensions","forks_url":"https://api.github.com/repos/edx/django-oscar-extensions/forks","keys_url":"https://api.github.com/repos/edx/django-oscar-extensions/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edx/django-oscar-extensions/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edx/django-oscar-extensions/teams","hooks_url":"https://api.github.com/repos/edx/django-oscar-extensions/hooks","issue_events_url":"https://api.github.com/repos/edx/django-oscar-extensions/issues/events{/number}","events_url":"https://api.github.com/repos/edx/django-oscar-extensions/events","assignees_url":"https://api.github.com/repos/edx/django-oscar-extensions/assignees{/user}","branches_url":"https://api.github.com/repos/edx/django-oscar-extensions/branches{/branch}","tags_url":"https://api.github.com/repos/edx/django-oscar-extensions/tags","blobs_url":"https://api.github.com/repos/edx/django-oscar-extensions/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edx/django-oscar-extensions/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edx/django-oscar-extensions/git/refs{/sha}","trees_url":"https://api.github.com/repos/edx/django-oscar-extensions/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edx/django-oscar-extensions/statuses/{sha}","languages_url":"https://api.github.com/repos/edx/django-oscar-extensions/languages","stargazers_url":"https://api.github.com/repos/edx/django-oscar-extensions/stargazers","contributors_url":"https://api.github.com/repos/edx/django-oscar-extensions/contributors","subscribers_url":"https://api.github.com/repos/edx/django-oscar-extensions/subscribers","subscription_url":"https://api.github.com/repos/edx/django-oscar-extensions/subscription","commits_url":"https://api.github.com/repos/edx/django-oscar-extensions/commits{/sha}","git_commits_url":"https://api.github.com/repos/edx/django-oscar-extensions/git/commits{/sha}","comments_url":"https://api.github.com/repos/edx/django-oscar-extensions/comments{/number}","issue_comment_url":"https://api.github.com/repos/edx/django-oscar-extensions/issues/comments{/number}","contents_url":"https://api.github.com/repos/edx/django-oscar-extensions/contents/{+path}","compare_url":"https://api.github.com/repos/edx/django-oscar-extensions/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edx/django-oscar-extensions/merges","archive_url":"https://api.github.com/repos/edx/django-oscar-extensions/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edx/django-oscar-extensions/downloads","issues_url":"https://api.github.com/repos/edx/django-oscar-extensions/issues{/number}","pulls_url":"https://api.github.com/repos/edx/django-oscar-extensions/pulls{/number}","milestones_url":"https://api.github.com/repos/edx/django-oscar-extensions/milestones{/number}","notifications_url":"https://api.github.com/repos/edx/django-oscar-extensions/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edx/django-oscar-extensions/labels{/name}","releases_url":"https://api.github.com/repos/edx/django-oscar-extensions/releases{/id}","created_at":"2015-02-02T06:52:47Z","updated_at":"2015-03-30T19:12:15Z","pushed_at":"2015-03-31T15:37:19Z","git_url":"git://github.com/edx/django-oscar-extensions.git","ssh_url":"git@github.com:edx/django-oscar-extensions.git","clone_url":"https://github.com/edx/django-oscar-extensions.git","svn_url":"https://github.com/edx/django-oscar-extensions","homepage":"","size":1588,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"edx:master","ref":"master","sha":"b9f47338adf32594801df4cd348e9fc492758025","user":{"login":"edx","id":3179841,"avatar_url":"https://avatars.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":30174961,"name":"django-oscar-extensions","full_name":"edx/django-oscar-extensions","owner":{"login":"edx","id":3179841,"avatar_url":"https://avatars.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/django-oscar-extensions","description":"Extensions of the django-oscar core which are specific to edX's needs.","fork":false,"url":"https://api.github.com/repos/edx/django-oscar-extensions","forks_url":"https://api.github.com/repos/edx/django-oscar-extensions/forks","keys_url":"https://api.github.com/repos/edx/django-oscar-extensions/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edx/django-oscar-extensions/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edx/django-oscar-extensions/teams","hooks_url":"https://api.github.com/repos/edx/django-oscar-extensions/hooks","issue_events_url":"https://api.github.com/repos/edx/django-oscar-extensions/issues/events{/number}","events_url":"https://api.github.com/repos/edx/django-oscar-extensions/events","assignees_url":"https://api.github.com/repos/edx/django-oscar-extensions/assignees{/user}","branches_url":"https://api.github.com/repos/edx/django-oscar-extensions/branches{/branch}","tags_url":"https://api.github.com/repos/edx/django-oscar-extensions/tags","blobs_url":"https://api.github.com/repos/edx/django-oscar-extensions/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edx/django-oscar-extensions/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edx/django-oscar-extensions/git/refs{/sha}","trees_url":"https://api.github.com/repos/edx/django-oscar-extensions/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edx/django-oscar-extensions/statuses/{sha}","languages_url":"https://api.github.com/repos/edx/django-oscar-extensions/languages","stargazers_url":"https://api.github.com/repos/edx/django-oscar-extensions/stargazers","contributors_url":"https://api.github.com/repos/edx/django-oscar-extensions/contributors","subscribers_url":"https://api.github.com/repos/edx/django-oscar-extensions/subscribers","subscription_url":"https://api.github.com/repos/edx/django-oscar-extensions/subscription","commits_url":"https://api.github.com/repos/edx/django-oscar-extensions/commits{/sha}","git_commits_url":"https://api.github.com/repos/edx/django-oscar-extensions/git/commits{/sha}","comments_url":"https://api.github.com/repos/edx/django-oscar-extensions/comments{/number}","issue_comment_url":"https://api.github.com/repos/edx/django-oscar-extensions/issues/comments{/number}","contents_url":"https://api.github.com/repos/edx/django-oscar-extensions/contents/{+path}","compare_url":"https://api.github.com/repos/edx/django-oscar-extensions/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edx/django-oscar-extensions/merges","archive_url":"https://api.github.com/repos/edx/django-oscar-extensions/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edx/django-oscar-extensions/downloads","issues_url":"https://api.github.com/repos/edx/django-oscar-extensions/issues{/number}","pulls_url":"https://api.github.com/repos/edx/django-oscar-extensions/pulls{/number}","milestones_url":"https://api.github.com/repos/edx/django-oscar-extensions/milestones{/number}","notifications_url":"https://api.github.com/repos/edx/django-oscar-extensions/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edx/django-oscar-extensions/labels{/name}","releases_url":"https://api.github.com/repos/edx/django-oscar-extensions/releases{/id}","created_at":"2015-02-02T06:52:47Z","updated_at":"2015-03-30T19:12:15Z","pushed_at":"2015-03-31T15:37:19Z","git_url":"git://github.com/edx/django-oscar-extensions.git","ssh_url":"git@github.com:edx/django-oscar-extensions.git","clone_url":"https://github.com/edx/django-oscar-extensions.git","svn_url":"https://github.com/edx/django-oscar-extensions","homepage":"","size":1588,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/edx/django-oscar-extensions/pulls/41"},"html":{"href":"https://github.com/edx/django-oscar-extensions/pull/41"},"issue":{"href":"https://api.github.com/repos/edx/django-oscar-extensions/issues/41"},"comments":{"href":"https://api.github.com/repos/edx/django-oscar-extensions/issues/41/comments"},"review_comments":{"href":"https://api.github.com/repos/edx/django-oscar-extensions/pulls/41/comments"},"review_comment":{"href":"https://api.github.com/repos/edx/django-oscar-extensions/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/edx/django-oscar-extensions/pulls/41/commits"},"statuses":{"href":"https://api.github.com/repos/edx/django-oscar-extensions/statuses/712399068989143ef588f26e06da0974dbce01b0"}}}}