Internal error Payments paid market sandbox

Asked

Viewed 557 times

1

Good night. I’m doing integration, sandbox, in the paid market and I’m making the following mistake:

{
"message": "internal_error",
"error": null,
"status": 500,
"cause": []
}

The body of the transaction:

{
"transaction_amount": 1,
"token": "{{TOKEN_CREDT_CARD}}",
"description": "Notebook",
"payment_method_id": "master",
"installments": 1,
"payer": {
    "email": "[email protected]",
    "entity_type": "guest",
    "type": null,
    "id": "{{ID_PAYER}}",
    "identification": {
        "type": null,
        "number": null
    },
    "first_name": "first_name",
    "last_name": "last_name"
},
"order": {
    "type": "mercadopago",
    "id": 1
}

}

I am generating the credit card token as follows:

{
"email": "[email protected]",
"cardNumber": "5031**********351",
"securityCode": "999",
"expirationYear": "2999",
"expirationMonth": "02"
}

cardNumber: I got the examples of the card from the market itself. The intriguing thing is that even with this error, if I try again, the api says that the card token is invalid, as if the transaction had been successful.

I’m testing at Postman.

  • I’m also seeing this mistake here.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.