#arsh
1 messages ยท Page 1 of 1 (latest)
That's is an old and legacy flow. We recommend to use Payment Element with PaymentIntent instead nowsaday
can you please send reference code how to save card details and token without payment authentication
Sure, that's called the SetupIntent API: https://stripe.com/docs/payments/save-and-reuse
thanks for sharing sir , but i need for react js if it is possible to get code to only save card and generate token
Yes you can choose React on above guide
yes sir but it is for react native part
i want to use for webapp react js
Ah okie, so here you are https://stripe.com/docs/payments/save-and-reuse?platform=react-native&ui=payment-sheet
yes sir , only main thing is to generate token and to save card details without doing payment part in react js
but i m unable to find solution for that
It's the same thing. This flow allow you to save card details without doing payment. Please take a look at its step by step
ok sir thanks
sir if it is possible to get solution in react js part please check it
Yes, from this guide
๐ taking over for my colleague. Let me know if there's any follow-up Qs I can answer!
thanks sir , only need solution for react js part to save card and generate token above documentation is based upon react native part i just need to implement with react js for webapp
On the Doc I shared above, you can simply click on the "React" tab here to see the example code in React js for web
you can use this link as well
https://stripe.com/docs/payments/save-and-reuse?platform=web&client=react
but as my colleague mentioned, in all of our docs, you can choose which technology you want to use by clicking on the different tabs