{"action":"created","issue":{"url":"https://api.github.com/repos/spree/spree/issues/7862","repository_url":"https://api.github.com/repos/spree/spree","labels_url":"https://api.github.com/repos/spree/spree/issues/7862/labels{/name}","comments_url":"https://api.github.com/repos/spree/spree/issues/7862/comments","events_url":"https://api.github.com/repos/spree/spree/issues/7862/events","html_url":"https://github.com/spree/spree/pull/7862","id":215394985,"number":7862,"title":"BugFix: Issue with  StoreCredit payment","user":{"login":"AnuragBhardwaj1","id":11751717,"avatar_url":"https://avatars3.githubusercontent.com/u/11751717?v=3","gravatar_id":"","url":"https://api.github.com/users/AnuragBhardwaj1","html_url":"https://github.com/AnuragBhardwaj1","followers_url":"https://api.github.com/users/AnuragBhardwaj1/followers","following_url":"https://api.github.com/users/AnuragBhardwaj1/following{/other_user}","gists_url":"https://api.github.com/users/AnuragBhardwaj1/gists{/gist_id}","starred_url":"https://api.github.com/users/AnuragBhardwaj1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AnuragBhardwaj1/subscriptions","organizations_url":"https://api.github.com/users/AnuragBhardwaj1/orgs","repos_url":"https://api.github.com/users/AnuragBhardwaj1/repos","events_url":"https://api.github.com/users/AnuragBhardwaj1/events{/privacy}","received_events_url":"https://api.github.com/users/AnuragBhardwaj1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-03-20T11:39:47Z","updated_at":"2017-04-13T08:21:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/spree/spree/pulls/7862","html_url":"https://github.com/spree/spree/pull/7862","diff_url":"https://github.com/spree/spree/pull/7862.diff","patch_url":"https://github.com/spree/spree/pull/7862.patch"},"body":"#7873 \r\nIf user has 'existing credit card' and pays with StoreCredit, a 'zero amount' payment with credit card is also created. \r\nResolution: Reject the params if order has store-credits and pament of zero amount is being created."},"comment":{"url":"https://api.github.com/repos/spree/spree/issues/comments/293824788","html_url":"https://github.com/spree/spree/pull/7862#issuecomment-293824788","issue_url":"https://api.github.com/repos/spree/spree/issues/7862","id":293824788,"user":{"login":"muzykabart","id":3935954,"avatar_url":"https://avatars2.githubusercontent.com/u/3935954?v=3","gravatar_id":"","url":"https://api.github.com/users/muzykabart","html_url":"https://github.com/muzykabart","followers_url":"https://api.github.com/users/muzykabart/followers","following_url":"https://api.github.com/users/muzykabart/following{/other_user}","gists_url":"https://api.github.com/users/muzykabart/gists{/gist_id}","starred_url":"https://api.github.com/users/muzykabart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muzykabart/subscriptions","organizations_url":"https://api.github.com/users/muzykabart/orgs","repos_url":"https://api.github.com/users/muzykabart/repos","events_url":"https://api.github.com/users/muzykabart/events{/privacy}","received_events_url":"https://api.github.com/users/muzykabart/received_events","type":"User","site_admin":false},"created_at":"2017-04-13T08:21:44Z","updated_at":"2017-04-13T08:21:44Z","body":"@AnuragBhardwaj1 wouldn't it be easier to just add `params[:order].delete(:existing_card)` after this line [(3-1-stable) checkout_controller.rb#L172](https://github.com/spree/spree/blob/3-1-stable/frontend/app/controllers/spree/checkout_controller.rb#L172)?\r\nLike here: [(master) checkout_controller.rb#L172](https://github.com/spree/spree/blob/master/frontend/app/controllers/spree/checkout_controller.rb#L172)"}}
{"actor":{"display_login":"muzykabart"}}