{"action":"opened","issue":{"url":"https://api.github.com/repos/olde86/cloudcommerce-checkout/issues/2","labels_url":"https://api.github.com/repos/olde86/cloudcommerce-checkout/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/olde86/cloudcommerce-checkout/issues/2/comments","events_url":"https://api.github.com/repos/olde86/cloudcommerce-checkout/issues/2/events","html_url":"https://github.com/olde86/cloudcommerce-checkout/issues/2","id":114689152,"number":2,"title":"Payment responce support","user":{"login":"olde86","id":2816736,"avatar_url":"https://avatars.githubusercontent.com/u/2816736?v=3","gravatar_id":"","url":"https://api.github.com/users/olde86","html_url":"https://github.com/olde86","followers_url":"https://api.github.com/users/olde86/followers","following_url":"https://api.github.com/users/olde86/following{/other_user}","gists_url":"https://api.github.com/users/olde86/gists{/gist_id}","starred_url":"https://api.github.com/users/olde86/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olde86/subscriptions","organizations_url":"https://api.github.com/users/olde86/orgs","repos_url":"https://api.github.com/users/olde86/repos","events_url":"https://api.github.com/users/olde86/events{/privacy}","received_events_url":"https://api.github.com/users/olde86/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/olde86/cloudcommerce-checkout/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-02T21:34:57Z","updated_at":"2015-11-02T21:34:57Z","closed_at":null,"body":"After payment we to handle the returned response\r\n\r\nSupported states from the payment provider:\r\n\r\nAUTHORISED: the payment authorisation was successfully completed\r\nREFUSED: the payment was refused. Payment authorisation was unsuccessful.\r\nCANCELLED: the payment was cancelled by the shopper before completion, or the shopper returned to the merchant's site before completing the transaction.\r\nPENDING: it is not possible to obtain the final status of the payment.\r\nThis can happen if the systems providing final status information for the payment are unavailable, or if the shopper needs to take further action to complete the payment. \r\nERROR: an error occurred during the payment processing.\r\n"}}