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

Refund e Cancel não funcionam #34

Open
noveweb opened this issue Jun 28, 2018 · 1 comment
Open

Refund e Cancel não funcionam #34

noveweb opened this issue Jun 28, 2018 · 1 comment

Comments

@noveweb
Copy link

noveweb commented Jun 28, 2018

Refund
$reembolsar = Iugu_Invoice::refund("d1e8ee70ce6744d7a17aa479dd9740e6");
PHP Strict Standards: Non-static method Iugu_Invoice::refund() should not be called statically

Cancel
$cancelar = Iugu_Invoice::cancel("d1e8ee70ce6744d7a17aa479dd9740e6");
PHP Strict Standards: Non-static method Iugu_Invoice::cancel() should not be called statically

Pessoal, na boa... Terminem a biblioteca ou tirem do ar. Isso prejudica programadores iniciantes que não sabem analisar logs de erro e ficam achando que estão errando algo, chega a ser maldade isso.

@lucascolette
Copy link

@noveweb criei uma versão alternativa. Pode ser útil:
https://github.com/bubbstore/iugu-php-sdk

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