Membros Pro rpaulogio Postado 16 Janeiro Membros Pro Compartilhar Postado 16 Janeiro Boa tarde senhores, Existe uma rotina em meu sistema onde é disponibilizado a opção de pagamento via pix no caixa do sistema, utilizando o Sicoob. Algumas vezes acontece no cliente o retorno (ResultCode: 0 - ) conforme log, nesse caso o sistema não consegue consultar se houve o pagamento. Alguma ideia de como resolver esse retorno? 08/01/24 13:34:39:060 - ResultCode: 0 - Log: 8/01/24 13:34:37:518 - Resp.Body: {"brcode":"000xxxxxxx122690xx014br.gov.bcb.pix2568pix.sicoob.com.br/qr/payload/v2/97cfd7b8-73b5-4353-bab5-018d7b73xxxxxxxxx9865802BR5921xxxx JOSE DA xxxx6013Nao_informado62xxx03***6304xxxA","revisao":0,"txid":"IGLYxxxxTVRxxxxx4770381704731446093","calendario":{"criacao":"2024-01-08T16:30:46.096Z","expiracao":3600},"status":"ATIVA","chave":"278xxx00147","valor":{"original":"11.00","modalidadeAlteracao":0},"permiteAlteracao":false,"infoAdicionais":[],"payloadURL":"pix.sicoob.com.br/qr/payload/v2/97cfd7b8-73b5-4353-bab5-018d7b734ed7","pix":[]} 08/01/24 13:34:37:518 - ChamarEventoQuandoReceberRespostaEndPoint( /cob, GET ) 08/01/24 13:34:37:518 - ResultCode:200 08/01/24 13:34:37:518 - RespostaHttp: {"brcode":"00020xxxxxx6900014br.gov.bcb.pix2xxxpix.sicoob.com.br/qr/payload/v2/97cfd7b8-73b5-4353-bab5-018d7b734ed752xxxxxx53039865802BR5921xxxxxxxxxx6013Nao_informado620xxx03***630xxBA","revisao":0,"txid":"IGLYVLO4TVxxxxxxxx770381704731446093","calendario":{"criacao":"2024-01-08T16:30:46.096Z","expiracao":3600},"status":"ATIVA","chave":"2xxxx00147","valor":{"original":"11.00","modalidadeAlteracao":0},"permiteAlteracao":false,"infoAdicionais":[],"payloadURL":"pix.sicoob.com.br/qr/payload/v2/97cfd7b8-73b5-4353-bab5-018d7b734ed7","pix":[]} 08/01/24 13:34:38:786 - ConsultarCobrancaImediata( IGLYVLO4TVRxxxx0381704xxx6093, 0 ) 08/01/24 13:34:38:786 - PrepararHTTP 08/01/24 13:34:38:786 - LimparHTTP 08/01/24 13:34:38:786 - AcessarEndPoint( GET, /cob ) 08/01/24 13:34:38:786 - ConfigurarAutenticacao( GET, /cob ) 08/01/24 13:34:38:786 - CalcularURLEndPoint( GET, /cob ) 08/01/24 13:34:38:786 - https://api.sicoob.com.br/pix/api/v2/cob/IGLYVLO4TVRSJU054770381704731446093 08/01/24 13:34:38:786 - TransmitirHttp( GET, https://api.sicoob.com.br/pix/api/v2/cob/IGLYVLO4TVRSJUxxxxxxxxxxxxxx) 08/01/24 13:34:38:786 - ConfigurarHTTP 08/01/24 13:34:38:786 - ConfigurarProxy 08/01/24 13:34:38:786 - ConfigurarTimeOut 08/01/24 13:34:38:786 - ConfigurarHeaders( GET, https://api.sicoob.com.br/pix/api/v2/cob/IGLYVLO4TVxxxxx703xxxxxxxxxxxxxx ) 08/01/24 13:34:38:796 - Req.Headers: Authorization:Bearer eyJhbt.....-Encoding: gzip, compress, deflate client_id: b7de995d-7a98-4ec1-90df-5dfb0521dbf6 08/01/24 13:34:38:796 - Req.Body: 08/01/24 13:34:39:060 - ResultCode: 0 - 08/01/24 13:34:39:060 - Resp.Headers: 08/01/24 13:34:39:070 - Resp.Body: Link para o comentário Compartilhar em outros sites More sharing options...
Moderadores Solution Juliomar Marchetti Postado 16 Janeiro Moderadores Solution Compartilhar Postado 16 Janeiro Aumentar o timeout de pesquisa ou esperar um pouco mais para pesquisar. ou ainda pesquisar de novo a menos que o código em si não esteja correto 1 Juliomar Marchetti skype: juliomar telegram: juliomar e-mail: [email protected] http://www.juliomarmarchetti.com.br Link para o comentário Compartilhar em outros sites More sharing options...
Recommended Posts