#pawan_code
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/1287642589289254954
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
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.
- pawan_docs, 5 days ago, 17 messages
Hi there, to clarify, where do you want to display a saved payment method? in a Stripe checkout page or PaymentELement?
As you Can See This page i am Getting from stripe
But As Per Doc I Can Also get the Previous Saved Card as Shown in This Image but i am not getting
https://docs.stripe.com/payments/save-during-payment?platform=web&ui=elements#save-payment-methods
here is the doc link
Hi @fringe falcon , @ancient delta Can you please help
Yes
Hi @fringe falcon Are you there?
Yes, waiting for your payment method ID
No
Its allow_redisplay is unspecified
Sorry Above Was Diffrent Pmid
You should set it to allow_redisplay
this is the correct one
pm_1Q25LiHBIoGyEgRJx0Zx4nsw
Where I have to Pass ?
can you suggest or if you have any code snippet
pm_1Q25LiHBIoGyEgRJx0Zx4nsw also have allow_redisplay unspecified
https://support.stripe.com/questions/prefilling-saved-cards-in-checkout you should read this doc
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
Changing allow_redisplay value on the payment method: You can use the PaymentMethod API to change the allow_redisplay value that is set on the payment method.
As you can see its telling if i use payment_method_save then it will automatically set allow_redisplay=always
Hi @fringe falcon
They are two different things
https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-saved_payment_method_options-payment_method_save the payment_method_save is a param for checkout session, not customer session.
Its Showing on customer session as we;ll
https://docs.stripe.com/payments/save-during-payment?platform=web&ui=elements#save-payment-methods
could you please take a look once on this doc because i am following this with save card
https://dashboard.stripe.com/test/logs/req_na3SvCueWbk9SP but based on this request, the allow_redisplay is unspecified when this payment method was created.
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Yes I am Also Able to See But not Sure Why
Can you double check your code and make sure the correct customerSessionClientSecret is set to elementsOptions ?