#lam_payment-sheet-link
1 messages ยท Page 1 of 1 (latest)
๐ 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/1255068606044049411
๐ Have more to share? Add details, code, screenshots, videos, etc. below.
Hello
Here is the record video for reproduce the issue
here is the code for FE example
Hi, let me help you with this.
I see in your case the link pop-up is in the browser and not in a native element, which probably takes the cookie from your browser session. I don't think you should expect resetPaymentSheetCustomer() to affect it.
This will ensure that any persisted authentication state in the PaymentSheet, such as authentication cookies, is also cleared during logout
This suggests it only clears out the state of the PaymentSheet component.
How does your PaymentSheet look like before you call resetPaymentSheetCustomer()?
yes it has cleard the state on payment sheet
so, is there any ways to clear the cookie session on browser?
Because i need to prevent diff users use the phone and checkout. That makes the issue
not sure anyways open Link screen in the native element only and avoid open on broswer
Yeah, it would make sense if it also reset the browser cookie though. I see the video is 1 year old and doesn't look exactly like your component, perhaps some internal workings changed. Let me check a bit more
I am not sure if there's an easy way to reset it like this.
It's the same with your Google accounts on your phone, for example, you will be logged into it until you log out explicitly.
i see
im seeing we can provide the email from payment sheet and mapping to Link payment screen
that seems be can link by email between Stripe and Link
so, any solution for now?
Where do you see that exactly?
ah i just guess. I dont know
What if you remove this?
defaultBillingDetails: {
email: email,
}
i just removed. And still be getting the same issue
that options for init the payment sheet when user logged in from my app
to provide the Payment Link Button will load the Link email used before
I see, thanks for checking. And what happens if you log out of link on link.com, but not call resetPaymentSheetCustomer()?
Overall, I am not sure if Link is a good fit for devices that are used by multiple people. The whole idea is one-click checkout, which becomes more difficult if you need to log in every time, it's easier to enter your card details I think.
If i logout on the Link.com and open again that requrie to using OTP to checkout
this was my expectation when use resetPaymentSheetCustomer()
That seems be need to have the feature to clear the cookie session for link.com from stripe payment sheet
Yes, as you see it's independent from the PaymentSheet state.
Let me check again if there's anything like this...
thank you
๐ taking over for my colleague. Let me catch up.
I think the best course of action here is to send us an email via https://support.stripe.com/contact/email?topic=api_integration
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.
we will take a closer look and get back to you asynchronously
ok