{"action":"created","issue":{"url":"https://api.github.com/repos/Sylius/Sylius/issues/5382","repository_url":"https://api.github.com/repos/Sylius/Sylius","labels_url":"https://api.github.com/repos/Sylius/Sylius/issues/5382/labels{/name}","comments_url":"https://api.github.com/repos/Sylius/Sylius/issues/5382/comments","events_url":"https://api.github.com/repos/Sylius/Sylius/issues/5382/events","html_url":"https://github.com/Sylius/Sylius/issues/5382","id":162707978,"number":5382,"title":"[Order] Abandoning orders / Payment failure","user":{"login":"dantleech","id":530801,"avatar_url":"https://avatars.githubusercontent.com/u/530801?v=3","gravatar_id":"","url":"https://api.github.com/users/dantleech","html_url":"https://github.com/dantleech","followers_url":"https://api.github.com/users/dantleech/followers","following_url":"https://api.github.com/users/dantleech/following{/other_user}","gists_url":"https://api.github.com/users/dantleech/gists{/gist_id}","starred_url":"https://api.github.com/users/dantleech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dantleech/subscriptions","organizations_url":"https://api.github.com/users/dantleech/orgs","repos_url":"https://api.github.com/users/dantleech/repos","events_url":"https://api.github.com/users/dantleech/events{/privacy}","received_events_url":"https://api.github.com/users/dantleech/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-06-28T15:00:21Z","updated_at":"2016-06-28T21:32:29Z","closed_at":null,"body":"This is potentially just a question:\r\n\r\n- What happens when payment fails and the user goes away and loses their session?\r\n\r\nI would expect the order to be abandoned/released(?) by something like [ExpiredOrdersReleaser](https://github.com/Sylius/Sylius/blob/master/src/Sylius/Bundle/CoreBundle/Releaser/ExpiredOrdersReleaser.php). This expires orders based on the state `pending`.\r\n\r\n- Will failed payments be abandoned?\r\n\r\nIn dev-master it seems my orders stay in the `new` state and never reach `pending` (will need to verify this)."},"comment":{"url":"https://api.github.com/repos/Sylius/Sylius/issues/comments/229190551","html_url":"https://github.com/Sylius/Sylius/issues/5382#issuecomment-229190551","issue_url":"https://api.github.com/repos/Sylius/Sylius/issues/5382","id":229190551,"user":{"login":"antonioperic","id":2453151,"avatar_url":"https://avatars.githubusercontent.com/u/2453151?v=3","gravatar_id":"","url":"https://api.github.com/users/antonioperic","html_url":"https://github.com/antonioperic","followers_url":"https://api.github.com/users/antonioperic/followers","following_url":"https://api.github.com/users/antonioperic/following{/other_user}","gists_url":"https://api.github.com/users/antonioperic/gists{/gist_id}","starred_url":"https://api.github.com/users/antonioperic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antonioperic/subscriptions","organizations_url":"https://api.github.com/users/antonioperic/orgs","repos_url":"https://api.github.com/users/antonioperic/repos","events_url":"https://api.github.com/users/antonioperic/events{/privacy}","received_events_url":"https://api.github.com/users/antonioperic/received_events","type":"User","site_admin":false},"created_at":"2016-06-28T21:32:29Z","updated_at":"2016-06-28T21:32:29Z","body":"ping @pjedrzejewski @michalmarcinkowski "}}
{"actor":{"display_login":"antonioperic"}}