{"action":"created","issue":{"url":"https://api.github.com/repos/um-cseg/chez-betty/issues/176","labels_url":"https://api.github.com/repos/um-cseg/chez-betty/issues/176/labels{/name}","comments_url":"https://api.github.com/repos/um-cseg/chez-betty/issues/176/comments","events_url":"https://api.github.com/repos/um-cseg/chez-betty/issues/176/events","html_url":"https://github.com/um-cseg/chez-betty/issues/176","id":67024293,"number":176,"title":"Users logging out without pressing the pay button","user":{"login":"rahmati","id":1612598,"avatar_url":"https://avatars.githubusercontent.com/u/1612598?v=3","gravatar_id":"","url":"https://api.github.com/users/rahmati","html_url":"https://github.com/rahmati","followers_url":"https://api.github.com/users/rahmati/followers","following_url":"https://api.github.com/users/rahmati/following{/other_user}","gists_url":"https://api.github.com/users/rahmati/gists{/gist_id}","starred_url":"https://api.github.com/users/rahmati/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rahmati/subscriptions","organizations_url":"https://api.github.com/users/rahmati/orgs","repos_url":"https://api.github.com/users/rahmati/repos","events_url":"https://api.github.com/users/rahmati/events{/privacy}","received_events_url":"https://api.github.com/users/rahmati/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-08T01:11:57Z","updated_at":"2015-04-08T01:17:42Z","closed_at":null,"body":"I've seen a couple of cases where users assume the system will charge them for the items they have scanned and there is no need to press the pay button if they simply log out. Two possible solutions for this:\r\n(1) Add a prompt to ask the user if he would like to pay for items in the cart before logging out. \r\n(2) Save items in the cart for their next transaction. "},"comment":{"url":"https://api.github.com/repos/um-cseg/chez-betty/issues/comments/90773301","html_url":"https://github.com/um-cseg/chez-betty/issues/176#issuecomment-90773301","issue_url":"https://api.github.com/repos/um-cseg/chez-betty/issues/176","id":90773301,"user":{"login":"ppannuto","id":339422,"avatar_url":"https://avatars.githubusercontent.com/u/339422?v=3","gravatar_id":"","url":"https://api.github.com/users/ppannuto","html_url":"https://github.com/ppannuto","followers_url":"https://api.github.com/users/ppannuto/followers","following_url":"https://api.github.com/users/ppannuto/following{/other_user}","gists_url":"https://api.github.com/users/ppannuto/gists{/gist_id}","starred_url":"https://api.github.com/users/ppannuto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ppannuto/subscriptions","organizations_url":"https://api.github.com/users/ppannuto/orgs","repos_url":"https://api.github.com/users/ppannuto/repos","events_url":"https://api.github.com/users/ppannuto/events{/privacy}","received_events_url":"https://api.github.com/users/ppannuto/received_events","type":"User","site_admin":false},"created_at":"2015-04-08T01:17:42Z","updated_at":"2015-04-08T01:17:42Z","body":"I like (1), I think it's an easy fix, probably a more general JS pop-up\nthat triggers if you try to leave the purchase page with any items in your\n\"cart\".\n\nI think (2) would be harder, I'm adverse to DB changes at this point if it\ncan be helped, and hopefully (1) will largely solve the problem. We can\nrevisit this if it's insufficient.\n\n@rahmati, feeling up to hacking on Betty? :)\n\nOn Tue, Apr 7, 2015 at 9:11 PM Amir Rahmati <notifications@github.com>\nwrote:\n\n> I've seen a couple of cases where users assume the system will charge them\n> for the items they have scanned and there is no need to press the pay\n> button if they simply log out. Two possible solutions for this:\n> (1) Add a prompt to ask the user if he would like to pay for items in the\n> cart before logging out.\n> (2) Save items in the cart for their next transaction.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/um-cseg/chez-betty/issues/176>.\n>\n"}}