bom dia,
Fiz os procedimentos, mas agora da dando estes erros: "VENDENDO".
CriarCobrancaImediata( )
PrepararHTTP
Autenticar
LimparHTTP
TransmitirHttp( POST, https://oauth.hm.bb.com.br/oauth/token )
ConfigurarHTTP
ConfigurarProxy
ConfigurarTimeOut
ConfigurarHeaders( POST, https://oauth.hm.bb.com.br/oauth/token )
Req.Headers:
Authorization: Basic ZXlKcFpDSTZJalptTUdZMFpUY3RNMlU0WmkwME4ySXdJaXdpWTI5a2FXZHZVSFZpYkdsallXUnZjaUk2TUN3aVkyOWthV2R2VTI5bWRIZGhjbVVpT2pnM01UZ3pMQ0p6WlhGMVpXNWphV0ZzU1c1emRHRnNZV05oYnlJNk1YMDpleUpwWkNJNklqTTVNV1ZqWVdFdE5tWTJOaTAwTlRGa0xUZzRPRFl0WVdZaUxDSmpiMlJwWjI5UWRXSnNhV05oWkc5eUlqb3dMQ0pqYjJScFoyOVRiMlowZDJGeVpTSTZPRGN4T0RNc0luTmxjWFZsYm1OcFlXeEpibk4wWVd4aFkyRnZJam94TENKelpYRjFaVzVqYVdGc1EzSmxaR1Z1WTJsaGJDSTZNU3dpWVcxaWFXVnVkR1VpT2lKb2IyMXZiRzluWVdOaGJ5SXNJbWxoZENJNk1UY3dPREEzT1RrME1qWTVOWDA=
Accept-Encoding: gzip, compress, deflate
Req.Body:
grant_type=client_credentials&scope=cob.write%20cob.read%20pix.write%20pix.read
ResultCode: 500 -
Resp.Headers:
POST /oauth/token HTTP/1.0
Host: oauth.hm.bb.com.br
Keep-Alive: 300
Connection: keep-alive
User-Agent: Mozilla/4.0 (compatible; Synapse)
Content-Type: application/x-www-form-urlencoded
Content-Length: 79
Authorization: Basic ZXlKcFpDSTZJalptTUdZMFpUY3RNMlU0WmkwME4ySXdJaXdpWTI5a2FXZHZVSFZpYkdsallXUnZjaUk2TUN3aVkyOWthV2R2VTI5bWRIZGhjbVVpT2pnM01UZ3pMQ0p6WlhGMVpXNWphV0ZzU1c1emRHRnNZV05oYnlJNk1YMDpleUpwWkNJNklqTTVNV1ZqWVdFdE5tWTJOaTAwTlRGa0xUZzRPRFl0WVdZaUxDSmpiMlJwWjI5UWRXSnNhV05oWkc5eUlqb3dMQ0pqYjJScFoyOVRiMlowZDJGeVpTSTZPRGN4T0RNc0luTmxjWFZsYm1OcFlXeEpibk4wWVd4aFkyRnZJam94TENKelpYRjFaVzVqYVdGc1EzSmxaR1Z1WTJsaGJDSTZNU3dpWVcxaWFXVnVkR1VpT2lKb2IyMXZiRzluWVdOaGJ5SXNJbWxoZENJNk1UY3dPREEzT1RrME1qWTVOWDA=
Accept-Encoding: gzip, compress, deflate
Resp.Body:
ChamarEventoQuandoReceberRespostaHttp( https://oauth.hm.bb.com.br/oauth/token, POST )
EACBrPixHttpException: Erro HTTP: 500, Metodo: POST, URL: https://oauth.hm.bb.com.br/oauth/token
***************EACBrPixHttpException***************
Erro HTTP: 500, Metodo: POST, URL: https://oauth.hm.bb.com.br/oauth/token