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

erro ao criar charge pix (pixCreateImmediateCharge) #29

Closed
ranulfo opened this issue Oct 27, 2022 · 1 comment
Closed

erro ao criar charge pix (pixCreateImmediateCharge) #29

ranulfo opened this issue Oct 27, 2022 · 1 comment

Comments

@ranulfo
Copy link

ranulfo commented Oct 27, 2022

Olá, Pessoal.

estou recebendo o erro:

2022-10-27T03:56:48.644Z -
-->> { message: 'Forbidden' }
2022-10-27T03:56:48.593Z -
(node:19) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated
(Use node --trace-deprecation ... to show where the warning was created)

no trecho de código :

gerencianet.pixCreateImmediateCharge([], body) .then((resposta) => { console.log(resposta); return resposta; }) .catch((error) => { console.log("-->> ",error); })

Alguém pode me ajudar?

@ranulfo
Copy link
Author

ranulfo commented Oct 27, 2022

Pessoal, problema resolvido. eu estava apontando para o certificado de produção usando a chaves de homologação.

@ranulfo ranulfo closed this as completed Oct 27, 2022
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

1 participant