Closed HardikDG closed 3 years ago
Describe the bug I am using the Ionic-React project with Stripe integration When I call createCardToken in the console it is giving the success result in the console but it does not print anything from the response object Below is my sample code
To Reproduce Steps to reproduce the behavior:
const handleStripe = async () => { const res = await Stripe.createCardToken({ number: '4242424242424242', exp_month: "12", exp_year: "2025", cvc: '342', }); debugger; console.log(JSON.stringify(res)); console.log(res.card); console.log(res.id); }
Expected behavior It should able to give me the params in the response to use it forward in the app
Desktop (please complete the following information):
Smartphone (please complete the following information):
It may be some silly mistake, I have tried for a few hours but I am not able to detect the problem
Describe the bug I am using the Ionic-React project with Stripe integration When I call createCardToken in the console it is giving the success result in the console but it does not print anything from the response object Below is my sample code
To Reproduce Steps to reproduce the behavior:
Expected behavior It should able to give me the params in the response to use it forward in the app
Desktop (please complete the following information):
Smartphone (please complete the following information):
It may be some silly mistake, I have tried for a few hours but I am not able to detect the problem