{"action":"created","issue":{"url":"https://api.github.com/repos/OFFLINE-GmbH/oc-mall-plugin/issues/39","repository_url":"https://api.github.com/repos/OFFLINE-GmbH/oc-mall-plugin","labels_url":"https://api.github.com/repos/OFFLINE-GmbH/oc-mall-plugin/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/OFFLINE-GmbH/oc-mall-plugin/issues/39/comments","events_url":"https://api.github.com/repos/OFFLINE-GmbH/oc-mall-plugin/issues/39/events","html_url":"https://github.com/OFFLINE-GmbH/oc-mall-plugin/issues/39","id":351226110,"node_id":"MDU6SXNzdWUzNTEyMjYxMTA=","number":39,"title":"Add Offline payment","user":{"login":"pvullioud","id":3446410,"node_id":"MDQ6VXNlcjM0NDY0MTA=","avatar_url":"https://avatars1.githubusercontent.com/u/3446410?v=4","gravatar_id":"","url":"https://api.github.com/users/pvullioud","html_url":"https://github.com/pvullioud","followers_url":"https://api.github.com/users/pvullioud/followers","following_url":"https://api.github.com/users/pvullioud/following{/other_user}","gists_url":"https://api.github.com/users/pvullioud/gists{/gist_id}","starred_url":"https://api.github.com/users/pvullioud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pvullioud/subscriptions","organizations_url":"https://api.github.com/users/pvullioud/orgs","repos_url":"https://api.github.com/users/pvullioud/repos","events_url":"https://api.github.com/users/pvullioud/events{/privacy}","received_events_url":"https://api.github.com/users/pvullioud/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-08-16T14:18:30Z","updated_at":"2018-08-16T14:56:22Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Like \"Pay on Delivery\", \"Bank transfer\"\r\nThis kind of payment need to display extra info on the bill and the email : \r\n- Bank info\r\n- Address\r\n\r\nWork in progress\r\nhttps://github.com/OFFLINE-GmbH/oc-mall-plugin/compare/develop...inetis-ch:offline_pay?expand=1"},"comment":{"url":"https://api.github.com/repos/OFFLINE-GmbH/oc-mall-plugin/issues/comments/413574818","html_url":"https://github.com/OFFLINE-GmbH/oc-mall-plugin/issues/39#issuecomment-413574818","issue_url":"https://api.github.com/repos/OFFLINE-GmbH/oc-mall-plugin/issues/39","id":413574818,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMzU3NDgxOA==","user":{"login":"pvullioud","id":3446410,"node_id":"MDQ6VXNlcjM0NDY0MTA=","avatar_url":"https://avatars1.githubusercontent.com/u/3446410?v=4","gravatar_id":"","url":"https://api.github.com/users/pvullioud","html_url":"https://github.com/pvullioud","followers_url":"https://api.github.com/users/pvullioud/followers","following_url":"https://api.github.com/users/pvullioud/following{/other_user}","gists_url":"https://api.github.com/users/pvullioud/gists{/gist_id}","starred_url":"https://api.github.com/users/pvullioud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pvullioud/subscriptions","organizations_url":"https://api.github.com/users/pvullioud/orgs","repos_url":"https://api.github.com/users/pvullioud/repos","events_url":"https://api.github.com/users/pvullioud/events{/privacy}","received_events_url":"https://api.github.com/users/pvullioud/received_events","type":"User","site_admin":false},"created_at":"2018-08-16T14:56:22Z","updated_at":"2018-08-16T14:56:22Z","author_association":"CONTRIBUTOR","body":"Most of the time the description could have those info.\r\nWe could in a first time add a 2 checkbox below the description : \r\n- \"Add the description in the email\"\r\n- \"Add the description in the invoice\"\r\nAnd see later if we need something more flexible.\r\n\r\n```html\r\n<div class=\"mall-cart-summary__method-logo\">\r\n    {% if __SELF__.cart.payment_method.logo %}\r\n        <img src=\"{{ __SELF__.cart.payment_method.logo.thumb(150, 'auto') }}\" alt=\"\"/>\r\n    {% else %}\r\n        {{ __SELF__.cart.payment_method.name }}\r\n    {% endif %}\r\n    \r\n    {% if __SELF__.cart.payment_method.show_description %}\r\n        {{ __SELF__.cart.payment_method.description | raw}}\r\n    {% endif %}\r\n</div>\r\n```\r\n\r\nPS: not happy with the name \"show_description\", but you got the idea"}}
{"actor":{"display_login":"pvullioud"}}