{"action":"created","comment":{"url":"https://api.github.com/repos/scottfirestone/not_napster/pulls/comments/55436988","id":55436988,"diff_hunk":"@@ -30,4 +31,22 @@ def show\n   def order_params\n     params.require(:order).permit(:total, :user_id)\n   end\n+\n+  def process_credit_card\n+    customer = Stripe::Customer.create(\n+      email:  params[:stripeEmail],\n+      source: params[:stripeToken]\n+    )\n+\n+    charge = Stripe::Charge.create(","path":"app/controllers/orders_controller.rb","position":23,"original_position":23,"commit_id":"2b71c5aa221f58cb16ae15194e216e39f3f1f731","original_commit_id":"2b71c5aa221f58cb16ae15194e216e39f3f1f731","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Useless assignment to variable - `charge`.","created_at":"2016-03-08T22:08:32Z","updated_at":"2016-03-08T22:08:32Z","html_url":"https://github.com/scottfirestone/not_napster/pull/120#discussion_r55436988","pull_request_url":"https://api.github.com/repos/scottfirestone/not_napster/pulls/120","_links":{"self":{"href":"https://api.github.com/repos/scottfirestone/not_napster/pulls/comments/55436988"},"html":{"href":"https://github.com/scottfirestone/not_napster/pull/120#discussion_r55436988"},"pull_request":{"href":"https://api.github.com/repos/scottfirestone/not_napster/pulls/120"}}},"pull_request":{"url":"https://api.github.com/repos/scottfirestone/not_napster/pulls/120","id":62144615,"html_url":"https://github.com/scottfirestone/not_napster/pull/120","diff_url":"https://github.com/scottfirestone/not_napster/pull/120.diff","patch_url":"https://github.com/scottfirestone/not_napster/pull/120.patch","issue_url":"https://api.github.com/repos/scottfirestone/not_napster/issues/120","number":120,"state":"open","locked":false,"title":"Add stripe payment system #11","user":{"login":"julsfelic","id":2493490,"avatar_url":"https://avatars.githubusercontent.com/u/2493490?v=3","gravatar_id":"","url":"https://api.github.com/users/julsfelic","html_url":"https://github.com/julsfelic","followers_url":"https://api.github.com/users/julsfelic/followers","following_url":"https://api.github.com/users/julsfelic/following{/other_user}","gists_url":"https://api.github.com/users/julsfelic/gists{/gist_id}","starred_url":"https://api.github.com/users/julsfelic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julsfelic/subscriptions","organizations_url":"https://api.github.com/users/julsfelic/orgs","repos_url":"https://api.github.com/users/julsfelic/repos","events_url":"https://api.github.com/users/julsfelic/events{/privacy}","received_events_url":"https://api.github.com/users/julsfelic/received_events","type":"User","site_admin":false},"body":"Fully functional with the Stripe payment processor. Have to add environment variables to heroku\r\n\r\nCloses: #11 \r\n\r\n@scottfirestone @Draganovic @Salvi6God ","created_at":"2016-03-08T22:05:13Z","updated_at":"2016-03-08T22:08:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4f9ba1aaf4a5931654754bc3175cb074b4da7ce4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/scottfirestone/not_napster/pulls/120/commits","review_comments_url":"https://api.github.com/repos/scottfirestone/not_napster/pulls/120/comments","review_comment_url":"https://api.github.com/repos/scottfirestone/not_napster/pulls/comments{/number}","comments_url":"https://api.github.com/repos/scottfirestone/not_napster/issues/120/comments","statuses_url":"https://api.github.com/repos/scottfirestone/not_napster/statuses/2b71c5aa221f58cb16ae15194e216e39f3f1f731","head":{"label":"scottfirestone:add-stripe-payment-system-#11","ref":"add-stripe-payment-system-#11","sha":"2b71c5aa221f58cb16ae15194e216e39f3f1f731","user":{"login":"scottfirestone","id":13153182,"avatar_url":"https://avatars.githubusercontent.com/u/13153182?v=3","gravatar_id":"","url":"https://api.github.com/users/scottfirestone","html_url":"https://github.com/scottfirestone","followers_url":"https://api.github.com/users/scottfirestone/followers","following_url":"https://api.github.com/users/scottfirestone/following{/other_user}","gists_url":"https://api.github.com/users/scottfirestone/gists{/gist_id}","starred_url":"https://api.github.com/users/scottfirestone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottfirestone/subscriptions","organizations_url":"https://api.github.com/users/scottfirestone/orgs","repos_url":"https://api.github.com/users/scottfirestone/repos","events_url":"https://api.github.com/users/scottfirestone/events{/privacy}","received_events_url":"https://api.github.com/users/scottfirestone/received_events","type":"User","site_admin":false},"repo":{"id":52826232,"name":"not_napster","full_name":"scottfirestone/not_napster","owner":{"login":"scottfirestone","id":13153182,"avatar_url":"https://avatars.githubusercontent.com/u/13153182?v=3","gravatar_id":"","url":"https://api.github.com/users/scottfirestone","html_url":"https://github.com/scottfirestone","followers_url":"https://api.github.com/users/scottfirestone/followers","following_url":"https://api.github.com/users/scottfirestone/following{/other_user}","gists_url":"https://api.github.com/users/scottfirestone/gists{/gist_id}","starred_url":"https://api.github.com/users/scottfirestone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottfirestone/subscriptions","organizations_url":"https://api.github.com/users/scottfirestone/orgs","repos_url":"https://api.github.com/users/scottfirestone/repos","events_url":"https://api.github.com/users/scottfirestone/events{/privacy}","received_events_url":"https://api.github.com/users/scottfirestone/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/scottfirestone/not_napster","description":null,"fork":false,"url":"https://api.github.com/repos/scottfirestone/not_napster","forks_url":"https://api.github.com/repos/scottfirestone/not_napster/forks","keys_url":"https://api.github.com/repos/scottfirestone/not_napster/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scottfirestone/not_napster/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scottfirestone/not_napster/teams","hooks_url":"https://api.github.com/repos/scottfirestone/not_napster/hooks","issue_events_url":"https://api.github.com/repos/scottfirestone/not_napster/issues/events{/number}","events_url":"https://api.github.com/repos/scottfirestone/not_napster/events","assignees_url":"https://api.github.com/repos/scottfirestone/not_napster/assignees{/user}","branches_url":"https://api.github.com/repos/scottfirestone/not_napster/branches{/branch}","tags_url":"https://api.github.com/repos/scottfirestone/not_napster/tags","blobs_url":"https://api.github.com/repos/scottfirestone/not_napster/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scottfirestone/not_napster/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scottfirestone/not_napster/git/refs{/sha}","trees_url":"https://api.github.com/repos/scottfirestone/not_napster/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scottfirestone/not_napster/statuses/{sha}","languages_url":"https://api.github.com/repos/scottfirestone/not_napster/languages","stargazers_url":"https://api.github.com/repos/scottfirestone/not_napster/stargazers","contributors_url":"https://api.github.com/repos/scottfirestone/not_napster/contributors","subscribers_url":"https://api.github.com/repos/scottfirestone/not_napster/subscribers","subscription_url":"https://api.github.com/repos/scottfirestone/not_napster/subscription","commits_url":"https://api.github.com/repos/scottfirestone/not_napster/commits{/sha}","git_commits_url":"https://api.github.com/repos/scottfirestone/not_napster/git/commits{/sha}","comments_url":"https://api.github.com/repos/scottfirestone/not_napster/comments{/number}","issue_comment_url":"https://api.github.com/repos/scottfirestone/not_napster/issues/comments{/number}","contents_url":"https://api.github.com/repos/scottfirestone/not_napster/contents/{+path}","compare_url":"https://api.github.com/repos/scottfirestone/not_napster/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scottfirestone/not_napster/merges","archive_url":"https://api.github.com/repos/scottfirestone/not_napster/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scottfirestone/not_napster/downloads","issues_url":"https://api.github.com/repos/scottfirestone/not_napster/issues{/number}","pulls_url":"https://api.github.com/repos/scottfirestone/not_napster/pulls{/number}","milestones_url":"https://api.github.com/repos/scottfirestone/not_napster/milestones{/number}","notifications_url":"https://api.github.com/repos/scottfirestone/not_napster/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scottfirestone/not_napster/labels{/name}","releases_url":"https://api.github.com/repos/scottfirestone/not_napster/releases{/id}","deployments_url":"https://api.github.com/repos/scottfirestone/not_napster/deployments","created_at":"2016-02-29T21:31:07Z","updated_at":"2016-02-29T21:31:55Z","pushed_at":"2016-03-08T22:08:27Z","git_url":"git://github.com/scottfirestone/not_napster.git","ssh_url":"git@github.com:scottfirestone/not_napster.git","clone_url":"https://github.com/scottfirestone/not_napster.git","svn_url":"https://github.com/scottfirestone/not_napster","homepage":null,"size":170,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":28,"forks":0,"open_issues":28,"watchers":0,"default_branch":"master"}},"base":{"label":"scottfirestone:master","ref":"master","sha":"4d4aa22d57b14192888b988811dfbf7eacfc30bb","user":{"login":"scottfirestone","id":13153182,"avatar_url":"https://avatars.githubusercontent.com/u/13153182?v=3","gravatar_id":"","url":"https://api.github.com/users/scottfirestone","html_url":"https://github.com/scottfirestone","followers_url":"https://api.github.com/users/scottfirestone/followers","following_url":"https://api.github.com/users/scottfirestone/following{/other_user}","gists_url":"https://api.github.com/users/scottfirestone/gists{/gist_id}","starred_url":"https://api.github.com/users/scottfirestone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottfirestone/subscriptions","organizations_url":"https://api.github.com/users/scottfirestone/orgs","repos_url":"https://api.github.com/users/scottfirestone/repos","events_url":"https://api.github.com/users/scottfirestone/events{/privacy}","received_events_url":"https://api.github.com/users/scottfirestone/received_events","type":"User","site_admin":false},"repo":{"id":52826232,"name":"not_napster","full_name":"scottfirestone/not_napster","owner":{"login":"scottfirestone","id":13153182,"avatar_url":"https://avatars.githubusercontent.com/u/13153182?v=3","gravatar_id":"","url":"https://api.github.com/users/scottfirestone","html_url":"https://github.com/scottfirestone","followers_url":"https://api.github.com/users/scottfirestone/followers","following_url":"https://api.github.com/users/scottfirestone/following{/other_user}","gists_url":"https://api.github.com/users/scottfirestone/gists{/gist_id}","starred_url":"https://api.github.com/users/scottfirestone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottfirestone/subscriptions","organizations_url":"https://api.github.com/users/scottfirestone/orgs","repos_url":"https://api.github.com/users/scottfirestone/repos","events_url":"https://api.github.com/users/scottfirestone/events{/privacy}","received_events_url":"https://api.github.com/users/scottfirestone/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/scottfirestone/not_napster","description":null,"fork":false,"url":"https://api.github.com/repos/scottfirestone/not_napster","forks_url":"https://api.github.com/repos/scottfirestone/not_napster/forks","keys_url":"https://api.github.com/repos/scottfirestone/not_napster/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scottfirestone/not_napster/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scottfirestone/not_napster/teams","hooks_url":"https://api.github.com/repos/scottfirestone/not_napster/hooks","issue_events_url":"https://api.github.com/repos/scottfirestone/not_napster/issues/events{/number}","events_url":"https://api.github.com/repos/scottfirestone/not_napster/events","assignees_url":"https://api.github.com/repos/scottfirestone/not_napster/assignees{/user}","branches_url":"https://api.github.com/repos/scottfirestone/not_napster/branches{/branch}","tags_url":"https://api.github.com/repos/scottfirestone/not_napster/tags","blobs_url":"https://api.github.com/repos/scottfirestone/not_napster/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scottfirestone/not_napster/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scottfirestone/not_napster/git/refs{/sha}","trees_url":"https://api.github.com/repos/scottfirestone/not_napster/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scottfirestone/not_napster/statuses/{sha}","languages_url":"https://api.github.com/repos/scottfirestone/not_napster/languages","stargazers_url":"https://api.github.com/repos/scottfirestone/not_napster/stargazers","contributors_url":"https://api.github.com/repos/scottfirestone/not_napster/contributors","subscribers_url":"https://api.github.com/repos/scottfirestone/not_napster/subscribers","subscription_url":"https://api.github.com/repos/scottfirestone/not_napster/subscription","commits_url":"https://api.github.com/repos/scottfirestone/not_napster/commits{/sha}","git_commits_url":"https://api.github.com/repos/scottfirestone/not_napster/git/commits{/sha}","comments_url":"https://api.github.com/repos/scottfirestone/not_napster/comments{/number}","issue_comment_url":"https://api.github.com/repos/scottfirestone/not_napster/issues/comments{/number}","contents_url":"https://api.github.com/repos/scottfirestone/not_napster/contents/{+path}","compare_url":"https://api.github.com/repos/scottfirestone/not_napster/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scottfirestone/not_napster/merges","archive_url":"https://api.github.com/repos/scottfirestone/not_napster/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scottfirestone/not_napster/downloads","issues_url":"https://api.github.com/repos/scottfirestone/not_napster/issues{/number}","pulls_url":"https://api.github.com/repos/scottfirestone/not_napster/pulls{/number}","milestones_url":"https://api.github.com/repos/scottfirestone/not_napster/milestones{/number}","notifications_url":"https://api.github.com/repos/scottfirestone/not_napster/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scottfirestone/not_napster/labels{/name}","releases_url":"https://api.github.com/repos/scottfirestone/not_napster/releases{/id}","deployments_url":"https://api.github.com/repos/scottfirestone/not_napster/deployments","created_at":"2016-02-29T21:31:07Z","updated_at":"2016-02-29T21:31:55Z","pushed_at":"2016-03-08T22:08:27Z","git_url":"git://github.com/scottfirestone/not_napster.git","ssh_url":"git@github.com:scottfirestone/not_napster.git","clone_url":"https://github.com/scottfirestone/not_napster.git","svn_url":"https://github.com/scottfirestone/not_napster","homepage":null,"size":170,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":28,"forks":0,"open_issues":28,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/scottfirestone/not_napster/pulls/120"},"html":{"href":"https://github.com/scottfirestone/not_napster/pull/120"},"issue":{"href":"https://api.github.com/repos/scottfirestone/not_napster/issues/120"},"comments":{"href":"https://api.github.com/repos/scottfirestone/not_napster/issues/120/comments"},"review_comments":{"href":"https://api.github.com/repos/scottfirestone/not_napster/pulls/120/comments"},"review_comment":{"href":"https://api.github.com/repos/scottfirestone/not_napster/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/scottfirestone/not_napster/pulls/120/commits"},"statuses":{"href":"https://api.github.com/repos/scottfirestone/not_napster/statuses/2b71c5aa221f58cb16ae15194e216e39f3f1f731"}}}}