zyra / cordova-plugin-stripe

A Cordova plugin that lets you use Stripe's Native SDKs for Android and iOS.
MIT License
93 stars 57 forks source link

Save card details #76

Open edios-global opened 3 years ago

edios-global commented 3 years ago

Is there any option to save card details on user side?

Prakort commented 2 years ago

@edios-global If you are saving user's card details in the server, that would violate PCI compliance https://stripe.com/en-ca/guides/pci-compliance.

You can retrieve the card detail from Stripe. Here is one of the setups you can try:

This setup works because you only need to save customer id in the server.