Replies: 2 comments 7 replies
-
Hello @Oteiza-a! Which version of SDK NodeJS are you using? |
Beta Was this translation helpful? Give feedback.
-
Hi @lucmantovani, thank you for responding. In the frontend we are using the V2 of the sdk, we are loading the script via Here is a snippet of our backend code getting the customer, and sending it with the rest of the data to the create card function:
It is worth noting too that we were already creating and saving cards before integrating the Core Methods in the frontend. |
Beta Was this translation helpful? Give feedback.
-
Hello, we are implementing the "Core Methods" integration at our checkout (documentation) , and we have successfully been able to generate the card token through the
mp.fields.createCardToken
function.Here is an example of the request generated from our frontend by the
createCardToken
function:The response:
After that, we wanted to save this card, as shown in this documentation, with the
mercadopago.card.create
function, but we were getting this error, even though thetoken
and thecustomer_id
were being sent correctly:So then we tried sending the
payment_method_id
, and theissuer_id
, as suggested by the documentation, but now we are getting this error:We have checked many times that everything is sent correctly, yet we keep getting that error. We have tried tokens generated with the documentation's test cards and with real cards and real names, yet the result is the same.
Beta Was this translation helpful? Give feedback.
All reactions