Skip to content

Importing 'createCardToken' is not working #122

Closed Answered by icaldana
viniciuslimaan asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @viniciuslimaan,

This is a known issue in our documentation, we are currently working to update it! In a nutshell, you can do the import using:

import { createCardToken } from '@mercadopago/sdk-react/esm/coreMethods';

I hope this solve your issue.

Thank you!

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@icaldana
Comment options

@viniciuslimaan
Comment options

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