Cleber trevisan Postado 6 Novembro Postado 6 Novembro Boa tarde pessoal. Estou com problemas para pix BRADESCO. - A última atualização(reinstalei) que fiz do ACBR foi 10/10/2024. Retorno do erro - log: Atribuindo PSP: TACBrPSPBancoDoBrasil, Nome: ACBrPSPBancoDoBrasil1 - LerConfiguracao: C:\CompsXE8\ACBr\Exemplos\ACBrPIXCD\Delphi\PIXCDTeste.ini - AplicarConfiguracao - ConfigurarACBrPIXCD Atribuindo PSP: TACBrPSPBradesco, Nome: ACBrPSPBradesco1 Atribuindo PSP: Nil Atribuindo PSP: TACBrPSPBradesco, Nome: ACBrPSPBradesco1 - ConfigurarACBrPSPs Info OpenSSL: 01.01.01.0AF C:\Windows\SYSTEM32\libcrypto-1_1.dll C:\Windows\SYSTEM32\libssl-1_1.dll OpenSSL 1.1.1j 16 Feb 2021 269488303 - LerConfiguracao: C:\CompsXE8\ACBr\Exemplos\ACBrPIXCD\Delphi\PIXCDTeste.ini - AplicarConfiguracao - ConfigurarACBrPIXCD - ConfigurarACBrPSPs CriarCobrancaImediata( ) PrepararHTTP Autenticar LimparHTTP TransmitirHttp( POST, https://qrpix.bradesco.com.br/oauth/token ) ConfigurarHTTP ConfigurarProxy ConfigurarTimeOut ConfigurarHeaders( POST, https://qrpix.bradesco.com.br/oauth/token ) Req.Headers: Authorization: Basic MTI4ZDQyMTAtNThlZS00Y2IwLWEwZmUtZGJhOWIyY2M3N2U3OmVjOGVkODgxLTI4MjQtNGE1Yy1hMDJhLWU1YTIyYWMxNTRlMQ== Req.Body: grant_type=client_credentials Http.Sock.SSL.CertificateFile: Http.Sock.SSL.PrivateKeyFile: Http.Sock.SSL.Certificate: Http.Sock.SSL.PrivateKey: ResultCode: 401 - Unauthorized Sock.LastError: 0 Resp.Headers: HTTP/1.1 401 Unauthorized X-Rate-Limit: [{"window":0,"type":"throttle","remaining":741}] X-CorrelationID: Id-94962b6759349dc0197d8e5b 0 Akamai-Origin-Hop: 2 Authorization: Basic MTI4ZDQyMTAtNThlZS00Y2IwLWEwZmUtZGJhOWIyY2M3N2U3OmVjOGVkODgxLTI4MjQtNGE1Yy1hMDJhLWU1YTIyYWMxNTRlMQ== Authorization: Basic MTI4ZDQyMTAtNThlZS00Y2IwLWEwZmUtZGJhOWIyY2M3N2U3OmVjOGVkODgxLTI4MjQtNGE1Yy1hMDJhLWU1YTIyYWMxNTRlMQ== Cache-Control: no-cache, max-age=0 Pragma: no-cache TE: chunked;q=1.0 traceparent: 00-200ccf8e2304a5b061fa750e6485f07d-8093d8b88d30d5bf-00 tracestate: fe3d2b4c-ab88a94d@dt=fw4;46;79eca4a2;eae6d37;0;1;0;2d4;8725;2h01;3h79eca4a2;4h0eae6d37;5h01 true-client-ip: 170.0.155.3 User-Agent: Mozilla/4.0 (compatible; Synapse) X-Akamai-CONFIG-LOG-DETAIL: true x-axway-err: 3003[invalid field] x-cert-fingerprint: 42043554676ee275cd4b5ad7d4303793607bb732 x-client-cert: MIIIFjCCBf6gAwIBAgIIJPrcAfIPbHowDQYJKoZIhvcNAQELBQAwdDELMAkGA1UEBhMCQlIxEzARBgNVBAoTCklDUC1CcmFzaWwxNjA0BgNVBAsTLVNlY3JldGFyaWEgZGEgUmVjZWl0YSBGZWRlcmFsIGRvIEJyYXNpbCAtIFJGQjEYMBYGA1UEAxMPQUMgVkFMSUQgUkZCIHY1MB4XDTI0MTAwMTEyNTI0NloXDTI1MTAwMTEyNTI0NlowggEwMQswCQYDVQQGEwJCUjELMAkGA1UECBMCU1AxFzAVBgNVBAcTDkpVTlFVRUlST1BPTElTMRMwEQYDVQQKEwpJQ1AtQnJhc2lsMTYwNAYDVQQLEy1TZWNyZXRhcmlhIGRhIFJlY2VpdGEgRmVkZXJhbCBkbyBCcmFzaWwgLSBSRkIxFjAUBgNVBAsTDVJGQiBlLUNOUEogQTExKDAmBgNVBAsTH0FSIEFCU09MVVRBIENFUlRJRklDQURPIERJR0lUQUwxEzARBgNVBAsTClByZXNlbmNpYWwxFzAVBgNVBAsTDjIwNTI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t5x74bRFrk4xBerW2AdsbxRcpW3ojc2w5ag0aW0/AFHGpA/wPz1RNqzhvRBxBJFQ== x-client-port: 52030 x-client-status: CA not recognized X-dynaTrace: FW4;-1417107123;70;2045551778;246312247;-2147483648;-29545652;724;8725;2h01;3h79eca4a2;4h0eae6d37;5h01 X-Forwarded-For: 170.0.155.3 x-ssl-client-cert-subject: /C=BR/ST=SP/L=JUNQUEIROPOLIS/O=ICP-Brasil/OU=Secretaria da Receita Federal do Brasil - RFB/OU=RFB e-CNPJ A1/OU=AR ABSOLUTA CERTIFICADO DIGITAL/OU=Presencial/OU=20520126000102/CN=AVELAR DE SOUZA E ANTONIO MARTINS LTDA:01491774000125 Content-Type: application/json Content-Length: 93 Date: Wed, 06 Nov 2024 16:17:24 GMT Connection: close Strict-Transport-Security: max-age=86400 Resp.Body: { "code" : "99", "message" : "SSL with client authentication is required", "details" : 2 } EACBrPixHttpException: Erro HTTP: 401, Metodo: POST, URL: https://qrpix.bradesco.com.br/oauth/token ***************EACBrPixHttpException*************** Erro HTTP: 401, Metodo: POST, URL: https://qrpix.bradesco.com.br/oauth/token - LerConfiguracao: C:\CompsXE8\ACBr\Exemplos\ACBrPIXCD\Delphi\PIXCDTeste.ini - AplicarConfiguracao - ConfigurarACBrPIXCD - ConfigurarACBrPSPs - LerConfiguracao: C:\CompsXE8\ACBr\Exemplos\ACBrPIXCD\Delphi\PIXCDTeste.ini - AplicarConfiguracao - ConfigurarACBrPIXCD - ConfigurarACBrPSPs - LerConfiguracao: C:\CompsXE8\ACBr\Exemplos\ACBrPIXCD\Delphi\PIXCDTeste.ini - AplicarConfiguracao - ConfigurarACBrPIXCD - ConfigurarACBrPSPs CriarCobrancaImediata( ) PrepararHTTP Autenticar LimparHTTP TransmitirHttp( POST, https://qrpix-h.bradesco.com.br/oauth/token ) ConfigurarHTTP ConfigurarProxy ConfigurarTimeOut ConfigurarHeaders( POST, https://qrpix-h.bradesco.com.br/oauth/token ) Req.Headers: Authorization: Basic MTI4ZDQyMTAtNThlZS00Y2IwLWEwZmUtZGJhOWIyY2M3N2U3OmVjOGVkODgxLTI4MjQtNGE1Yy1hMDJhLWU1YTIyYWMxNTRlMQ== Req.Body: grant_type=client_credentials Http.Sock.SSL.CertificateFile: Http.Sock.SSL.PrivateKeyFile: Http.Sock.SSL.Certificate: Http.Sock.SSL.PrivateKey: ResultCode: 401 - Unauthorized Sock.LastError: 0 Resp.Headers: HTTP/1.1 401 Unauthorized x-rate-limit: [{"window":0,"type":"throttle","remaining":249}] x-correlationid: Id-6b972b677f18476d2b19f75a 0 Akamai-Origin-Hop: 2 Authorization: Basic MTI4ZDQyMTAtNThlZS00Y2IwLWEwZmUtZGJhOWIyY2M3N2U3OmVjOGVkODgxLTI4MjQtNGE1Yy1hMDJhLWU1YTIyYWMxNTRlMQ== Authorization: Basic MTI4ZDQyMTAtNThlZS00Y2IwLWEwZmUtZGJhOWIyY2M3N2U3OmVjOGVkODgxLTI4MjQtNGE1Yy1hMDJhLWU1YTIyYWMxNTRlMQ== Cache-Control: no-cache, max-age=0 Host: qrpix-h.bradesco.com.br Pragma: no-cache true-client-ip: 170.0.155.3 User-Agent: Mozilla/4.0 (compatible; Synapse) X-Akamai-CONFIG-LOG-DETAIL: true x-axway-err: 3003[invalid field] x-cert-fingerprint: 42043554676ee275cd4b5ad7d4303793607bb732 x-client-cert: MIIIFjCCBf6gAwIBAgIIJPrcAfIPbHowDQYJKoZIhvcNAQELBQAwdDELMAkGA1UEBhMCQlIxEzARBgNVBAoTCklDUC1CcmFzaWwxNjA0BgNVBAsTLVNlY3JldGFyaWEgZGEgUmVjZWl0YSBGZWRlcmFsIGRvIEJyYXNpbCAtIFJGQjEYMBYGA1UEAxMPQUMgVkFMSUQgUkZCIHY1MB4XDTI0MTAwMTEyNTI0NloXDTI1MTAwMTEyNTI0NlowggEwMQswCQYDVQQGEwJCUjELMAkGA1UECBMCU1AxFzAVBgNVBAcTDkpVTlFVRUlST1BPTElTMRMwEQYDVQQKEwpJQ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wthhUdAMcBZUCPdq+9/YYM40zCjO8U6Bk5+ibISefFDblNtsCGSiifwAY41B7RyD7MtcF9/KmZb6qMOF+KwS36/uSTz05Xj7ECozyF+mQ68eIr/BobyRTyWNH3GvfBjJDvBn4bu/Q1upLzGykUkzwYe2L+zL1VPPHSgx3rCEwzjGennvV6mop6ecWcoqO2pkH8oGuVCyOFJZKhnd6ae/8ChyvURndekIomIMFt5x74bRFrk4xBerW2AdsbxRcpW3ojc2w5ag0aW0/AFHGpA/wPz1RNqzhvRBxBJFQ== x-client-port: 52042 x-client-status: CA not recognized X-Forwarded-For: 170.0.155.3 x-ssl-client-cert-subject: /C=BR/ST=SP/L=JUNQUEIROPOLIS/O=ICP-Brasil/OU=Secretaria da Receita Federal do Brasil - RFB/OU=RFB e-CNPJ A1/OU=AR ABSOLUTA CERTIFICADO DIGITAL/OU=Presencial/OU=20520126000102/CN=AVELAR DE SOUZA E ANTONIO MARTINS LTDA:01491774000125 Content-Type: application/json Content-Length: 93 Date: Wed, 06 Nov 2024 16:20:59 GMT Connection: close Set-Cookie: f90e2b980fa727fe2ec7319a84a64293=267f77ee83bf53ae184220b81910d64b; path=/; HttpOnly; Secure; SameSite=None Strict-Transport-Security: max-age=86400 Resp.Body: { "code" : "99", "message" : "SSL with client authentication is required", "details" : 2 } EACBrPixHttpException: Erro HTTP: 401, Metodo: POST, URL: https://qrpix-h.bradesco.com.br/oauth/token ***************EACBrPixHttpException*************** Erro HTTP: 401, Metodo: POST, URL: https://qrpix-h.bradesco.com.br/oauth/token - LerConfiguracao: C:\CompsXE8\ACBr\Exemplos\ACBrPIXCD\Delphi\PIXCDTeste.ini - AplicarConfiguracao - ConfigurarACBrPIXCD - ConfigurarACBrPSPs
Moderadores Juliomar Marchetti Postado 6 Novembro Moderadores Postado 6 Novembro Sempre que trouxer arquivos, anexe eles, não cole, fica ruim o tópico para lhe ajudar Juliomar Marchetti skype: juliomar telegram: juliomar e-mail: [email protected] http://www.juliomarmarchetti.com.br
Cleber trevisan Postado 6 Novembro Autor Postado 6 Novembro desculpe, vou anexar. Só reforçando, reinstalei o acbr agora 06/11/2024, porem continua com o mesmo erro. Log.txt
Moderadores Juliomar Marchetti Postado 6 Novembro Moderadores Postado 6 Novembro Bradesco não é com certificado digital? https://www.projetoacbr.com.br/forum/topic/68320-acbrpixcd-como-solicitar-credenciais-e-configurar-psps-no-componente/ Juliomar Marchetti skype: juliomar telegram: juliomar e-mail: [email protected] http://www.juliomarmarchetti.com.br
Cleber trevisan Postado 7 Novembro Autor Postado 7 Novembro 1 hora atrás, Cleber trevisan disse: sim, é com certificado. Já fiz esses processos. - Para a integração com a API Pix Bradesco é necessário possuir uma conta na instituição; - Solicite ao seu gerente as credenciais CLIENT_ID e CLIENT_SECRET, para utilização da API PIX de acordo com o "MANUAL_API_PIX_261.pdf", anexo ao tópico; - Será necessário enviar um certificado ".pem"(extraído de um certificado .pfx)) por e-mail ao banco; - Após esse procedimento você receberá as credenciais para utilizar nas requisições; - Preencha as credenciais(Client ID, Secret Key, Certificado e Chave Privada) direto no componente ou no aplicativo de demonstração, como nos exemplos:
Recommended Posts
Crie uma conta ou entre para comentar
Você precisar ser um membro para fazer um comentário
Criar uma conta
Crie uma nova conta em nossa comunidade. É fácil!
Crie uma nova contaEntrar
Já tem uma conta? Faça o login.
Entrar Agora