{"action":"created","issue":{"url":"https://api.github.com/repos/magfest/ubersystem/issues/1682","repository_url":"https://api.github.com/repos/magfest/ubersystem","labels_url":"https://api.github.com/repos/magfest/ubersystem/issues/1682/labels{/name}","comments_url":"https://api.github.com/repos/magfest/ubersystem/issues/1682/comments","events_url":"https://api.github.com/repos/magfest/ubersystem/issues/1682/events","html_url":"https://github.com/magfest/ubersystem/issues/1682","id":132323602,"number":1682,"title":"Add a configuration option for badges to be free","user":{"login":"kitsuta","id":7198215,"avatar_url":"https://avatars.githubusercontent.com/u/7198215?v=3","gravatar_id":"","url":"https://api.github.com/users/kitsuta","html_url":"https://github.com/kitsuta","followers_url":"https://api.github.com/users/kitsuta/followers","following_url":"https://api.github.com/users/kitsuta/following{/other_user}","gists_url":"https://api.github.com/users/kitsuta/gists{/gist_id}","starred_url":"https://api.github.com/users/kitsuta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kitsuta/subscriptions","organizations_url":"https://api.github.com/users/kitsuta/orgs","repos_url":"https://api.github.com/users/kitsuta/repos","events_url":"https://api.github.com/users/kitsuta/events{/privacy}","received_events_url":"https://api.github.com/users/kitsuta/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"EliAndrewC","id":651592,"avatar_url":"https://avatars.githubusercontent.com/u/651592?v=3","gravatar_id":"","url":"https://api.github.com/users/EliAndrewC","html_url":"https://github.com/EliAndrewC","followers_url":"https://api.github.com/users/EliAndrewC/followers","following_url":"https://api.github.com/users/EliAndrewC/following{/other_user}","gists_url":"https://api.github.com/users/EliAndrewC/gists{/gist_id}","starred_url":"https://api.github.com/users/EliAndrewC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EliAndrewC/subscriptions","organizations_url":"https://api.github.com/users/EliAndrewC/orgs","repos_url":"https://api.github.com/users/EliAndrewC/repos","events_url":"https://api.github.com/users/EliAndrewC/events{/privacy}","received_events_url":"https://api.github.com/users/EliAndrewC/received_events","type":"User","site_admin":false},"milestone":null,"comments":7,"created_at":"2016-02-09T03:41:01Z","updated_at":"2016-02-12T00:02:31Z","closed_at":null,"body":"Our at-door kiosk page automatically sets the price on badges, as well as letting people pay through Stripe right on the kiosk.\r\n\r\nThis is normally great - however, we have an official unofficial policy of making badges free after noon on Sunday. At MAGFest 12, we had to process several refunds for people who went through the kiosk workflow and paid for a badge they shouldn't have.\r\n\r\nProbably the best/most flexible solution is to add a datetime configuration option that sets all badge prices to $0 after that date/time. Then we can easily accommodate our business logic without having to hardcode it. It should be considered 'disabled' if it is not set."},"comment":{"url":"https://api.github.com/repos/magfest/ubersystem/issues/comments/183118468","html_url":"https://github.com/magfest/ubersystem/issues/1682#issuecomment-183118468","issue_url":"https://api.github.com/repos/magfest/ubersystem/issues/1682","id":183118468,"user":{"login":"binary1230","id":5413064,"avatar_url":"https://avatars.githubusercontent.com/u/5413064?v=3","gravatar_id":"","url":"https://api.github.com/users/binary1230","html_url":"https://github.com/binary1230","followers_url":"https://api.github.com/users/binary1230/followers","following_url":"https://api.github.com/users/binary1230/following{/other_user}","gists_url":"https://api.github.com/users/binary1230/gists{/gist_id}","starred_url":"https://api.github.com/users/binary1230/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/binary1230/subscriptions","organizations_url":"https://api.github.com/users/binary1230/orgs","repos_url":"https://api.github.com/users/binary1230/repos","events_url":"https://api.github.com/users/binary1230/events{/privacy}","received_events_url":"https://api.github.com/users/binary1230/received_events","type":"User","site_admin":false},"created_at":"2016-02-12T00:02:31Z","updated_at":"2016-02-12T00:02:31Z","body":"FYI, to answer your question: development.ini is indeed the file that uber reads, however, it's generated on each deploy from scratch by puppet.  \r\n\r\npuppet consumes the various .yaml files to generate the development.ini file by populating the variables in here: https://github.com/magfest/ubersystem-puppet/blob/master/templates/uber-development.ini.erb\r\n\r\n If you're going down this road I can provide a little more detail / writeup on how to add options to the .ini, there's one more step beyond this."}}