{"action":"created","comment":{"url":"https://api.github.com/repos/edx/django-oscar-extensions/pulls/comments/27214710","id":27214710,"diff_hunk":"@@ -1,14 +1,21 @@\n \"\"\"Payment processing classes containing logic specific to particular payment processors.\"\"\"\n import uuid\n+import json\n import logging\n import datetime\n+\n from collections import OrderedDict\n+from decimal import Decimal, InvalidOperation","path":"extensions/payment/processors.py","position":8,"original_position":8,"commit_id":"9fb0abe7c828c0d3b51d087ed9c4fa4fd7e29e76","original_commit_id":"96187731f47a822feea1daf1a1ae0ea18e0f7731","user":{"login":"rlucioni","id":969289,"avatar_url":"https://avatars.githubusercontent.com/u/969289?v=3","gravatar_id":"","url":"https://api.github.com/users/rlucioni","html_url":"https://github.com/rlucioni","followers_url":"https://api.github.com/users/rlucioni/followers","following_url":"https://api.github.com/users/rlucioni/following{/other_user}","gists_url":"https://api.github.com/users/rlucioni/gists{/gist_id}","starred_url":"https://api.github.com/users/rlucioni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rlucioni/subscriptions","organizations_url":"https://api.github.com/users/rlucioni/orgs","repos_url":"https://api.github.com/users/rlucioni/repos","events_url":"https://api.github.com/users/rlucioni/events{/privacy}","received_events_url":"https://api.github.com/users/rlucioni/received_events","type":"User","site_admin":false},"body":"Nit: these are both standard library imports and shouldn't be separated from the rest of the standard library imports with a newline ([reference](https://www.python.org/dev/peps/pep-0008/#imports)).","created_at":"2015-03-26T14:04:37Z","updated_at":"2015-03-26T14:04:37Z","html_url":"https://github.com/edx/django-oscar-extensions/pull/35#discussion_r27214710","pull_request_url":"https://api.github.com/repos/edx/django-oscar-extensions/pulls/35","_links":{"self":{"href":"https://api.github.com/repos/edx/django-oscar-extensions/pulls/comments/27214710"},"html":{"href":"https://github.com/edx/django-oscar-extensions/pull/35#discussion_r27214710"},"pull_request":{"href":"https://api.github.com/repos/edx/django-oscar-extensions/pulls/35"}}},"pull_request":{"url":"https://api.github.com/repos/edx/django-oscar-extensions/pulls/35","id":31928655,"html_url":"https://github.com/edx/django-oscar-extensions/pull/35","diff_url":"https://github.com/edx/django-oscar-extensions/pull/35.diff","patch_url":"https://github.com/edx/django-oscar-extensions/pull/35.patch","issue_url":"https://api.github.com/repos/edx/django-oscar-extensions/issues/35","number":35,"state":"open","locked":false,"title":"Add backend acceptance of the response from Cybersource.","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":"Check and verify the response from CyberSource.\r\n- Does not record anything to the DB.\r\n- Does not trigger fulfillment\r\n\r\n@stephensanchez @clintonb ","created_at":"2015-03-25T14:45:27Z","updated_at":"2015-03-26T14:04:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ea3c32cbd1ff8e61a994a77a301e29832fb68e2e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/edx/django-oscar-extensions/pulls/35/commits","review_comments_url":"https://api.github.com/repos/edx/django-oscar-extensions/pulls/35/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/35/comments","statuses_url":"https://api.github.com/repos/edx/django-oscar-extensions/statuses/9fb0abe7c828c0d3b51d087ed9c4fa4fd7e29e76","head":{"label":"edx:diana/cybersource-return","ref":"diana/cybersource-return","sha":"9fb0abe7c828c0d3b51d087ed9c4fa4fd7e29e76","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-26T04:17:03Z","pushed_at":"2015-03-26T14:04:24Z","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":1216,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"edx:master","ref":"master","sha":"a009b983b742125dcfde2d367c7812b0d077dbfd","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-26T04:17:03Z","pushed_at":"2015-03-26T14:04:24Z","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":1216,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/edx/django-oscar-extensions/pulls/35"},"html":{"href":"https://github.com/edx/django-oscar-extensions/pull/35"},"issue":{"href":"https://api.github.com/repos/edx/django-oscar-extensions/issues/35"},"comments":{"href":"https://api.github.com/repos/edx/django-oscar-extensions/issues/35/comments"},"review_comments":{"href":"https://api.github.com/repos/edx/django-oscar-extensions/pulls/35/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/35/commits"},"statuses":{"href":"https://api.github.com/repos/edx/django-oscar-extensions/statuses/9fb0abe7c828c0d3b51d087ed9c4fa4fd7e29e76"}}}}