Opa, segue o Log gerado...
Atribuindo PSP: TACBrPSPMercadoPago, Nome: ACBrPSPMercadoPago1
CriarCobrancaImediata( )
PrepararHTTP
Autenticar
LimparHTTP
AcessarEndPoint( POST, /cob )
ConfigurarAutenticacao( POST, /cob )
CalcularURLEndPoint( POST, /cob )
https://api.mercadopago.com/v1/payments
ChamarEventoQuandoAcessarEndPoint( /cob, https://api.mercadopago.com/v1/payments, POST )
TransmitirHttp( POST, https://api.mercadopago.com/v1/payments )
ConfigurarHTTP
ConfigurarProxy
ConfigurarTimeOut
ConfigurarHeaders( POST, https://api.mercadopago.com/v1/payments )
Req.Headers:
Authorization:Bearer APP_USR-3958155841215417-101523-c9cd31d357dcdc7a6a54ba6d69b013ca-39365532
Accept-Encoding: gzip, compress, deflate
X-Idempotency-Key: BD2DFE1E-D9A6-4A9A-9DD7-361E1FA4DD5A
Req.Body:
{"transaction_amount":1,"payment_method_id":"pix","date_of_expiration":"2025-09-17T21:49:20.377-04:00","payer":{"email":"
[email protected]","first_name":"PAULO SILVA","identification":{"type":"CPF","number":"00000000000"}}}
ResultCode: 500 -
Sock.LastError: -2
Resp.Headers:
POST /v1/payments HTTP/1.0
Host: api.mercadopago.com
Keep-Alive: 300
Connection: keep-alive
User-Agent: Mozilla/4.0 (compatible; Synapse)
Content-Type: application/json
Content-Length: 227
Authorization:Bearer APP_USR-3958155841215417-101523-c9cd31d357dcdc7a6a54ba6d69b013ca-39365532
Accept-Encoding: gzip, compress, deflate
X-Idempotency-Key: BD2DFE1E-D9A6-4A9A-9DD7-361E1FA4DD5A
Resp.Body:
ChamarEventoQuandoReceberRespostaEndPoint( /cob, POST )
ResultCode:500
RespostaHttp:
TratarRetornoComErro( 500 )