#hope-checkout-expand
1 messages · Page 1 of 1 (latest)
hope-checkout-expand
Hey @rustic vortex , have you looked at https://stripe.com/docs/expand which covers this in each language?
i didnt find this one of all docs i got from support and myself lol, thank you very much !!
I have a feature request to make that Expandable label something you can click on to link to the docs. Do you think that would have helped?
yes i think it would
Thanks for the feedback. I love that doc, someone on my team wrote it for me since we explain this so often. But we haven't solved the "users need to find it" 😅
is theres a documentation on how to set a payment method to prefill the card detail in checkout?
i know it prefill with the last card added in payment mode, but i need to prefill with a payment method i choose
that is not possible
seriously? i got this from support
or the only way is to change to "subscription" and add the default payment method?
I mean that answer is correct and aligns with what I said
We will usually use the most recent one
you could use the invoice_settings[default_payment_method] maybe but that's a recipe for disaster the day you want to use this for subscriptions
in our business logic we dont use suscriptiopns, its 1-time payments
so hopefully i can make it work :/
https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-customer based on this, which is exactly what our support team explained, you can't control this, it's always the most recent
so one last question, if the customer has in stripe 3 payment methods saved A, B, C, & C is the last added, as it says it always will be the most recent, but why do i have more payment methods saved
if im not allowed to choose in the checkout?
withou having to add the card detail again
Mostly because we can't know you'll only ever use Checkout and never want to use those cards again
You can clean up and delete the one(s) you don't care about if you don't want/need them
a lot of developers have separate UIs for ad-hoc payments, subscriptions, refunds, etc.
this was really helpful to understand as a dev point of view! keep the good work in this channel! thanks man