{"action":"created","issue":{"url":"https://api.github.com/repos/fossasia/open-event-server/issues/4658","repository_url":"https://api.github.com/repos/fossasia/open-event-server","labels_url":"https://api.github.com/repos/fossasia/open-event-server/issues/4658/labels{/name}","comments_url":"https://api.github.com/repos/fossasia/open-event-server/issues/4658/comments","events_url":"https://api.github.com/repos/fossasia/open-event-server/issues/4658/events","html_url":"https://github.com/fossasia/open-event-server/issues/4658","id":312341277,"number":4658,"title":"Unknown error 500 on creating Order","user":{"login":"iamareebjamal","id":3874064,"avatar_url":"https://avatars0.githubusercontent.com/u/3874064?v=4","gravatar_id":"","url":"https://api.github.com/users/iamareebjamal","html_url":"https://github.com/iamareebjamal","followers_url":"https://api.github.com/users/iamareebjamal/followers","following_url":"https://api.github.com/users/iamareebjamal/following{/other_user}","gists_url":"https://api.github.com/users/iamareebjamal/gists{/gist_id}","starred_url":"https://api.github.com/users/iamareebjamal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iamareebjamal/subscriptions","organizations_url":"https://api.github.com/users/iamareebjamal/orgs","repos_url":"https://api.github.com/users/iamareebjamal/repos","events_url":"https://api.github.com/users/iamareebjamal/events{/privacy}","received_events_url":"https://api.github.com/users/iamareebjamal/received_events","type":"User","site_admin":false},"labels":[{"id":209052296,"url":"https://api.github.com/repos/fossasia/open-event-server/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-04-08T21:05:43Z","updated_at":"2018-04-17T05:55:43Z","closed_at":null,"author_association":"OWNER","body":"**I'm submitting a ...**  (check one with \"x\")\r\n- [x] bug report\r\n- [ ] feature request\r\n- [ ] support request => Please do not submit support requests here, instead ask your query in out Gitter channel at https://gitter.im/fossasia/open-event-server\r\n\r\n**Current behavior:**\r\nUnknown error 500 on creating Order\r\n```\r\n{\r\n  \"data\": {\r\n    \"attributes\": {\r\n      \"payment-mode\": \"paypal\",\r\n      \"country\": \"India\",\r\n      \"status\": \"pending\",\r\n      \"amount\": \"10\"\r\n    },\r\n    \"type\": \"order\",\r\n    \"relationships\": {\r\n      \"attendees\": {\r\n        \"data\": [\r\n          {\r\n            \"id\": \"21\",\r\n            \"type\": \"attendee\"\r\n          }\r\n        ]\r\n      },\r\n      \"event\": {\r\n        \"data\": {\r\n          \"id\": \"155\",\r\n          \"type\": \"event\"\r\n        }\r\n      }\r\n    }\r\n  }\r\n}\r\n```\r\n\r\n**Expected behavior:**\r\nOrder should be created\r\n\r\n**Steps to reproduce:**\r\nCreate order\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/fossasia/open-event-server/issues/comments/381854285","html_url":"https://github.com/fossasia/open-event-server/issues/4658#issuecomment-381854285","issue_url":"https://api.github.com/repos/fossasia/open-event-server/issues/4658","id":381854285,"user":{"login":"mayank8318","id":22395998,"avatar_url":"https://avatars0.githubusercontent.com/u/22395998?v=4","gravatar_id":"","url":"https://api.github.com/users/mayank8318","html_url":"https://github.com/mayank8318","followers_url":"https://api.github.com/users/mayank8318/followers","following_url":"https://api.github.com/users/mayank8318/following{/other_user}","gists_url":"https://api.github.com/users/mayank8318/gists{/gist_id}","starred_url":"https://api.github.com/users/mayank8318/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mayank8318/subscriptions","organizations_url":"https://api.github.com/users/mayank8318/orgs","repos_url":"https://api.github.com/users/mayank8318/repos","events_url":"https://api.github.com/users/mayank8318/events{/privacy}","received_events_url":"https://api.github.com/users/mayank8318/received_events","type":"User","site_admin":false},"created_at":"2018-04-17T05:55:43Z","updated_at":"2018-04-17T05:55:43Z","author_association":"NONE","body":"@iamareebjamal @SaptakS I am having difficulty reproducing the issue. I did the following things :\r\n1) Created an event\r\n2) Added tickets to the event\r\nThen tried to add attendees to the event using the above-created ticket id but I get 405 error. Is there some detail or step that I am missing?"}}
{"actor":{"display_login":"mayank8318"}}