#manish_api

1 messages ¡ Page 1 of 1 (latest)

weak surgeBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1247262063311454272

📝 Have more to share? Add details, code, screenshots, videos, etc. below.

mortal isleBOT
#

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.

formal hollow
#

Hello, can you tell me more about what you are stuck on here? If you are already saving payment methods you should be able to repeat the process to save more on the same customer.

uncut lake
#

Hi @formal hollow
in one checkout session only one payment method can be added. i want multiple payment methods so i can repeat the steps

#

the challenge i see here is while charging the cards
suppose a user has two cards one is visa other is master. at the time of checkout i want the user to get an option to charge his either of the cards

formal hollow
#

Gotcha, thinking about this and will get back to you

uncut lake
#

Thanks

formal hollow
#

Apologies for the delay. If you have the user go through multiple Checkout Sessions, that will save multiple payment methods to that Customer. Unfortunately we don't support listing all of those payment methods in future Checkout Sessions.
Checkout can display the user's default payment method for Checkout in Subscription mode if you pass their ID to the Checkout Session when you create it, but unfortunately we only show that one payment method, we don't support listing multiple at the moment.

uncut lake
#

Thanks for the update @formal hollow
Is there anyway i can implement my use case?

formal hollow
#

If you are open to creating your own webpage for this, you could list out the user's saved payment methods there and apply the one they choose.
It would basically be this flow:
https://docs.stripe.com/payments/accept-a-payment?platform=web&ui=elements
And you would need to make your own UI for listing out the payment methods. If the user says they want to use one of those, you can pass the PaymentMethod's ID (pm_123) to the confirmPayment call when your page makes it

#

But unfortunately this is not possible with Checkout at the moment

uncut lake
#

but i dont want to charge the user instantly

#

like i want them to save the payment method for now and then charge them at later stage

formal hollow
#

Is this for a subscription or a one time payment?

uncut lake
#

not a subscription
So i have customers on my site and they can place orders for different things

#

they can purchase a match box today
maybe after 5 months they purchase iphone

#

i just want their payments to be stored on stripe and they get option to charge one of their stored stripe payment methods

formal hollow
uncut lake
#

Give me a few mins ill test and get back to you

#

How does it work for 3d secure cards?

formal hollow