Skip to content

security_code_id can't be null #272

Closed Answered by romerosilva-meli
Julio-Cesar07 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @Julio-Cesar07,

even though it is not clear in the documentation, for this and most APIs, the card token should be asked via a frontend using Mercado Pago's frontend SDK. You can use the Integration via CardForm as an example on how to implement the frontend part and this example on how to implement the backend part.

the reason you are getting that CardToken service not found error is probably because you can't use test credentials to create subscriptions. You can create a test user and use the production credentials of that user instead.

We apologize for the documentation not being clear, we are working on improving the documentation for all APIs.

Replies: 5 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@patrickdelfim
Comment options

@romerosilva-meli
Comment options

@marcelino-borges
Comment options

Answer selected by romerosilva-meli
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants