{"action":"opened","issue":{"url":"https://api.github.com/repos/claudiosmweb/woocommerce-payment-discounts/issues/22","labels_url":"https://api.github.com/repos/claudiosmweb/woocommerce-payment-discounts/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/claudiosmweb/woocommerce-payment-discounts/issues/22/comments","events_url":"https://api.github.com/repos/claudiosmweb/woocommerce-payment-discounts/issues/22/events","html_url":"https://github.com/claudiosmweb/woocommerce-payment-discounts/issues/22","id":118836982,"number":22,"title":"Desconto mantido com método de pagamento diferente (Repagamento)","user":{"login":"mestr3","id":3604444,"avatar_url":"https://avatars.githubusercontent.com/u/3604444?v=3","gravatar_id":"","url":"https://api.github.com/users/mestr3","html_url":"https://github.com/mestr3","followers_url":"https://api.github.com/users/mestr3/followers","following_url":"https://api.github.com/users/mestr3/following{/other_user}","gists_url":"https://api.github.com/users/mestr3/gists{/gist_id}","starred_url":"https://api.github.com/users/mestr3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mestr3/subscriptions","organizations_url":"https://api.github.com/users/mestr3/orgs","repos_url":"https://api.github.com/users/mestr3/repos","events_url":"https://api.github.com/users/mestr3/events{/privacy}","received_events_url":"https://api.github.com/users/mestr3/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-25T13:30:42Z","updated_at":"2015-11-25T13:30:42Z","closed_at":null,"body":"Oi Cláudio,\r\nidentifiquei que o desconto é mantido quando o pagamento falha na primeira tentativa. Na segunda tentativa, já naquela página de \"repagamento\" mesmo alterando o método de pagamento para cartão de crédito, que não possui desconto, o valor anterior que já possuia o desconto é mantido e o pagamento é feito sobre esse valor.\r\n\r\nNão sei se consigo resolver com algum filter, mas vou tentar por enquanto.\r\nSe você puder verificar eu ficaria muito grato.\r\nSegue o link da screenshot http://prntscr.com/96rmnu que ilustra o que estou dizendo.\r\n\r\nAtt.\r\n\r\nversões\r\nWordpress: 4.3.1\r\nWooCommerce: 2.4.10"}}