{"action":"created","issue":{"url":"https://api.github.com/repos/ga-wdi-boston/group-project/issues/137","repository_url":"https://api.github.com/repos/ga-wdi-boston/group-project","labels_url":"https://api.github.com/repos/ga-wdi-boston/group-project/issues/137/labels{/name}","comments_url":"https://api.github.com/repos/ga-wdi-boston/group-project/issues/137/comments","events_url":"https://api.github.com/repos/ga-wdi-boston/group-project/issues/137/events","html_url":"https://github.com/ga-wdi-boston/group-project/issues/137","id":165149195,"number":137,"title":"Ecommerce: Promises and ajax","user":{"login":"modularjon","id":18311139,"avatar_url":"https://avatars.githubusercontent.com/u/18311139?v=3","gravatar_id":"","url":"https://api.github.com/users/modularjon","html_url":"https://github.com/modularjon","followers_url":"https://api.github.com/users/modularjon/followers","following_url":"https://api.github.com/users/modularjon/following{/other_user}","gists_url":"https://api.github.com/users/modularjon/gists{/gist_id}","starred_url":"https://api.github.com/users/modularjon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/modularjon/subscriptions","organizations_url":"https://api.github.com/users/modularjon/orgs","repos_url":"https://api.github.com/users/modularjon/repos","events_url":"https://api.github.com/users/modularjon/events{/privacy}","received_events_url":"https://api.github.com/users/modularjon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-07-12T18:36:10Z","updated_at":"2016-07-13T13:54:02Z","closed_at":null,"body":"While trying to integrating stripe, I'm a little unsure about using a self created promise, or whether to rely on the .then method for ajax, or whether there is a hybridization between the two I should be using. The idea is that the whole chain starts from an event handler named onPurchaseSubmit that first sends an ajax post to our orders controller, gets a response (success or failure), then uses response to send info to stripe, then uses stripe's response to patch the order."},"comment":{"url":"https://api.github.com/repos/ga-wdi-boston/group-project/issues/comments/232361836","html_url":"https://github.com/ga-wdi-boston/group-project/issues/137#issuecomment-232361836","issue_url":"https://api.github.com/repos/ga-wdi-boston/group-project/issues/137","id":232361836,"user":{"login":"jrhorn424","id":388761,"avatar_url":"https://avatars.githubusercontent.com/u/388761?v=3","gravatar_id":"","url":"https://api.github.com/users/jrhorn424","html_url":"https://github.com/jrhorn424","followers_url":"https://api.github.com/users/jrhorn424/followers","following_url":"https://api.github.com/users/jrhorn424/following{/other_user}","gists_url":"https://api.github.com/users/jrhorn424/gists{/gist_id}","starred_url":"https://api.github.com/users/jrhorn424/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrhorn424/subscriptions","organizations_url":"https://api.github.com/users/jrhorn424/orgs","repos_url":"https://api.github.com/users/jrhorn424/repos","events_url":"https://api.github.com/users/jrhorn424/events{/privacy}","received_events_url":"https://api.github.com/users/jrhorn424/received_events","type":"User","site_admin":false},"created_at":"2016-07-13T13:54:02Z","updated_at":"2016-07-13T13:54:02Z","body":"@modularjon Can this be closed for now?"}}
{"actor":{"display_login":"jrhorn424"}}