Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How would you let the user delete their credit card info? How can you tell if the user already has credit card info saved? #4

Open
sferoze opened this issue Sep 22, 2016 · 2 comments

Comments

@sferoze
Copy link

sferoze commented Sep 22, 2016

Using this package and I want to know how to handle the following.

How would you let the user delete their credit card info?

How can you tell if the user already has credit card info saved? And show the card type and last four digits?

@CarlQLange
Copy link

CarlQLange commented Jan 4, 2017

How can you tell if the user already has credit card info saved? And show the card type and last four digits?

this looks possible - it's in the Customer object from Stripe: https://stripe.com/docs/api/node#retrieve_customer

@CarlQLange
Copy link

How would you let the user delete their credit card info?

https://stripe.com/docs/api/node#delete_customer, I suppose, unless you mean changing card, which looks like it would come under the update function

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants