#pawan_code

1 messages ¡ Page 1 of 1 (latest)

soft cloakBOT
#

👋 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.

fringe falcon
#

Hi there, to clarify, where do you want to display a saved payment method? in a Stripe checkout page or PaymentELement?

desert whale
#

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

#

Hi @fringe falcon , @ancient delta Can you please help

fringe falcon
#

Thanks for the confirmation.

#

Do you have the payment method ID?

desert whale
#

Yes

desert whale
#

Hi @fringe falcon Are you there?

fringe falcon
#

Yes, waiting for your payment method ID

desert whale
#

Is There Any option to Connect on Call ?

#

So there i can share my screen

fringe falcon
#

No

desert whale
#

pm_1Q257uHBIoGyEgRJNfKG9cRw

#

Here Is The PMId

fringe falcon
#

Its allow_redisplay is unspecified

desert whale
#

Sorry Above Was Diffrent Pmid

fringe falcon
#

You should set it to allow_redisplay

desert whale
#

this is the correct one
pm_1Q25LiHBIoGyEgRJx0Zx4nsw

#

Where I have to Pass ?

#

can you suggest or if you have any code snippet

fringe falcon
#

pm_1Q25LiHBIoGyEgRJx0Zx4nsw also have allow_redisplay unspecified

#

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.

desert whale
#

As you can see its telling if i use payment_method_save then it will automatically set allow_redisplay=always

desert whale
#

Hi @fringe falcon

fringe falcon
#

They are two different things

desert whale
#

Its Showing on customer session as we;ll

fringe falcon
desert whale
#

Yes I am Also Able to See But not Sure Why

fringe falcon
#

Can you double check your code and make sure the correct customerSessionClientSecret is set to elementsOptions ?