#kevin-logan_redisplay-saved-payment-methods
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always 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/1450175580602630337
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
More context...
I'm building B2C + B2B flows with Stripe. For B2B, I need customers to manage their payment methods in-app (add/remove cards) and then select from all saved payment methods during checkout.
From my testing, Hosted Checkout only displays payment methods that were saved through a previous Checkout session โ not payment methods saved via SetupIntent/PaymentElement. This means if a customer adds a card through our "Manage Payment Methods" UI (using SetupIntent), that card won't appear as an option in future Checkout Sessions.
Can you confirm this is expected behavior? Is using Elements + PaymentIntents (fetching PaymentMethods via API and displaying them ourselves) the recommended approach for "select from all saved payment methods" flows?
Hi ๐
If you are using Hosted Checkout, why is the Payment Element being used to save payment methods?
Oh, wait, I read a little further and I can see you have a separate UI for managing payment methods. In that case you can configure the Payment Element to save payment methods configured for redisplay. We document that in an optional section of our docs (easy to miss) here