{"action":"created","issue":{"url":"https://api.github.com/repos/Adyen/magento/issues/535","repository_url":"https://api.github.com/repos/Adyen/magento","labels_url":"https://api.github.com/repos/Adyen/magento/issues/535/labels{/name}","comments_url":"https://api.github.com/repos/Adyen/magento/issues/535/comments","events_url":"https://api.github.com/repos/Adyen/magento/issues/535/events","html_url":"https://github.com/Adyen/magento/pull/535","id":136077578,"number":535,"title":"Bugfix: Add support for multiple authorization psp references","user":{"login":"benevolk","id":1745170,"avatar_url":"https://avatars.githubusercontent.com/u/1745170?v=3","gravatar_id":"","url":"https://api.github.com/users/benevolk","html_url":"https://github.com/benevolk","followers_url":"https://api.github.com/users/benevolk/followers","following_url":"https://api.github.com/users/benevolk/following{/other_user}","gists_url":"https://api.github.com/users/benevolk/gists{/gist_id}","starred_url":"https://api.github.com/users/benevolk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benevolk/subscriptions","organizations_url":"https://api.github.com/users/benevolk/orgs","repos_url":"https://api.github.com/users/benevolk/repos","events_url":"https://api.github.com/users/benevolk/events{/privacy}","received_events_url":"https://api.github.com/users/benevolk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-24T14:31:34Z","updated_at":"2016-02-24T15:37:24Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Adyen/magento/pulls/535","html_url":"https://github.com/Adyen/magento/pull/535","diff_url":"https://github.com/Adyen/magento/pull/535.diff","patch_url":"https://github.com/Adyen/magento/pull/535.patch"},"body":"The problem is here, that if a new psp reference after reauthorization is greater than the original and expired psp reference the lowest PSP reference will be returned with the old functionality. Better to order by created_at and also filter by success. Authorizations without success shouldn't be used for capturing, right?"},"comment":{"url":"https://api.github.com/repos/Adyen/magento/issues/comments/188308578","html_url":"https://github.com/Adyen/magento/pull/535#issuecomment-188308578","issue_url":"https://api.github.com/repos/Adyen/magento/issues/535","id":188308578,"user":{"login":"rikterbeek","id":5948499,"avatar_url":"https://avatars.githubusercontent.com/u/5948499?v=3","gravatar_id":"","url":"https://api.github.com/users/rikterbeek","html_url":"https://github.com/rikterbeek","followers_url":"https://api.github.com/users/rikterbeek/followers","following_url":"https://api.github.com/users/rikterbeek/following{/other_user}","gists_url":"https://api.github.com/users/rikterbeek/gists{/gist_id}","starred_url":"https://api.github.com/users/rikterbeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rikterbeek/subscriptions","organizations_url":"https://api.github.com/users/rikterbeek/orgs","repos_url":"https://api.github.com/users/rikterbeek/repos","events_url":"https://api.github.com/users/rikterbeek/events{/privacy}","received_events_url":"https://api.github.com/users/rikterbeek/received_events","type":"User","site_admin":false},"created_at":"2016-02-24T15:37:24Z","updated_at":"2016-02-24T15:37:24Z","body":"Hi benevolk,\r\n\r\nLooks like something is not correct with your line coding could you check so the commit only changes the lines that are changed ?\r\n\r\nRegards,\r\nRik\r\nAdyen"}}