capacitor-community / stripe

Stripe Mobile SDK wrapper for Capacitor
MIT License
185 stars 75 forks source link

Add method to just add Card into customer ? #301

Closed WhySimply closed 8 months ago

WhySimply commented 10 months ago

Is your feature request related to a problem? Please describe. There is currently no method available in the Stripe plugin for Capacitor that allows users to simply add a credit card to their account without processing an actual payment. This is essential for scenarios where users might want to securely save their card information for future use without making an immediate transaction.

Describe the solution you'd like I propose adding a new method to the Stripe Capacitor plugin that enables the addition of a credit card to a user's account without initiating a payment. This method should securely handle card data and tokenize it for safe storage on the Stripe platform. By incorporating this functionality, developers can offer users the convenience of saving their card details for later use while maintaining a secure and compliant approach.

Describe alternatives you've considered One potential alternative would be to use the existing payment method and flow, but this isn't ideal since it involves unnecessary steps and can confuse users who are solely interested in adding a card without making an immediate payment.

Additional context This enhancement would greatly improve the user experience by providing a seamless way to add a credit card to an account, paving the way for smoother future transactions. This feature would be particularly beneficial for apps offering subscription-based services or frequent purchases.

Usage Product We already use stripe in general for our products, but we would like to use the plugin so that the user can enter his payment method without making a payment

Product Name: Maasify Product URL : https://maasify.io Using Function:

rdlabo commented 10 months ago

Thanks for issue.

https://stripe.com/docs/payments/setup-intents may help you.

rdlabo commented 8 months ago

This Issue is closed because there is no activity. If you still have problems, please create a new Issue.