{"action":"closed","issue":{"url":"https://api.github.com/repos/vindi/vindi-woocommerce-subscriptions/issues/73","repository_url":"https://api.github.com/repos/vindi/vindi-woocommerce-subscriptions","labels_url":"https://api.github.com/repos/vindi/vindi-woocommerce-subscriptions/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/vindi/vindi-woocommerce-subscriptions/issues/73/comments","events_url":"https://api.github.com/repos/vindi/vindi-woocommerce-subscriptions/issues/73/events","html_url":"https://github.com/vindi/vindi-woocommerce-subscriptions/issues/73","id":314468576,"node_id":"MDU6SXNzdWUzMTQ0Njg1NzY=","number":73,"title":"Assinatura criada no Woo não existe na Vindi","user":{"login":"Frisoni","id":12817135,"node_id":"MDQ6VXNlcjEyODE3MTM1","avatar_url":"https://avatars2.githubusercontent.com/u/12817135?v=4","gravatar_id":"","url":"https://api.github.com/users/Frisoni","html_url":"https://github.com/Frisoni","followers_url":"https://api.github.com/users/Frisoni/followers","following_url":"https://api.github.com/users/Frisoni/following{/other_user}","gists_url":"https://api.github.com/users/Frisoni/gists{/gist_id}","starred_url":"https://api.github.com/users/Frisoni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Frisoni/subscriptions","organizations_url":"https://api.github.com/users/Frisoni/orgs","repos_url":"https://api.github.com/users/Frisoni/repos","events_url":"https://api.github.com/users/Frisoni/events{/privacy}","received_events_url":"https://api.github.com/users/Frisoni/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-04-16T00:45:06Z","updated_at":"2018-07-10T22:41:05Z","closed_at":"2018-07-10T22:41:05Z","author_association":"CONTRIBUTOR","body":"Em alguns casos, quando no momento do registro da assinatura na Vindi apresenta um erro 422 na API, (falha no telefone, falha no método de pagamento, etc) acaba ficando a assinatura criada no Woo, dando a entender ao cliente que está tudo ok. Mas na vindi, não há nem sinal de assinatura, fatura ou qualquer outra coisa.\r\nNesses casos, o ideal seria nem deixar criar a assinatura no Woo, mas caso não seja possível, o retorno do erro 422 deveria pelo menos cancelar a assinatura que foi criada para manter os dois sistemas sincronizados."}}
{"actor":{"display_login":"rtakauti"}}