#Kaushik
1 messages · Page 1 of 1 (latest)
You shouldn't be using these APIs, especially not pasisng card data directly to the API. I recommend following this guide: https://stripe.com/docs/payments/save-and-reuse
in mny cutrrent code this is working fine so i need only modify in this code
Do you have the required PCI compliance to handle raw card data like that?
And in your original question you mention 'saving cards', that's exactly what a Setup Intent facilitates
in this code any peramete is there to pass value card need to save in stripe or not
Otherwise, you attach the PM directly to a Customer object: https://stripe.com/docs/api/payment_methods/attach
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
But this won't work in live mode as I've explained
but right now is workin in live mode also
i dont know about pci compilce
if give me any perameter name like pass value for save card no nor so its very helpfull for me
Then the answer is no, you should be using our payment UIs as opposed to collecting card details yourself