{"action":"created","issue":{"url":"https://api.github.com/repos/magfest/magstock/issues/13","repository_url":"https://api.github.com/repos/magfest/magstock","labels_url":"https://api.github.com/repos/magfest/magstock/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/magfest/magstock/issues/13/comments","events_url":"https://api.github.com/repos/magfest/magstock/issues/13/events","html_url":"https://github.com/magfest/magstock/issues/13","id":146302898,"number":13,"title":"roughing it ribbon type error when paying with credit card","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},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/magfest/magstock/milestones/1","html_url":"https://github.com/magfest/magstock/milestones/magstock%206%20pre-reg%20launch","labels_url":"https://api.github.com/repos/magfest/magstock/milestones/1/labels","id":1735670,"number":1,"title":"magstock 6 pre-reg launch","description":"","creator":{"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},"open_issues":0,"closed_issues":18,"state":"open","created_at":"2016-04-28T07:38:44Z","updated_at":"2016-04-29T09:14:12Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2016-04-06T12:45:25Z","updated_at":"2016-05-03T21:42:49Z","closed_at":"2016-04-28T09:05:48Z","body":"this might just be a config option we didn't put in:\r\n\r\nto repro: register a new attendee and select primitive campsite.  pay with credit card.  after successful payment, this comes up:\r\n```\r\n  File \"/usr/local/uber/plugins/magstock/magstock/__init__.py\", line 68, in roughing_it\r\n    self.ribbon = c.ROUGHING_IT\r\n  File \"/usr/local/uber/plugins/uber/uber/config.py\", line 284, in __getattr__\r\n    raise AttributeError('no such attribute {}'.format(name))\r\nAttributeError: no such attribute ROUGHING_IT\r\n```\r\n\r\nmy guess is in the .yaml file we need to include the ROUGHING_IT ribbon type"},"comment":{"url":"https://api.github.com/repos/magfest/magstock/issues/comments/216673761","html_url":"https://github.com/magfest/magstock/issues/13#issuecomment-216673761","issue_url":"https://api.github.com/repos/magfest/magstock/issues/13","id":216673761,"user":{"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},"created_at":"2016-05-03T21:42:49Z","updated_at":"2016-05-03T21:42:49Z","body":"> On an unrelated note, this is another case where we could solve this better if we fixed the bug I encountered a while back with letting plugins add to enums without overridding them. Eli and I discussed it at the time and concluded that it was too much trouble, but this is another instance where a plugin should include a config option to prevent it breaking. Just sayin'.\r\n\r\nAgreed!  It's on my list of post-MAGFest refactorings that I linked awhile back in Google Docs.  It will definitely happen this year (as soon as things calm down enough that I have the time/energy to do actual coding again)!"}}