Replies: 1 comment 2 replies
-
Hello Moises, the message specifying you to complete all data even though it’s already completed, is probably because the brick was unable to load your card’s information, which is a required data. This can happen for many reasons, but mainly because you are trying to use a test credit/debit card from a specific country and using a test public key from another country. Make sure you are using a credit/debit card that meets the mentioned requirement. In our test cards documentation, you can find a few cards for each country, if one of them is also giving you this error, try the others. We know that the error message that appears in the form is not clear enough and we’ll work on that pretty soon, sorry for the inconvenience and let me know if that answer solves your problem. |
Beta Was this translation helpful? Give feedback.
-
I'm doing the implementation in Angular in its version 14. With the sdk in version 2. It renders the form correctly but I present the following inconvenience.
When I enter all the data and press the submit button, it tells me that I must complete all the data to continue even though they are already complete. On the other hand, when writing the card number, it presents the following error:
{
"type": "non_critical",
"cause": "missing_payment_information",
"message": "The payment method id is missing"
}
In the tracks service, it can be seen that the payment_method_id and payment_method_type_id fields are empty.
This message to complete all the data to continue is presented in both the shared example and the demo development directly on the web platform:
https://www.mercadopago.com.ar/developers/es/live-demo/card-payment-brick
I hope you can help me, thank you very much
const mp = new MercadoPago('PUBLIC', {
locale: 'es-CO'
});
const bricksBuilder = mp.bricks();
const renderPaymentBrick = async (bricksBuilder) => {
const settings = {
initialization: {
amount: 100, // monto a ser pago
},
customization: {
paymentMethods: {
creditCard: 'all',
debitCard: 'all',
minInstallments: 1,
maxInstallments: 1,
types:{
excluded: ['credit_card']
}
},
defaultPaymentOption:{
debitCardForm: true,
}
},
callbacks: {
onReady: () => {
Beta Was this translation helpful? Give feedback.
All reactions