#jose-stripe-integration
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- joseamica, 18 hours ago, 19 messages
- jose-cardelement-react, 21 hours ago, 41 messages
- joseamica, 1 day ago, 25 messages
Hello @wintry lintel !
I read the documentation, and having some problems getting the payment method and assigning it
Is there some guide or a github repo i can see?
Are you setting it up for future use?
Yes
I have the customer id on cookies, and each time the user use my app, i want to load the previous paid cards
You can use this api endpoint to do that: https://stripe.com/docs/api/payment_methods/customer_list
You need to display them yourself
We don't have an element for that
So you'll need to build it
ok, so i show them, and when the user clicks on the credit card, stripe have some elements to assign that credit card?
I dont want to store any credit card on my client nor server (risks)
As I look on youtube videos, there is a way that the form autocompletes or show the saved credit card isnt?
You don't have to store any credit card data
Just use the payment method id to charge
No you wouldn't want to display full card
I know i dont
You could just show things like last 4, expiration date, etc
Then use the pm id to charge
Oh you're using Stripe Checkout?
No, but there is a way I can use something similar on payments?
Or only the approach you are telling me?
Dang.
I want to give some recommendation, a lot of people would not call for help if stripe have some github with simple projects doing all kind of stuff
Its a lot easier for us to check the project. Just saying.
Thanks for the help, ill reach again if I have another question
There is something similar of what im asking?