Importing 'createCardToken' is not working #122
-
I'm trying to import createCardToken from 'sdk-react/coreMethods' but it's not working. Does anyone know how I can resolve it? |
Beta Was this translation helpful? Give feedback.
Answered by
icaldana
Jan 17, 2025
Replies: 1 comment 2 replies
-
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:
I hope this solve your issue. Thank you! |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
viniciuslimaan
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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!