Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CANCELAR/DELETAR #29

Open
arturcesarmelo opened this issue Mar 29, 2018 · 1 comment
Open

CANCELAR/DELETAR #29

arturcesarmelo opened this issue Mar 29, 2018 · 1 comment

Comments

@arturcesarmelo
Copy link

arturcesarmelo commented Mar 29, 2018

Fico pensando como os Métodos de cancelar invoices e deletar subscriptions funcionarão sem receber nenhum parâmetro, bem como sem settar nenhum attributo para poder informar no request o id dos recursos.

Alguém pode me ajudar?

@noveweb
Copy link

noveweb commented Apr 2, 2018

Em contato com André do suporte fui informado de que tem que ser feito dessa forma:

$invoice = Iugu_Invoice::fetch("AQUI DENTRO O ID DA FATURA");
$invoice->cancel();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants