{"action":"created","issue":{"url":"https://api.github.com/repos/fossasia/open-event-orga-server/issues/1927","repository_url":"https://api.github.com/repos/fossasia/open-event-orga-server","labels_url":"https://api.github.com/repos/fossasia/open-event-orga-server/issues/1927/labels{/name}","comments_url":"https://api.github.com/repos/fossasia/open-event-orga-server/issues/1927/comments","events_url":"https://api.github.com/repos/fossasia/open-event-orga-server/issues/1927/events","html_url":"https://github.com/fossasia/open-event-orga-server/pull/1927","id":168162778,"number":1927,"title":"Ticketing Flow","user":{"login":"niranjan94","id":2404372,"avatar_url":"https://avatars.githubusercontent.com/u/2404372?v=3","gravatar_id":"","url":"https://api.github.com/users/niranjan94","html_url":"https://github.com/niranjan94","followers_url":"https://api.github.com/users/niranjan94/followers","following_url":"https://api.github.com/users/niranjan94/following{/other_user}","gists_url":"https://api.github.com/users/niranjan94/gists{/gist_id}","starred_url":"https://api.github.com/users/niranjan94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niranjan94/subscriptions","organizations_url":"https://api.github.com/users/niranjan94/orgs","repos_url":"https://api.github.com/users/niranjan94/repos","events_url":"https://api.github.com/users/niranjan94/events{/privacy}","received_events_url":"https://api.github.com/users/niranjan94/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fossasia/open-event-orga-server/labels/feature","name":"feature","color":"fbca04"},{"url":"https://api.github.com/repos/fossasia/open-event-orga-server/labels/Payment","name":"Payment","color":"e99695"},{"url":"https://api.github.com/repos/fossasia/open-event-orga-server/labels/Ticketing","name":"Ticketing","color":"bfd4f2"}],"state":"open","locked":false,"assignee":{"login":"niranjan94","id":2404372,"avatar_url":"https://avatars.githubusercontent.com/u/2404372?v=3","gravatar_id":"","url":"https://api.github.com/users/niranjan94","html_url":"https://github.com/niranjan94","followers_url":"https://api.github.com/users/niranjan94/followers","following_url":"https://api.github.com/users/niranjan94/following{/other_user}","gists_url":"https://api.github.com/users/niranjan94/gists{/gist_id}","starred_url":"https://api.github.com/users/niranjan94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niranjan94/subscriptions","organizations_url":"https://api.github.com/users/niranjan94/orgs","repos_url":"https://api.github.com/users/niranjan94/repos","events_url":"https://api.github.com/users/niranjan94/events{/privacy}","received_events_url":"https://api.github.com/users/niranjan94/received_events","type":"User","site_admin":false},"assignees":[{"login":"niranjan94","id":2404372,"avatar_url":"https://avatars.githubusercontent.com/u/2404372?v=3","gravatar_id":"","url":"https://api.github.com/users/niranjan94","html_url":"https://github.com/niranjan94","followers_url":"https://api.github.com/users/niranjan94/followers","following_url":"https://api.github.com/users/niranjan94/following{/other_user}","gists_url":"https://api.github.com/users/niranjan94/gists{/gist_id}","starred_url":"https://api.github.com/users/niranjan94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niranjan94/subscriptions","organizations_url":"https://api.github.com/users/niranjan94/orgs","repos_url":"https://api.github.com/users/niranjan94/repos","events_url":"https://api.github.com/users/niranjan94/events{/privacy}","received_events_url":"https://api.github.com/users/niranjan94/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/fossasia/open-event-orga-server/milestones/16","html_url":"https://github.com/fossasia/open-event-orga-server/milestones/GSOC%202016:%20Milestone%2011","labels_url":"https://api.github.com/repos/fossasia/open-event-orga-server/milestones/16/labels","id":1762385,"number":16,"title":"GSOC 2016: Milestone 11","description":"GSOC 2016 Milestone 11 - All issues to be completed by 31th July 2016.\r\n\r\nInstructions: \r\n1. Create issues to work on.\r\n2. Assign the issue to the milestone.\r\n3. Assign the issue to a user.\r\n\r\nCompleted Milestone:\r\n1. Create a blog post describing what has been done.\r\n2. Tag a release.\r\n3. Deploy on a server.","creator":{"login":"juslee","id":1696598,"avatar_url":"https://avatars.githubusercontent.com/u/1696598?v=3","gravatar_id":"","url":"https://api.github.com/users/juslee","html_url":"https://github.com/juslee","followers_url":"https://api.github.com/users/juslee/followers","following_url":"https://api.github.com/users/juslee/following{/other_user}","gists_url":"https://api.github.com/users/juslee/gists{/gist_id}","starred_url":"https://api.github.com/users/juslee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juslee/subscriptions","organizations_url":"https://api.github.com/users/juslee/orgs","repos_url":"https://api.github.com/users/juslee/repos","events_url":"https://api.github.com/users/juslee/events{/privacy}","received_events_url":"https://api.github.com/users/juslee/received_events","type":"User","site_admin":false},"open_issues":49,"closed_issues":100,"state":"open","created_at":"2016-05-12T13:16:00Z","updated_at":"2016-07-30T13:30:44Z","due_on":"2016-07-30T22:00:00Z","closed_at":null},"comments":5,"created_at":"2016-07-28T18:21:25Z","updated_at":"2016-07-30T15:43:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/fossasia/open-event-orga-server/pulls/1927","html_url":"https://github.com/fossasia/open-event-orga-server/pull/1927","diff_url":"https://github.com/fossasia/open-event-orga-server/pull/1927.diff","patch_url":"https://github.com/fossasia/open-event-orga-server/pull/1927.patch"},"body":"Resolves #1913 \r\n\r\n### Progress:\r\n**Thursday, 28th July 2016:**\r\n- Added order summary page that is shown to the user before handing over to PayPal or Stripe.\r\n- Added the required models and migrations for storing order information and sold tickets.\r\n- Added and tested basic order creation.\r\n\r\n**Friday, 29th July 2016:**\r\n- Store ticket wise order details and display in summary\r\n- Show 404 page if an order is not found or if it has expired\r\n- Set order as expired, show user an alert and redirect to the event page if time limit exceeds\r\n- Added stripe integration along with the ability to set the required keys from super admin settings page\r\n- Initialize order transaction and handover to Stripe to complete the payment\r\n- Display invoice after payment\r\n- Added a print invoice button for the users to print\r\n\r\n**Saturday, 30th July 2016:**\r\n- Added option to download the invoice as a PDF\r\n- Send email to user after a successful purchase\r\n- Allow user to login and continue the purchase\r\n- Show total cost on the ticketing box in the public event page which updates on changing quantity\r\n- Added unittests for all the implemented functionality"},"comment":{"url":"https://api.github.com/repos/fossasia/open-event-orga-server/issues/comments/236372231","html_url":"https://github.com/fossasia/open-event-orga-server/pull/1927#issuecomment-236372231","issue_url":"https://api.github.com/repos/fossasia/open-event-orga-server/issues/1927","id":236372231,"user":{"login":"codacy-bot","id":19940114,"avatar_url":"https://avatars.githubusercontent.com/u/19940114?v=3","gravatar_id":"","url":"https://api.github.com/users/codacy-bot","html_url":"https://github.com/codacy-bot","followers_url":"https://api.github.com/users/codacy-bot/followers","following_url":"https://api.github.com/users/codacy-bot/following{/other_user}","gists_url":"https://api.github.com/users/codacy-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/codacy-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codacy-bot/subscriptions","organizations_url":"https://api.github.com/users/codacy-bot/orgs","repos_url":"https://api.github.com/users/codacy-bot/repos","events_url":"https://api.github.com/users/codacy-bot/events{/privacy}","received_events_url":"https://api.github.com/users/codacy-bot/received_events","type":"User","site_admin":false},"created_at":"2016-07-30T15:43:05Z","updated_at":"2016-07-30T15:43:05Z","body":"\n![Codacy](https://www.codacy.com/assets/images/favicon.png) Here is an overview of what got changed by this pull request:\n\n\n```diff\n\nIssues\n======\n+ Solved 1\n           \n\nComplexity increasing per file\n==============================\n- tests/views/guest/test_ticketing.py  2\n- app/views/public/ticketing.py  3\n- app/helpers/ticketing.py  3\n         \n\nClones added\n============\n- app/helpers/helpers.py  4\n         \n\nClones removed\n==============\n+ app/views/public/ticketing.py  -1\n         \n```\n\n\nSee the complete overview on [Codacy](https://www.codacy.com/app/fossasia/open-event-orga-server/pullRequest?prid=296327&bid=3480865)\n        "}}
{"actor":{"display_login":"codacy-bot"}}