{"action":"created","issue":{"url":"https://api.github.com/repos/Sylius/RefundPlugin/issues/16","repository_url":"https://api.github.com/repos/Sylius/RefundPlugin","labels_url":"https://api.github.com/repos/Sylius/RefundPlugin/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/Sylius/RefundPlugin/issues/16/comments","events_url":"https://api.github.com/repos/Sylius/RefundPlugin/issues/16/events","html_url":"https://github.com/Sylius/RefundPlugin/issues/16","id":342713946,"node_id":"MDU6SXNzdWUzNDI3MTM5NDY=","number":16,"title":"Sylius \"refund\" functionality","user":{"login":"Zales0123","id":6212718,"node_id":"MDQ6VXNlcjYyMTI3MTg=","avatar_url":"https://avatars1.githubusercontent.com/u/6212718?v=4","gravatar_id":"","url":"https://api.github.com/users/Zales0123","html_url":"https://github.com/Zales0123","followers_url":"https://api.github.com/users/Zales0123/followers","following_url":"https://api.github.com/users/Zales0123/following{/other_user}","gists_url":"https://api.github.com/users/Zales0123/gists{/gist_id}","starred_url":"https://api.github.com/users/Zales0123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zales0123/subscriptions","organizations_url":"https://api.github.com/users/Zales0123/orgs","repos_url":"https://api.github.com/users/Zales0123/repos","events_url":"https://api.github.com/users/Zales0123/events{/privacy}","received_events_url":"https://api.github.com/users/Zales0123/received_events","type":"User","site_admin":false},"labels":[{"id":982005850,"node_id":"MDU6TGFiZWw5ODIwMDU4NTA=","url":"https://api.github.com/repos/Sylius/RefundPlugin/labels/question","name":"question","color":"d876e3","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-07-19T12:48:47Z","updated_at":"2018-07-20T09:41:08Z","closed_at":null,"author_association":"MEMBER","body":"We're working in this plugin for a proper refunding functionality. However, **Sylius** itself provide something like refunds - a simple state machine transitions with no logic at all.\r\n\r\nIt's quite confusing, as even though we provide \"Refunds\" button on order page, there is still a \"Refund\" button near the payment\r\n\r\n<img width=\"284\" alt=\"zrzut ekranu 2018-07-19 o 14 43 14\" src=\"https://user-images.githubusercontent.com/6212718/42943219-705ba03e-8b62-11e8-8ea5-f5913aca0d6a.png\">\r\n\r\nand therefore payment can be marked as **refunded**\r\n\r\n<img width=\"289\" alt=\"zrzut ekranu 2018-07-19 o 14 43 22\" src=\"https://user-images.githubusercontent.com/6212718/42943240-7f4b1c1e-8b62-11e8-8ed6-7dcbf8de207b.png\">\r\n\r\nThe question is, should we somehow hide this behavior in our plugin? Or should it be fixed in **Sylius**?\r\n\r\ncc @pjedrzejewski @CoderMaggie especially, @pamil @GSadee @bartoszpietrzak1994 of course as well"},"comment":{"url":"https://api.github.com/repos/Sylius/RefundPlugin/issues/comments/406547589","html_url":"https://github.com/Sylius/RefundPlugin/issues/16#issuecomment-406547589","issue_url":"https://api.github.com/repos/Sylius/RefundPlugin/issues/16","id":406547589,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNjU0NzU4OQ==","user":{"login":"GSadee","id":6140884,"node_id":"MDQ6VXNlcjYxNDA4ODQ=","avatar_url":"https://avatars0.githubusercontent.com/u/6140884?v=4","gravatar_id":"","url":"https://api.github.com/users/GSadee","html_url":"https://github.com/GSadee","followers_url":"https://api.github.com/users/GSadee/followers","following_url":"https://api.github.com/users/GSadee/following{/other_user}","gists_url":"https://api.github.com/users/GSadee/gists{/gist_id}","starred_url":"https://api.github.com/users/GSadee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GSadee/subscriptions","organizations_url":"https://api.github.com/users/GSadee/orgs","repos_url":"https://api.github.com/users/GSadee/repos","events_url":"https://api.github.com/users/GSadee/events{/privacy}","received_events_url":"https://api.github.com/users/GSadee/received_events","type":"User","site_admin":false},"created_at":"2018-07-20T09:41:08Z","updated_at":"2018-07-20T09:41:08Z","author_association":"MEMBER","body":"In first step, I would be for hiding payment refund button in this plugin. \r\nI'm not sure if we should remove this feature in Sylius/Sylius until the RefundPlugin functionalities are not in the Core."}}
{"actor":{"display_login":"GSadee"}}