#Soba-card
1 messages · Page 1 of 1 (latest)
Hi Soma!
The recommended flow is the opposite:
- Create a SetupIntent on the server
- Then use the setupintent.client_secret on the frontend to collect the payment method
This is covered here: https://stripe.com/docs/payments/save-and-reuse?platform=web
Ahh yes that was what I was thinking
but the flow that i mentioned is allowed by the api correct? i.e. it is *technically *possible
i'm wondering what is the security advantage of doing it in the way specified by the link?
but the flow that i mentioned is allowed by the api correct? i.e. it is technicallypossible
technically yes, but I wouldn't recommend this:
- how would that flow handle 3DS?
- also you would be allowed to do that only if your business is PCI compliant https://stripe.com/en-fr/guides/pci-compliance
Hey, taking over here. Let me know if there's any follow-up Qs I can answer!
Hi there!I I see I think So a managed to answer many of my questions :)