{"action":"created","issue":{"url":"https://api.github.com/repos/easydigitaldownloads/easy-digital-downloads/issues/3554","repository_url":"https://api.github.com/repos/easydigitaldownloads/easy-digital-downloads","labels_url":"https://api.github.com/repos/easydigitaldownloads/easy-digital-downloads/issues/3554/labels{/name}","comments_url":"https://api.github.com/repos/easydigitaldownloads/easy-digital-downloads/issues/3554/comments","events_url":"https://api.github.com/repos/easydigitaldownloads/easy-digital-downloads/issues/3554/events","html_url":"https://github.com/easydigitaldownloads/easy-digital-downloads/issues/3554","id":92670323,"number":3554,"title":"Improve Gateway Enabling and Defaults","user":{"login":"cklosowski","id":1390124,"avatar_url":"https://avatars.githubusercontent.com/u/1390124?v=3","gravatar_id":"","url":"https://api.github.com/users/cklosowski","html_url":"https://github.com/cklosowski","followers_url":"https://api.github.com/users/cklosowski/followers","following_url":"https://api.github.com/users/cklosowski/following{/other_user}","gists_url":"https://api.github.com/users/cklosowski/gists{/gist_id}","starred_url":"https://api.github.com/users/cklosowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cklosowski/subscriptions","organizations_url":"https://api.github.com/users/cklosowski/orgs","repos_url":"https://api.github.com/users/cklosowski/repos","events_url":"https://api.github.com/users/cklosowski/events{/privacy}","received_events_url":"https://api.github.com/users/cklosowski/received_events","type":"User","site_admin":false},"labels":[{"id":37586223,"url":"https://api.github.com/repos/easydigitaldownloads/easy-digital-downloads/labels/Administration","name":"Administration","color":"E74C3C","default":false},{"id":2798128,"url":"https://api.github.com/repos/easydigitaldownloads/easy-digital-downloads/labels/Enhancement","name":"Enhancement","color":"84b6eb","default":false},{"id":95757271,"url":"https://api.github.com/repos/easydigitaldownloads/easy-digital-downloads/labels/Has%20PR","name":"Has PR","color":"009800","default":false},{"id":81699343,"url":"https://api.github.com/repos/easydigitaldownloads/easy-digital-downloads/labels/Needs%20Testing","name":"Needs Testing","color":"bfe5bf","default":false}],"state":"open","locked":false,"assignee":{"login":"sunnyratilal","id":1525554,"avatar_url":"https://avatars.githubusercontent.com/u/1525554?v=3","gravatar_id":"","url":"https://api.github.com/users/sunnyratilal","html_url":"https://github.com/sunnyratilal","followers_url":"https://api.github.com/users/sunnyratilal/followers","following_url":"https://api.github.com/users/sunnyratilal/following{/other_user}","gists_url":"https://api.github.com/users/sunnyratilal/gists{/gist_id}","starred_url":"https://api.github.com/users/sunnyratilal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunnyratilal/subscriptions","organizations_url":"https://api.github.com/users/sunnyratilal/orgs","repos_url":"https://api.github.com/users/sunnyratilal/repos","events_url":"https://api.github.com/users/sunnyratilal/events{/privacy}","received_events_url":"https://api.github.com/users/sunnyratilal/received_events","type":"User","site_admin":false},"assignees":[{"login":"sunnyratilal","id":1525554,"avatar_url":"https://avatars.githubusercontent.com/u/1525554?v=3","gravatar_id":"","url":"https://api.github.com/users/sunnyratilal","html_url":"https://github.com/sunnyratilal","followers_url":"https://api.github.com/users/sunnyratilal/followers","following_url":"https://api.github.com/users/sunnyratilal/following{/other_user}","gists_url":"https://api.github.com/users/sunnyratilal/gists{/gist_id}","starred_url":"https://api.github.com/users/sunnyratilal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunnyratilal/subscriptions","organizations_url":"https://api.github.com/users/sunnyratilal/orgs","repos_url":"https://api.github.com/users/sunnyratilal/repos","events_url":"https://api.github.com/users/sunnyratilal/events{/privacy}","received_events_url":"https://api.github.com/users/sunnyratilal/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/easydigitaldownloads/easy-digital-downloads/milestones/109","html_url":"https://github.com/easydigitaldownloads/easy-digital-downloads/milestone/109","labels_url":"https://api.github.com/repos/easydigitaldownloads/easy-digital-downloads/milestones/109/labels","id":1259726,"number":109,"title":"2.7","description":"","creator":{"login":"pippinsplugins","id":1034109,"avatar_url":"https://avatars.githubusercontent.com/u/1034109?v=3","gravatar_id":"","url":"https://api.github.com/users/pippinsplugins","html_url":"https://github.com/pippinsplugins","followers_url":"https://api.github.com/users/pippinsplugins/followers","following_url":"https://api.github.com/users/pippinsplugins/following{/other_user}","gists_url":"https://api.github.com/users/pippinsplugins/gists{/gist_id}","starred_url":"https://api.github.com/users/pippinsplugins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pippinsplugins/subscriptions","organizations_url":"https://api.github.com/users/pippinsplugins/orgs","repos_url":"https://api.github.com/users/pippinsplugins/repos","events_url":"https://api.github.com/users/pippinsplugins/events{/privacy}","received_events_url":"https://api.github.com/users/pippinsplugins/received_events","type":"User","site_admin":false},"open_issues":41,"closed_issues":49,"state":"open","created_at":"2015-08-18T02:24:40Z","updated_at":"2017-01-15T05:25:32Z","due_on":"2017-01-16T08:00:00Z","closed_at":null},"comments":2,"created_at":"2015-07-02T15:50:22Z","updated_at":"2017-01-15T12:57:59Z","closed_at":null,"body":"Right now, you can have a gateway unchecked, and still select it as a default gateway. This leads to some issues in the code where we have to do a bunch of detecting on which ones are enabled, before we use the selected default as the default.\n\nWe should improve the gateway enabling interface to better meet the needs of users so that it's easier for them to quickly enable/disable gateways and not let them assign a default gateway to one that's disabled.\n"},"comment":{"url":"https://api.github.com/repos/easydigitaldownloads/easy-digital-downloads/issues/comments/272693590","html_url":"https://github.com/easydigitaldownloads/easy-digital-downloads/issues/3554#issuecomment-272693590","issue_url":"https://api.github.com/repos/easydigitaldownloads/easy-digital-downloads/issues/3554","id":272693590,"user":{"login":"sunnyratilal","id":1525554,"avatar_url":"https://avatars.githubusercontent.com/u/1525554?v=3","gravatar_id":"","url":"https://api.github.com/users/sunnyratilal","html_url":"https://github.com/sunnyratilal","followers_url":"https://api.github.com/users/sunnyratilal/followers","following_url":"https://api.github.com/users/sunnyratilal/following{/other_user}","gists_url":"https://api.github.com/users/sunnyratilal/gists{/gist_id}","starred_url":"https://api.github.com/users/sunnyratilal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunnyratilal/subscriptions","organizations_url":"https://api.github.com/users/sunnyratilal/orgs","repos_url":"https://api.github.com/users/sunnyratilal/repos","events_url":"https://api.github.com/users/sunnyratilal/events{/privacy}","received_events_url":"https://api.github.com/users/sunnyratilal/received_events","type":"User","site_admin":false},"created_at":"2017-01-15T12:57:59Z","updated_at":"2017-01-15T12:57:59Z","body":"**To Test:**\r\n\r\n1. Uncheck Amazon on the Payment Gateway settings\r\n2. Set Amazon as the default gateway\r\n3. A notice should show with the text `Amazon has been enabled as it was disabled but selected as the default gateway.`"}}
{"actor":{"display_login":"sunnyratilal"}}