{"action":"opened","issue":{"url":"https://api.github.com/repos/ushahidi/platform/issues/1798","repository_url":"https://api.github.com/repos/ushahidi/platform","labels_url":"https://api.github.com/repos/ushahidi/platform/issues/1798/labels{/name}","comments_url":"https://api.github.com/repos/ushahidi/platform/issues/1798/comments","events_url":"https://api.github.com/repos/ushahidi/platform/issues/1798/events","html_url":"https://github.com/ushahidi/platform/issues/1798","id":235306176,"number":1798,"title":"Upgrade Deployment Plan fails on first try (when using a promo code)","user":{"login":"crcommons","id":8941223,"avatar_url":"https://avatars3.githubusercontent.com/u/8941223?v=3","gravatar_id":"","url":"https://api.github.com/users/crcommons","html_url":"https://github.com/crcommons","followers_url":"https://api.github.com/users/crcommons/followers","following_url":"https://api.github.com/users/crcommons/following{/other_user}","gists_url":"https://api.github.com/users/crcommons/gists{/gist_id}","starred_url":"https://api.github.com/users/crcommons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crcommons/subscriptions","organizations_url":"https://api.github.com/users/crcommons/orgs","repos_url":"https://api.github.com/users/crcommons/repos","events_url":"https://api.github.com/users/crcommons/events{/privacy}","received_events_url":"https://api.github.com/users/crcommons/received_events","type":"User","site_admin":false},"labels":[{"id":15889808,"url":"https://api.github.com/repos/ushahidi/platform/labels/Bug","name":"Bug","color":"444444","default":false},{"id":246559530,"url":"https://api.github.com/repos/ushahidi/platform/labels/P2%20-%20Normal","name":"P2 - Normal","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-06-12T17:33:50Z","updated_at":"2017-06-12T17:33:50Z","closed_at":null,"body":"### Expected behaviour\r\nAfter upgrading the deployment plan using a promo code, it should reroute to the deployment homepage with newly upgraded features available; it should also send confirmation email.\r\n\r\n### Actual behaviour\r\nInstead, the page reroutes to deployment homepage with original plan features; no email is sent. Take multiple tries for upgrade to work properly.\r\n\r\n### Steps to reproduce the behaviour/error\r\n1. Create a new deployment and log in.\r\nSettings>Plan>Select Plan (e.g. Responder)>enter coupon code (have not tried to reproduce when purchasing plan)>Enter password>Hit \"Done\"\r\n\r\nThis reroutes page back to deployment homepage without the upgrade. No email received either.\r\n\r\n"}}
{"actor":{"display_login":"crcommons"}}