{"action":"opened","number":37,"pull_request":{"url":"https://api.github.com/repos/devbootcamps/website/pulls/37","id":27888313,"html_url":"https://github.com/devbootcamps/website/pull/37","diff_url":"https://github.com/devbootcamps/website/pull/37.diff","patch_url":"https://github.com/devbootcamps/website/pull/37.patch","issue_url":"https://api.github.com/repos/devbootcamps/website/issues/37","number":37,"state":"open","locked":false,"title":"Ticket Orders & Payments","user":{"login":"foxycoder","id":309331,"avatar_url":"https://avatars.githubusercontent.com/u/309331?v=3","gravatar_id":"","url":"https://api.github.com/users/foxycoder","html_url":"https://github.com/foxycoder","followers_url":"https://api.github.com/users/foxycoder/followers","following_url":"https://api.github.com/users/foxycoder/following{/other_user}","gists_url":"https://api.github.com/users/foxycoder/gists{/gist_id}","starred_url":"https://api.github.com/users/foxycoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foxycoder/subscriptions","organizations_url":"https://api.github.com/users/foxycoder/orgs","repos_url":"https://api.github.com/users/foxycoder/repos","events_url":"https://api.github.com/users/foxycoder/events{/privacy}","received_events_url":"https://api.github.com/users/foxycoder/received_events","type":"User","site_admin":false},"body":"In order to make this run, you need a couple of ENV vars:\r\n\r\n```ruby\r\nENV['DB_STRIPE_PKEY'] # A public Stripe key\r\nENV['DB_MOLLY_KEY']   # An API key for your Mollie account\r\n```\r\n\r\nTake these steps to test it:\r\n\r\n- Start your local server and go to [`/tickets`](http://localhost:3000/tickets)\r\n- Order a couple of tickets, try with one and with more tickets\r\n- Read all texts thoroughly and check them for errors/inconsistencies/etc.\r\n- Make a payment through Mollie\r\n- Make a payment through Stripe\r\n\r\n\r\nNote that Mollie's and Stripe's webhooks do not work on your local env.","created_at":"2015-01-22T23:26:13Z","updated_at":"2015-01-22T23:26:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/devbootcamps/website/pulls/37/commits","review_comments_url":"https://api.github.com/repos/devbootcamps/website/pulls/37/comments","review_comment_url":"https://api.github.com/repos/devbootcamps/website/pulls/comments/{number}","comments_url":"https://api.github.com/repos/devbootcamps/website/issues/37/comments","statuses_url":"https://api.github.com/repos/devbootcamps/website/statuses/043b8c21a123ef160e3258d3cfcd661e14b8fdf3","head":{"label":"devbootcamps:feature/tickets","ref":"feature/tickets","sha":"043b8c21a123ef160e3258d3cfcd661e14b8fdf3","user":{"login":"devbootcamps","id":9595644,"avatar_url":"https://avatars.githubusercontent.com/u/9595644?v=3","gravatar_id":"","url":"https://api.github.com/users/devbootcamps","html_url":"https://github.com/devbootcamps","followers_url":"https://api.github.com/users/devbootcamps/followers","following_url":"https://api.github.com/users/devbootcamps/following{/other_user}","gists_url":"https://api.github.com/users/devbootcamps/gists{/gist_id}","starred_url":"https://api.github.com/users/devbootcamps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devbootcamps/subscriptions","organizations_url":"https://api.github.com/users/devbootcamps/orgs","repos_url":"https://api.github.com/users/devbootcamps/repos","events_url":"https://api.github.com/users/devbootcamps/events{/privacy}","received_events_url":"https://api.github.com/users/devbootcamps/received_events","type":"Organization","site_admin":false},"repo":{"id":26284364,"name":"website","full_name":"devbootcamps/website","owner":{"login":"devbootcamps","id":9595644,"avatar_url":"https://avatars.githubusercontent.com/u/9595644?v=3","gravatar_id":"","url":"https://api.github.com/users/devbootcamps","html_url":"https://github.com/devbootcamps","followers_url":"https://api.github.com/users/devbootcamps/followers","following_url":"https://api.github.com/users/devbootcamps/following{/other_user}","gists_url":"https://api.github.com/users/devbootcamps/gists{/gist_id}","starred_url":"https://api.github.com/users/devbootcamps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devbootcamps/subscriptions","organizations_url":"https://api.github.com/users/devbootcamps/orgs","repos_url":"https://api.github.com/users/devbootcamps/repos","events_url":"https://api.github.com/users/devbootcamps/events{/privacy}","received_events_url":"https://api.github.com/users/devbootcamps/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/devbootcamps/website","description":"The Development Bootcamp Website","fork":false,"url":"https://api.github.com/repos/devbootcamps/website","forks_url":"https://api.github.com/repos/devbootcamps/website/forks","keys_url":"https://api.github.com/repos/devbootcamps/website/keys{/key_id}","collaborators_url":"https://api.github.com/repos/devbootcamps/website/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/devbootcamps/website/teams","hooks_url":"https://api.github.com/repos/devbootcamps/website/hooks","issue_events_url":"https://api.github.com/repos/devbootcamps/website/issues/events{/number}","events_url":"https://api.github.com/repos/devbootcamps/website/events","assignees_url":"https://api.github.com/repos/devbootcamps/website/assignees{/user}","branches_url":"https://api.github.com/repos/devbootcamps/website/branches{/branch}","tags_url":"https://api.github.com/repos/devbootcamps/website/tags","blobs_url":"https://api.github.com/repos/devbootcamps/website/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/devbootcamps/website/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/devbootcamps/website/git/refs{/sha}","trees_url":"https://api.github.com/repos/devbootcamps/website/git/trees{/sha}","statuses_url":"https://api.github.com/repos/devbootcamps/website/statuses/{sha}","languages_url":"https://api.github.com/repos/devbootcamps/website/languages","stargazers_url":"https://api.github.com/repos/devbootcamps/website/stargazers","contributors_url":"https://api.github.com/repos/devbootcamps/website/contributors","subscribers_url":"https://api.github.com/repos/devbootcamps/website/subscribers","subscription_url":"https://api.github.com/repos/devbootcamps/website/subscription","commits_url":"https://api.github.com/repos/devbootcamps/website/commits{/sha}","git_commits_url":"https://api.github.com/repos/devbootcamps/website/git/commits{/sha}","comments_url":"https://api.github.com/repos/devbootcamps/website/comments{/number}","issue_comment_url":"https://api.github.com/repos/devbootcamps/website/issues/comments/{number}","contents_url":"https://api.github.com/repos/devbootcamps/website/contents/{+path}","compare_url":"https://api.github.com/repos/devbootcamps/website/compare/{base}...{head}","merges_url":"https://api.github.com/repos/devbootcamps/website/merges","archive_url":"https://api.github.com/repos/devbootcamps/website/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/devbootcamps/website/downloads","issues_url":"https://api.github.com/repos/devbootcamps/website/issues{/number}","pulls_url":"https://api.github.com/repos/devbootcamps/website/pulls{/number}","milestones_url":"https://api.github.com/repos/devbootcamps/website/milestones{/number}","notifications_url":"https://api.github.com/repos/devbootcamps/website/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/devbootcamps/website/labels{/name}","releases_url":"https://api.github.com/repos/devbootcamps/website/releases{/id}","created_at":"2014-11-06T18:46:17Z","updated_at":"2015-01-22T11:11:12Z","pushed_at":"2015-01-22T23:22:30Z","git_url":"git://github.com/devbootcamps/website.git","ssh_url":"git@github.com:devbootcamps/website.git","clone_url":"https://github.com/devbootcamps/website.git","svn_url":"https://github.com/devbootcamps/website","homepage":"http://www.developmentbootcamp.nl","size":4744,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":1,"default_branch":"master"}},"base":{"label":"devbootcamps:master","ref":"master","sha":"0b7e8d52bff736efd569f56eac4fff45a0e6a0a6","user":{"login":"devbootcamps","id":9595644,"avatar_url":"https://avatars.githubusercontent.com/u/9595644?v=3","gravatar_id":"","url":"https://api.github.com/users/devbootcamps","html_url":"https://github.com/devbootcamps","followers_url":"https://api.github.com/users/devbootcamps/followers","following_url":"https://api.github.com/users/devbootcamps/following{/other_user}","gists_url":"https://api.github.com/users/devbootcamps/gists{/gist_id}","starred_url":"https://api.github.com/users/devbootcamps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devbootcamps/subscriptions","organizations_url":"https://api.github.com/users/devbootcamps/orgs","repos_url":"https://api.github.com/users/devbootcamps/repos","events_url":"https://api.github.com/users/devbootcamps/events{/privacy}","received_events_url":"https://api.github.com/users/devbootcamps/received_events","type":"Organization","site_admin":false},"repo":{"id":26284364,"name":"website","full_name":"devbootcamps/website","owner":{"login":"devbootcamps","id":9595644,"avatar_url":"https://avatars.githubusercontent.com/u/9595644?v=3","gravatar_id":"","url":"https://api.github.com/users/devbootcamps","html_url":"https://github.com/devbootcamps","followers_url":"https://api.github.com/users/devbootcamps/followers","following_url":"https://api.github.com/users/devbootcamps/following{/other_user}","gists_url":"https://api.github.com/users/devbootcamps/gists{/gist_id}","starred_url":"https://api.github.com/users/devbootcamps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devbootcamps/subscriptions","organizations_url":"https://api.github.com/users/devbootcamps/orgs","repos_url":"https://api.github.com/users/devbootcamps/repos","events_url":"https://api.github.com/users/devbootcamps/events{/privacy}","received_events_url":"https://api.github.com/users/devbootcamps/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/devbootcamps/website","description":"The Development Bootcamp Website","fork":false,"url":"https://api.github.com/repos/devbootcamps/website","forks_url":"https://api.github.com/repos/devbootcamps/website/forks","keys_url":"https://api.github.com/repos/devbootcamps/website/keys{/key_id}","collaborators_url":"https://api.github.com/repos/devbootcamps/website/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/devbootcamps/website/teams","hooks_url":"https://api.github.com/repos/devbootcamps/website/hooks","issue_events_url":"https://api.github.com/repos/devbootcamps/website/issues/events{/number}","events_url":"https://api.github.com/repos/devbootcamps/website/events","assignees_url":"https://api.github.com/repos/devbootcamps/website/assignees{/user}","branches_url":"https://api.github.com/repos/devbootcamps/website/branches{/branch}","tags_url":"https://api.github.com/repos/devbootcamps/website/tags","blobs_url":"https://api.github.com/repos/devbootcamps/website/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/devbootcamps/website/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/devbootcamps/website/git/refs{/sha}","trees_url":"https://api.github.com/repos/devbootcamps/website/git/trees{/sha}","statuses_url":"https://api.github.com/repos/devbootcamps/website/statuses/{sha}","languages_url":"https://api.github.com/repos/devbootcamps/website/languages","stargazers_url":"https://api.github.com/repos/devbootcamps/website/stargazers","contributors_url":"https://api.github.com/repos/devbootcamps/website/contributors","subscribers_url":"https://api.github.com/repos/devbootcamps/website/subscribers","subscription_url":"https://api.github.com/repos/devbootcamps/website/subscription","commits_url":"https://api.github.com/repos/devbootcamps/website/commits{/sha}","git_commits_url":"https://api.github.com/repos/devbootcamps/website/git/commits{/sha}","comments_url":"https://api.github.com/repos/devbootcamps/website/comments{/number}","issue_comment_url":"https://api.github.com/repos/devbootcamps/website/issues/comments/{number}","contents_url":"https://api.github.com/repos/devbootcamps/website/contents/{+path}","compare_url":"https://api.github.com/repos/devbootcamps/website/compare/{base}...{head}","merges_url":"https://api.github.com/repos/devbootcamps/website/merges","archive_url":"https://api.github.com/repos/devbootcamps/website/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/devbootcamps/website/downloads","issues_url":"https://api.github.com/repos/devbootcamps/website/issues{/number}","pulls_url":"https://api.github.com/repos/devbootcamps/website/pulls{/number}","milestones_url":"https://api.github.com/repos/devbootcamps/website/milestones{/number}","notifications_url":"https://api.github.com/repos/devbootcamps/website/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/devbootcamps/website/labels{/name}","releases_url":"https://api.github.com/repos/devbootcamps/website/releases{/id}","created_at":"2014-11-06T18:46:17Z","updated_at":"2015-01-22T11:11:12Z","pushed_at":"2015-01-22T23:22:30Z","git_url":"git://github.com/devbootcamps/website.git","ssh_url":"git@github.com:devbootcamps/website.git","clone_url":"https://github.com/devbootcamps/website.git","svn_url":"https://github.com/devbootcamps/website","homepage":"http://www.developmentbootcamp.nl","size":4744,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/devbootcamps/website/pulls/37"},"html":{"href":"https://github.com/devbootcamps/website/pull/37"},"issue":{"href":"https://api.github.com/repos/devbootcamps/website/issues/37"},"comments":{"href":"https://api.github.com/repos/devbootcamps/website/issues/37/comments"},"review_comments":{"href":"https://api.github.com/repos/devbootcamps/website/pulls/37/comments"},"review_comment":{"href":"https://api.github.com/repos/devbootcamps/website/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/devbootcamps/website/pulls/37/commits"},"statuses":{"href":"https://api.github.com/repos/devbootcamps/website/statuses/043b8c21a123ef160e3258d3cfcd661e14b8fdf3"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":1198,"deletions":140,"changed_files":47}}