{"action":"created","issue":{"url":"https://api.github.com/repos/spree/spree/issues/7629","repository_url":"https://api.github.com/repos/spree/spree","labels_url":"https://api.github.com/repos/spree/spree/issues/7629/labels{/name}","comments_url":"https://api.github.com/repos/spree/spree/issues/7629/comments","events_url":"https://api.github.com/repos/spree/spree/issues/7629/events","html_url":"https://github.com/spree/spree/pull/7629","id":183201510,"number":7629,"title":"Fix store credit authorization","user":{"login":"tanmay3011","id":4212447,"avatar_url":"https://avatars3.githubusercontent.com/u/4212447?v=4","gravatar_id":"","url":"https://api.github.com/users/tanmay3011","html_url":"https://github.com/tanmay3011","followers_url":"https://api.github.com/users/tanmay3011/followers","following_url":"https://api.github.com/users/tanmay3011/following{/other_user}","gists_url":"https://api.github.com/users/tanmay3011/gists{/gist_id}","starred_url":"https://api.github.com/users/tanmay3011/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tanmay3011/subscriptions","organizations_url":"https://api.github.com/users/tanmay3011/orgs","repos_url":"https://api.github.com/users/tanmay3011/repos","events_url":"https://api.github.com/users/tanmay3011/events{/privacy}","received_events_url":"https://api.github.com/users/tanmay3011/received_events","type":"User","site_admin":false},"labels":[{"id":20420799,"url":"https://api.github.com/repos/spree/spree/labels/blocker","name":"blocker","color":"000000","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-15T10:15:55Z","updated_at":"2018-02-14T11:13:01Z","closed_at":"2018-02-14T11:13:01Z","author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/spree/spree/pulls/7629","html_url":"https://github.com/spree/spree/pull/7629","diff_url":"https://github.com/spree/spree/pull/7629.diff","patch_url":"https://github.com/spree/spree/pull/7629.patch"},"body":"- Currency validation should always be considered first.\n- Valid authorization seems to be an inappropriate name with respect to the functionality.\n- Deprecate validate_authorization. validate_currency_match and validate_sufficient_amount can be used respectively for checking currency match and sufficient amount conditions for store credit.\n- Add credit_allocation_memo locale\n"},"comment":{"url":"https://api.github.com/repos/spree/spree/issues/comments/365571711","html_url":"https://github.com/spree/spree/pull/7629#issuecomment-365571711","issue_url":"https://api.github.com/repos/spree/spree/issues/7629","id":365571711,"user":{"login":"bbonislawski","id":7106611,"avatar_url":"https://avatars2.githubusercontent.com/u/7106611?v=4","gravatar_id":"","url":"https://api.github.com/users/bbonislawski","html_url":"https://github.com/bbonislawski","followers_url":"https://api.github.com/users/bbonislawski/followers","following_url":"https://api.github.com/users/bbonislawski/following{/other_user}","gists_url":"https://api.github.com/users/bbonislawski/gists{/gist_id}","starred_url":"https://api.github.com/users/bbonislawski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbonislawski/subscriptions","organizations_url":"https://api.github.com/users/bbonislawski/orgs","repos_url":"https://api.github.com/users/bbonislawski/repos","events_url":"https://api.github.com/users/bbonislawski/events{/privacy}","received_events_url":"https://api.github.com/users/bbonislawski/received_events","type":"User","site_admin":false},"created_at":"2018-02-14T11:13:01Z","updated_at":"2018-02-14T11:13:01Z","author_association":"COLLABORATOR","body":"I think that this is outdated already. If you think that it's not outdated, please mention me in comment and I'll reopen it\r\n"}}
{"actor":{"display_login":"bbonislawski"}}